97
edits
No edit summary Tag: Metadata slot edit |
(draft context and properties) Tag: Metadata slot edit |
||
jsonschema | |||
---|---|---|---|
Line 1: | Line 1: | ||
{ | { | ||
"@context": [ | "@context": [ | ||
{ | |||
"manufacturer": "schema:manufacturer", | |||
"manufacturer*": "emmo:EMMO_c0afb341_7d31_4883_a307_ae4606df2a1b", | |||
"serial_or_batch_number": "schema:serialNumber", | |||
"serial_or_batch_number*": { | |||
"@id": "Property:HasSerialNumber", | |||
"@type": "xsd:string" | |||
}, | |||
"serial_or_batch_number**": { | |||
"@id": "Property:HasBatchNumber", | |||
"@type": "xsd:string" | |||
}, | |||
"manufacturer**": { | |||
"@id": "Property:HasManufacturer", | |||
"@type": "@id" | |||
}, | |||
"manufacturer_type_name": { | |||
"@id": "Property:HasTypeName", | |||
"@type": "@id" | |||
}, | |||
"manufacturer_type_no": { | |||
"@id": "Property:HasTypeNumber", | |||
"@type": "@id" | |||
} | |||
}, | |||
"/wiki/Category:OSW37a57741ae2e4dd4b29b1172b6848be8?action=raw\u0026slot=jsonschema" | "/wiki/Category:OSW37a57741ae2e4dd4b29b1172b6848be8?action=raw\u0026slot=jsonschema" | ||
], | ], | ||
Line 19: | Line 44: | ||
"required": [ | "required": [ | ||
"type" | "type" | ||
], | |||
"defaultProperties": [ | |||
"manufacturer", | |||
"manufacturer_type_no", | |||
"serial_or_batch_number" | |||
], | ], | ||
"properties": { | "properties": { | ||
Line 25: | Line 55: | ||
"Category:OSWfb91bd485cc84f4e87e98c033d7b8473" | "Category:OSWfb91bd485cc84f4e87e98c033d7b8473" | ||
] | ] | ||
}, | |||
"manufacturer": { | |||
"type": "string", | |||
"format": "autocomplete", | |||
"title": "Manufacturer", | |||
"title*": { | |||
"de": "Hersteller" | |||
}, | |||
"description": "Manufacturer", | |||
"$comment": "We may also need a vendor = seller which can be different from the manufacturer and can use custom IDs, etc.", | |||
"range": "Category:OSW3cb8cef2225e403092f098f99bc4c472" | |||
}, | |||
"manufacturer_type_no": { | |||
"type": "string", | |||
"title": "Manufacturer Type No.", | |||
"title*": { | |||
"de": "Hersteller Typen-Nummer" | |||
}, | |||
"description": "Product type number ID provided by the manufacturer", | |||
"description*": { | |||
"de": "Produkttypennummer des Herstellers." | |||
} | |||
}, | |||
"manufacturer_type_name": { | |||
"type": "string", | |||
"title": "Manufacturer Type Name", | |||
"title*": { | |||
"de": "Hersteller Typenbezeichnung" | |||
}, | |||
"description": "Product name provided by the manufacturer. Often more human friendly than the type id.", | |||
"description*": { | |||
"de": "Produktname des Herstellers. Oftmals ein einfacherer Alias neben der Typen-ID" | |||
} | |||
}, | |||
"serial_or_batch_number": { | |||
"title": "Serial or batch number", | |||
"title*": { | |||
"en": "Serial or batch number" | |||
}, | |||
"description": "Serial or batch number of the item, as specified by the manufacturer or supplier.", | |||
"description*": { | |||
"de": "Serien- oder Chargennummer des Artikels, wie vom Hersteller oder Lieferanten angegeben." | |||
}, | |||
"type": "string" | |||
} | } | ||
} | } | ||
} | } |
edits