26 lines
1.7 KiB
JSON
26 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:HealthTopicContent",
|
|
"title": "HealthTopicContent",
|
|
"description": "[[HealthTopicContent]] is [[WebContent]] that is about some aspect of a health topic, e.g. a condition, its symptoms or treatments. Such content may be comprised of several parts or sections and use different types of media. Multiple instances of [[WebContent]] (and hence [[HealthTopicContent]]) can be related using [[hasPart]] / [[isPartOf]] where there is some kind of content hierarchy, and their content described with [[about]] and [[mentions]] e.g. building upon the existing [[MedicalCondition]] vocabulary.\n ",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "WebContent is a type representing all [[WebPage]], [[WebSite]] and [[WebPageElement]] content. It is sometimes the case that detailed distinctions between Web pages, sites and their parts are not always important or obvious. The [[WebContent]] type makes it easier to describe Web-addressable content without requiring such distinctions to always be stated. (The intent is that the existing types [[WebPage]], [[WebSite]] and [[WebPageElement]] will eventually be declared as subtypes of [[WebContent]].)",
|
|
"$ref": "schema:WebContent"
|
|
}
|
|
],
|
|
"properties": {
|
|
"hasHealthAspect": {
|
|
"description": "Indicates the aspect or aspects specifically addressed in some [[HealthTopicContent]]. For example, that the content is an overview, or that it talks about treatment, self-care, treatments or their side-effects.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:HealthAspectEnumeration" },
|
|
{
|
|
"type": "array",
|
|
"items": { "$ref": "schema:HealthAspectEnumeration" }
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|