Files
marka/registry/schema-org/Hospital.schema.json
Max Richter c687eff53d big tings
2025-08-17 15:16:17 +02:00

73 lines
2.0 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema:Hospital",
"title": "Hospital",
"description": "A hospital.",
"type": "object",
"allOf": [
{
"description": "A public structure, such as a town hall or concert hall.",
"$ref": "schema:CivicStructure"
},
{
"description": "An emergency service, such as a fire station or ER.",
"$ref": "schema:EmergencyService"
},
{
"description": "A medical organization (physical or not), such as hospital, institution or clinic.",
"$ref": "schema:MedicalOrganization"
}
],
"properties": {
"availableService": {
"description": "A medical service available from this provider.",
"oneOf": [
{
"anyOf": [
{ "$ref": "schema:MedicalProcedure" },
{ "$ref": "schema:MedicalTest" },
{ "$ref": "schema:MedicalTherapy" }
]
},
{
"type": "array",
"items": {
"anyOf": [
{ "$ref": "schema:MedicalProcedure" },
{ "$ref": "schema:MedicalTest" },
{ "$ref": "schema:MedicalTherapy" }
]
}
}
]
},
"healthcareReportingData": {
"description": "Indicates data describing a hospital, e.g. a CDC [[CDCPMDRecord]] or as some kind of [[Dataset]].",
"oneOf": [
{
"anyOf": [
{ "$ref": "schema:CDCPMDRecord" },
{ "$ref": "schema:Dataset" }
]
},
{
"type": "array",
"items": {
"anyOf": [
{ "$ref": "schema:CDCPMDRecord" },
{ "$ref": "schema:Dataset" }
]
}
}
]
},
"medicalSpecialty": {
"description": "A medical specialty of the provider.",
"oneOf": [
{ "$ref": "schema:MedicalSpecialty" },
{ "type": "array", "items": { "$ref": "schema:MedicalSpecialty" } }
]
}
}
}