{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModels.CIMEnergyClasses/Diagram/schema.json", "title": " Smart Data Models - Diagram", "description": "Adapted from CIM data models. The diagram being exchanged. The coordinate system is a standard Cartesian coordinate system and the orientation attribute defines the orientation.", "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": [ "Diagram" ], "description": "Property. NGSI type. It has to be Diagram" }, "DiagramElements": { "description": "Property. Model:'https://schema.org/Number'. A diagram is made up of multiple diagram objects. Default: 'list'", "type": "number" }, "DiagramStyle": { "description": "Property. Model:'https://schema.org/Number'. A Diagram may have a DiagramStyle. Default: None", "type": "number" }, "orientation": { "description": "Property. Model:'https://schema.org/Number'. Coordinate system orientation of the diagram. Default: None", "type": "number" }, "x1InitialView": { "description": "Property. Model:'https://schema.org/Number'. X coordinate of the first corner of the initial view. Default: 0.0", "type": "number" }, "x2InitialView": { "description": "Property. Model:'https://schema.org/Number'. X coordinate of the second corner of the initial view. Default: 0.0", "type": "number" }, "y1InitialView": { "description": "Property. Model:'https://schema.org/Number'. Y coordinate of the first corner of the initial view. Default: 0.0", "type": "number" }, "y2InitialView": { "description": "Property. Model:'https://schema.org/Number'. Y coordinate of the second corner of the initial view. Default: 0.0", "type": "number" } } } ] }