{ "$schema": "http://json-schema.org/schema", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.Agrifood/MeatProduct/schema.json", "title": "Meat Product Data Model ", "modelTags": "I4Trust", "description": "Object modelling a meat product for a livestock farm.", "type": "object", "required": [ "id", "type", "carcass" ], "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "properties": { "type": { "type": "string", "enum": [ "MeatProduct" ], "description": "Property. NGSI entity type. It has to be MeatProduct" }, "weight": { "type": "integer", "description": "Property. Weight of the product" }, "date": { "type": "string", "format": "date-time", "description": "Property. Date of application" }, "carcass": { "type": "string", "format": "uri", "description": "Relationship. Relationship to the entity storing the carcass origin of the meat product. Model:'https://github.com/smart-data-models/incubated/blob/master/I4TRUST/Farm4All/MeatIndustry/Carcass/schema.json'" } } } ] }