{ "$schema": "http://json-schema.org/schema", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.Agrifood/FeedRegistry/schema.json", "title": "Feed Registry", "modelTags": "I4Trust", "description": "Object modelling a feed registry for a livestock farm.", "type": "object", "required": [ "id", "type", "name" ], "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": [ "FeedRegistry" ], "description": "Property. NGSI entity type. It has to be FeedRegistry" }, "amount": { "type": "integer", "description": "Property. Amount of feed supplied to animals" }, "date": { "type": "string", "format": "date-time", "description": "Property. Date of supply of food to animals" }, "supplier": { "type": "string", "description": "Property. Supplier of the feed" }, "deliveryNote": { "type": "string", "description": "Property. Description of the feed registry" }, "farm": { "type": "string", "format": "uri", "description": "Relationship. Farm where the operation is carried out. https://github.com/smart-data-models/dataModel.Agrifood/blob/master/AgriFarm/schema.json" } } } ] }