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
b791a119
Commit
b791a119
authored
Nov 13, 2018
by
canterafonsj
Browse files
Update Result
parent
3fc37d62
Changes
2
Hide whitespace changes
Inline
Side-by-side
schema/UpdateResult.json
0 → 100644
View file @
b791a119
{
"$schema"
:
"http://json-schema.org/schema#"
,
"id"
:
"https://uri.etsi.org/ngsi-ld/schema/UpdateResult.json"
,
"title"
:
"NGSI-LD Update Result"
,
"description"
:
"NGSI-LD Update Result"
,
"definitions"
:
{
"UnchangedDetails"
:
{
"attributeName"
:
{
"type"
:
"string"
,
"pattern"
:
""
},
"reason"
:
{
"type"
:
"string"
,
"minLenght"
:
1
}
}
},
"type"
:
"object"
,
"properties"
:
{
"updated"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"pattern"
:
""
}
},
"unchanged"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/UnchangedDetails"
}
}
}
}
scripts/validate_schema.sh
View file @
b791a119
...
...
@@ -14,4 +14,7 @@ ajv compile -s $SCHEMAS/ContextSourceNotification.json -r $SCHEMAS/common.json -
ajv compile
-s
$SCHEMAS
/EntityList.json
-r
$SCHEMAS
/common.json
-r
$SCHEMAS
/geometry-schema.json
-r
$SCHEMAS
/Entity.json
ajv compile
-s
$SCHEMAS
/BatchOperationResult.json
-r
$SCHEMAS
/common.json
ajv compile
-s
$SCHEMAS
/BatchOperationResult.json
-r
$SCHEMAS
/common.json
ajv compile
-s
$SCHEMAS
/UpdateResult.json
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