Entity_keyValues.json 1.56 KB
Newer Older
canterafonsj's avatar
canterafonsj committed
1 2
{
  "$schema": "http://json-schema.org/schema#",
3
  "$id": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Entity_keyValues.json",
canterafonsj's avatar
canterafonsj committed
4 5 6 7
  "title": "NGSI-LD Entity Key Values",
  "description": "NGSI-LD Entity Simplified Representation",
  "type": "object",
  "properties": {
8
    "id": {
canterafonsj's avatar
canterafonsj committed
9 10 11 12
      "type": "string",
      "format": "uri"
    },
    "type": {
13
      "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name"
canterafonsj's avatar
canterafonsj committed
14 15
    },
    "@context": {
16
      "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext"
canterafonsj's avatar
canterafonsj committed
17 18
    },
    "location": {
19
      "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#"
canterafonsj's avatar
canterafonsj committed
20 21
    },
    "observationSpace": {
22
      "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#"
canterafonsj's avatar
canterafonsj committed
23 24
    },
    "operationSpace": {
25
      "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#"
canterafonsj's avatar
canterafonsj committed
26 27
    },
    "createdAt": {
28
      "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
canterafonsj's avatar
canterafonsj committed
29 30
    },
    "modifiedAt": {
31
      "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
canterafonsj's avatar
canterafonsj committed
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
    }
  },
  "required": [
    "type",
    "id"
  ],
  "additionalProperties": {
    "type": [
      "string",
      "number",
      "boolean",
      "array",
      "object"
    ]
  },
  "propertyNames": {
48
    "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/PropertyNames"
canterafonsj's avatar
canterafonsj committed
49 50
  }
}