Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
NGSI-LD
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NGSI Linked Data
NGSI-LD
Commits
e960f1ce
Commit
e960f1ce
authored
Nov 18, 2020
by
Benoit Orihuela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add definitions for unitCode
parent
8d91f8d0
Pipeline
#5128
passed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Entity.json
schema/Entity.json
+3
-0
common.json
schema/common.json
+3
-0
No files found.
schema/Entity.json
View file @
e960f1ce
...
...
@@ -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"
},
...
...
schema/common.json
View file @
e960f1ce
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment