91 lines
3.9 KiB
JSON
91 lines
3.9 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:QualitativeValue",
|
|
"title": "QualitativeValue",
|
|
"description": "A predefined value for a product characteristic, e.g. the power cord plug type 'US' or the garment sizes 'S', 'M', 'L', and 'XL'.",
|
|
"type": "object",
|
|
"properties": {
|
|
"additionalProperty": {
|
|
"description": "A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\\n\\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.\n",
|
|
"oneOf": [
|
|
{ "$ref": "schema:PropertyValue" },
|
|
{ "type": "array", "items": { "$ref": "schema:PropertyValue" } }
|
|
]
|
|
},
|
|
"equal": {
|
|
"description": "This ordering relation for qualitative values indicates that the subject is equal to the object.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:QualitativeValue" },
|
|
{ "type": "array", "items": { "$ref": "schema:QualitativeValue" } }
|
|
]
|
|
},
|
|
"greater": {
|
|
"description": "This ordering relation for qualitative values indicates that the subject is greater than the object.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:QualitativeValue" },
|
|
{ "type": "array", "items": { "$ref": "schema:QualitativeValue" } }
|
|
]
|
|
},
|
|
"greaterOrEqual": {
|
|
"description": "This ordering relation for qualitative values indicates that the subject is greater than or equal to the object.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:QualitativeValue" },
|
|
{ "type": "array", "items": { "$ref": "schema:QualitativeValue" } }
|
|
]
|
|
},
|
|
"lesser": {
|
|
"description": "This ordering relation for qualitative values indicates that the subject is lesser than the object.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:QualitativeValue" },
|
|
{ "type": "array", "items": { "$ref": "schema:QualitativeValue" } }
|
|
]
|
|
},
|
|
"lesserOrEqual": {
|
|
"description": "This ordering relation for qualitative values indicates that the subject is lesser than or equal to the object.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:QualitativeValue" },
|
|
{ "type": "array", "items": { "$ref": "schema:QualitativeValue" } }
|
|
]
|
|
},
|
|
"nonEqual": {
|
|
"description": "This ordering relation for qualitative values indicates that the subject is not equal to the object.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:QualitativeValue" },
|
|
{ "type": "array", "items": { "$ref": "schema:QualitativeValue" } }
|
|
]
|
|
},
|
|
"valueReference": {
|
|
"description": "A secondary value that provides additional information on the original value, e.g. a reference temperature or a type of measurement.",
|
|
"oneOf": [
|
|
{
|
|
"anyOf": [
|
|
{ "type": "string" },
|
|
{ "$ref": "schema:DefinedTerm" },
|
|
{ "$ref": "schema:Enumeration" },
|
|
{ "$ref": "schema:MeasurementTypeEnumeration" },
|
|
{ "$ref": "schema:PropertyValue" },
|
|
{ "$ref": "schema:QualitativeValue" },
|
|
{ "$ref": "schema:QuantitativeValue" },
|
|
{ "$ref": "schema:StructuredValue" }
|
|
]
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{ "type": "string" },
|
|
{ "$ref": "schema:DefinedTerm" },
|
|
{ "$ref": "schema:Enumeration" },
|
|
{ "$ref": "schema:MeasurementTypeEnumeration" },
|
|
{ "$ref": "schema:PropertyValue" },
|
|
{ "$ref": "schema:QualitativeValue" },
|
|
{ "$ref": "schema:QuantitativeValue" },
|
|
{ "$ref": "schema:StructuredValue" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|