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

38 lines
1.0 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema:Enumeration",
"title": "Enumeration",
"description": "Lists or enumerations—for example, a list of cuisines or music genres, etc.",
"type": "object",
"allOf": [
{
"description": "A utility class that serves as the umbrella for a number of 'intangible' things such as quantities, structured values, etc.",
"$ref": "schema:Intangible"
}
],
"properties": {
"supersededBy": {
"description": "Relates a term (i.e. a property, class or enumeration) to one that supersedes it.",
"oneOf": [
{
"anyOf": [
{ "$ref": "schema:Class" },
{ "$ref": "schema:Enumeration" },
{ "$ref": "schema:Property" }
]
},
{
"type": "array",
"items": {
"anyOf": [
{ "$ref": "schema:Class" },
{ "$ref": "schema:Enumeration" },
{ "$ref": "schema:Property" }
]
}
}
]
}
}
}