big tings
This commit is contained in:
48
registry/schema-org/SizeSpecification.schema.json
Normal file
48
registry/schema-org/SizeSpecification.schema.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "schema:SizeSpecification",
|
||||
"title": "SizeSpecification",
|
||||
"description": "Size related properties of a product, typically a size code ([[name]]) and optionally a [[sizeSystem]], [[sizeGroup]], and product measurements ([[hasMeasurement]]). In addition, the intended audience can be defined through [[suggestedAge]], [[suggestedGender]], and suggested body measurements ([[suggestedMeasurement]]).",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"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'.",
|
||||
"$ref": "schema:QualitativeValue"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"hasMeasurement": {
|
||||
"description": "A measurement of an item, For example, the inseam of pants, the wheel size of a bicycle, the gauge of a screw, or the carbon footprint measured for certification by an authority. Usually an exact measurement, but can also be a range of measurements for adjustable products, for example belts and ski bindings.",
|
||||
"oneOf": [
|
||||
{ "$ref": "schema:QuantitativeValue" },
|
||||
{ "type": "array", "items": { "$ref": "schema:QuantitativeValue" } }
|
||||
]
|
||||
},
|
||||
"sizeGroup": {
|
||||
"description": "The size group (also known as \"size type\") for a product's size. Size groups are common in the fashion industry to define size segments and suggested audiences for wearable products. Multiple values can be combined, for example \"men's big and tall\", \"petite maternity\" or \"regular\".",
|
||||
"anyOf": [{ "type": "string" }, { "$ref": "schema:SizeGroupEnumeration" }]
|
||||
},
|
||||
"sizeSystem": {
|
||||
"description": "The size system used to identify a product's size. Typically either a standard (for example, \"GS1\" or \"ISO-EN13402\"), country code (for example \"US\" or \"JP\"), or a measuring system (for example \"Metric\" or \"Imperial\").",
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "$ref": "schema:SizeSystemEnumeration" }
|
||||
]
|
||||
},
|
||||
"suggestedAge": {
|
||||
"description": "The age or age range for the intended audience or person, for example 3-12 months for infants, 1-5 years for toddlers.",
|
||||
"$ref": "schema:QuantitativeValue"
|
||||
},
|
||||
"suggestedGender": {
|
||||
"description": "The suggested gender of the intended person or audience, for example \"male\", \"female\", or \"unisex\".",
|
||||
"anyOf": [{ "type": "string" }, { "$ref": "schema:GenderType" }]
|
||||
},
|
||||
"suggestedMeasurement": {
|
||||
"description": "A suggested range of body measurements for the intended audience or person, for example inseam between 32 and 34 inches or height between 170 and 190 cm. Typically found on a size chart for wearable products.",
|
||||
"oneOf": [
|
||||
{ "$ref": "schema:QuantitativeValue" },
|
||||
{ "type": "array", "items": { "$ref": "schema:QuantitativeValue" } }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user