{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.Aeronautics/AircraftModel/schema.json", "title": "Smart Data models - Aircraft schema", "description": "A description of a generic aircraft model", "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": [ "AircraftModel" ], "description": "Property. NGSI Entity type. It has to be AircraftModel" }, "codeIATA": { "type": "string", "pattern": "^[A-Z0-9]{3}$", "description": "Property. Model:'http://schema.org/Text'. IATA aircraft type" }, "codeICAO": { "type": "string", "pattern": "^[A-Z]{1}[A-Z0-9]{3}$", "description": "Property. Model:'http://schema.org/Text'. ICAO aircraft type" }, "length": { "type": "number", "minimum": 0, "description": "Property. Model:'http://schema.org/Number'. Aircraft model length in metres. Units:'metres'" }, "wingSpan": { "type": "number", "minimum": 0, "description": "Property. Model:'http://schema.org/Number'. Aircraft model wingspan in metres. Units:'metres'" }, "height": { "type": "number", "minimum": 0, "description": "Property. Model:'http://schema.org/Number'. Aircraft model height in metres. Units:'metres'" }, "mtow": { "type": "number", "minimum": 0, "description": "Property. Model:'http://schema.org/Number'. Aircraft maximum takeoff weight in kilograms. Units:'kilograms'" }, "maximumAllowedSpeed": { "type": "number", "minimum": 0, "description": "Property. Model:'http://schema.org/Number'. Aircraft maximum speed in kilometers per hour. Units:'kilometers per hour'" }, "maximumAllowedFuel": { "type": "number", "minimum": 0, "description": "Property. Model:'http://schema.org/Number'. Aircraft maximum fuel in kilograms. Units:'kilograms'" }, "ceiling": { "type": "number", "minimum": 0, "description": "Property. Model:'http://schema.org/Number'. Maximum altitude the aircraft model can reach in metres. Units:'metres'" }, "numberOfEngines": { "type": "integer", "minimum": 0, "description": "Property. Model:'http://schema.org/Integer'. Number of engines" }, "capacity": { "type": "integer", "minimum": 0, "description": "Property. Model:'http://schema.org/Integer'. Number of seatings" } } } ], "required": [ "id", "type", "name" ] }