{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Spatial RSI multi-source v2 sample", "type": "object", "required": [ "schema_version", "id", "suite", "split", "dataset", "source", "task", "group", "question", "target", "observations", "sampling", "transforms", "runtime" ], "properties": { "schema_version": { "const": "spatial-rsi-suite/2" }, "id": { "type": "string", "pattern": "^[0-9a-f]{20}$" }, "split": { "enum": [ "dev", "eval" ] }, "source": { "type": "object", "required": [ "repo", "revision", "url", "license", "split", "sample_id", "annotation_path", "annotation_sha256", "row_sha256", "upstream_dataset" ], "properties": { "revision": { "type": "string", "pattern": "^[0-9a-f]{40}$" }, "annotation_sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" }, "row_sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" } } }, "task": { "type": "object", "required": [ "category", "subcategory", "stratum", "skill_tags", "role" ] }, "group": { "type": "object", "required": [ "kind", "id" ] }, "question": { "type": "object", "required": [ "original", "text", "options" ] }, "target": { "type": "object", "required": [ "answer", "original_answer", "metric" ] }, "observations": { "type": "array", "items": { "type": "object", "anyOf": [ { "required": [ "path", "sha256" ] }, { "required": [ "type", "delivery", "locator" ] } ] } }, "sampling": { "type": "object", "required": [ "seed", "partition_attempt", "stratum_pool", "split_pool", "quota", "method" ] }, "runtime": { "type": "object", "required": [ "mode", "adapter", "deployment_status" ], "properties": { "mode": { "enum": [ "fixed_observation", "interactive" ] } } } } }