Commit e960f1ce authored by Benoit Orihuela's avatar Benoit Orihuela

feat: add definitions for unitCode

parent 8d91f8d0
Pipeline #5128 passed with stage
......@@ -28,6 +28,9 @@
"object"
]
},
"unitCode": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/unitCode"
},
"observedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt"
},
......
......@@ -14,6 +14,9 @@
"type": "string",
"pattern": "^((\\d|[a-zA-Z]|_)+(:(\\d|[a-zA-Z]|_)+)?(#\\d+)?)$|^(@context)$"
},
"unitCode": {
"type": "string"
},
"observedAt": {
"type": "string",
"format": "date-time"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment