Loading schema/UpdateResult.json 0 → 100644 +34 −0 Original line number Diff line number Diff line { "$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 +4 −1 Original line number Diff line number Diff line Loading @@ -15,3 +15,6 @@ 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/UpdateResult.json Loading
schema/UpdateResult.json 0 → 100644 +34 −0 Original line number Diff line number Diff line { "$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 +4 −1 Original line number Diff line number Diff line Loading @@ -15,3 +15,6 @@ 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/UpdateResult.json