saei-clinddx / schema.json
Rodrigo Agerri
first repo release
68f4038
Raw History Blame Contribute Delete
1.49 kB
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://huggingface.co/datasets/YOUR_ORG/SAEI-CLINDDx/resolve/main/schema.json",
"title": "SAEI-CLINDDx clinical case record",
"description": "One Spanish or English case in the testing-only SAEI-CLINDDx corpus. Both languages have identical IDs and field names; free-text sections remain as supplied, including empty optional sections.",
"type": "object",
"additionalProperties": false,
"required": ["id", "language", "year", "title", "authors", "chapter", "summary", "clinical_case", "differential_diagnosis", "evolution", "final_diagnosis", "discussion", "bibliography"],
"properties": {
"id": {"type": "string", "pattern": "^saei-[0-9]{4}-[0-9]{4,}$", "description": "Stable bilingual case identifier; must not change during updates."},
"language": {"type": "string", "enum": ["es", "en"]},
"year": {"type": "integer", "minimum": 1900, "maximum": 2100},
"title": {"$ref": "#/$defs/nonemptyText"},
"authors": {"type": "string"},
"chapter": {"$ref": "#/$defs/nonemptyText"},
"summary": {"type": "string"},
"clinical_case": {"$ref": "#/$defs/nonemptyText"},
"differential_diagnosis": {"type": "string"},
"evolution": {"$ref": "#/$defs/nonemptyText"},
"final_diagnosis": {"$ref": "#/$defs/nonemptyText"},
"discussion": {"type": "string"},
"bibliography": {"type": "string"}
},
"$defs": {
"nonemptyText": {"type": "string", "pattern": "\\S"}
}
}