Download schema/intervention.schema.json from BuddhistAI/buddhist-bench: direct link, hf CLI and curl.
- Browser
- Download file 3.34 kB
-
https://huggingface.co/datasets/BuddhistAI/buddhist-bench/resolve/main/schema/intervention.schema.json
- Command line
-
hf download hf://datasets/BuddhistAI/buddhist-bench/schema/intervention.schema.json
-
curl -L -o intervention.schema.json https://huggingface.co/datasets/BuddhistAI/buddhist-bench/resolve/main/schema/intervention.schema.json
3.34 kB
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "$id": "https://github.com/BuddhistAI/buddhist-bench/schema/intervention.schema.json", | |
| "title": "BuddhistBench intervention", | |
| "description": "One publication in an intervention study, one per line in studies/<study>/interventions.jsonl. Log it when it goes live; update status when it changes (history is kept in intervention_status.jsonl).", | |
| "type": "object", | |
| "required": ["id", "study", "published_at", "venue_type", "venue", "language", "url", "content_summary", "target_items", "sources_cited", "disclosure", "author", "status"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "id": {"type": "string", "pattern": "^int-[0-9]{4,}$", "description": "int-0001, int-0002 ... Permanent."}, | |
| "study": {"type": "string"}, | |
| "example": {"type": "boolean", "description": "Format example; not a real publication."}, | |
| "published_at": {"type": "string", "description": "UTC, ISO 8601, when the content went live (Wikipedia: the revision timestamp)."}, | |
| "logged_at": {"type": "string"}, | |
| "venue_type": {"enum": ["own-site", "partner-site", "wikipedia", "wikidata", "wikisource", "forum", "social", "video", "other"]}, | |
| "venue": {"type": "string", "description": "Site or project, e.g. bo.wikipedia.org, webuddhist.org."}, | |
| "language": {"type": "string", "description": "Language code of the published content (taxonomy/languages.json)."}, | |
| "url": {"type": "string"}, | |
| "match_urls": {"type": "array", "items": {"type": "string"}, "description": "Other URLs that count as this page (mobile, translated, redirect)."}, | |
| "page_title": {"type": "string"}, | |
| "revision_id": {"type": ["integer", "string"], "description": "Wikipedia/Wikidata revision (oldid) of the edit."}, | |
| "archive_url": {"type": "string", "description": "Snapshot taken at publication, e.g. web.archive.org."}, | |
| "content_summary": {"type": "string", "description": "What was published, in a sentence or two."}, | |
| "check_text": {"type": "string", "description": "A sentence from the published content; the daily check tests that it is still on the page."}, | |
| "index_query": {"type": "string", "description": "Search query used to test whether the page is indexed."}, | |
| "target_items": {"type": "array", "minItems": 1, "items": {"type": "string"}, "description": "Item IDs this content answers."}, | |
| "sources_cited": {"type": "array", "items": {"type": "object", "required": ["ref"], "properties": {"ref": {"type": "string"}, "url": {"type": "string"}, "note": {"type": "string"}}}}, | |
| "disclosure": { | |
| "type": "object", | |
| "required": ["coi_disclosed"], | |
| "properties": { | |
| "coi_disclosed": {"type": "boolean"}, | |
| "where": {"type": "string", "description": "User page, talk page, edit summary, page footer..."}, | |
| "talk_page_url": {"type": "string"}, | |
| "community_notice_url": {"type": "string", "description": "Where the study was announced to the community, if applicable."} | |
| } | |
| }, | |
| "reviewed_by": {"type": "array", "items": {"type": "string"}, "description": "Reviewers who approved the content as accurate."}, | |
| "author": {"type": "string"}, | |
| "status": {"enum": ["planned", "live", "edited", "reverted", "removed"]}, | |
| "status_changed_at": {"type": "string"}, | |
| "notes": {"type": "string"} | |
| } | |
| } | |