Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CIM - Context Information Management
NGSI-LD API
Commits
1ae83e12
Commit
1ae83e12
authored
Nov 07, 2018
by
canterafonsj
Browse files
Subscriptions finished
parent
3d223c5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
schema/Subscription.json
View file @
1ae83e12
...
...
@@ -11,8 +11,10 @@
"type"
:
"array"
,
"minItems"
:
1
,
"items"
:
{
"type"
:
"string"
}
"type"
:
"string"
,
"minLength"
:
1
},
"uniqueItems"
:
true
},
"format"
:
{
"type"
:
"string"
...
...
@@ -140,7 +142,8 @@
"type"
:
"array"
,
"minItems"
:
1
,
"items"
:
{
"type"
:
"string"
"type"
:
"string"
,
"minLength"
:
1
},
"uniqueItems"
:
true
},
...
...
@@ -180,8 +183,26 @@
"modifiedAt"
:
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
},
"required"
:
[
"id"
,
"type"
"allOf"
:
[
{
"required"
:
[
"id"
,
"type"
]
},
{
"anyOf"
:
[
{
"required"
:
[
"entities"
]
},
{
"required"
:
[
"watchedAttributes"
]
}
]
}
]
}
schema/common.json
View file @
1ae83e12
...
...
@@ -76,7 +76,8 @@
"type"
:
"string"
,
"format"
:
"regex"
}
}
},
"required"
:
[
"type"
]
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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