{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.Aeronautics/Aircraft/schema.json", "title": "Smart Data models - Aircraft schema", "description": "Represent a generic aircraft", "type": "object", "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": [ "Aircraft" ], "description": "Property. NGSI Entity type. It has to be Aircraft" }, "registration": { "type": "string", "pattern": "^[A-Z]-[A-Z]{4}|[A-Z]{2}-[A-Z]{3}|[A-Z]{5}|N[0-9]{1,5}[A-Z]{0,2}$", "description": "Property. Model:'http://schema.org/Text'. Tail number or aircraft registration" }, "speed": { "type": "number", "description": "Property. Model:'http://schema.org/Number'. Current aircraft speed in kilometres per hour. Units:'kilometres per hour'" }, "verticalSpeed": { "type": "number", "description": "Property. Model:'http://schema.org/Number'. Current vertical aircraft speed in metres per second. Units:'metres per second'" }, "isOnGround": { "type": "boolean", "description": "Property. Model:'http://schema.org/Boolean'. Logical indicator that determines if an aircraft is on ground" }, "heading": { "type": "number", "description": "Property. Model:'http://schema.org/Number'. Current aircraft heading in degrees. Untis: 'degrees'" }, "dateIssued": { "type": "string", "format": "date-time", "description": "Property. Model:'http://schema.org/DateTime'. Date when the meassure was taken" }, "belongsToAircraftModel": { "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$" }, { "type": "string", "format": "uri" } ], "description": "Relationship. Reference to the aircraft model entity" } } } ], "required": [ "id", "type", "registration" ] }