Commit b791a119 authored by canterafonsj's avatar canterafonsj
Browse files

Update Result

parent 3fc37d62
Loading
Loading
Loading
Loading
+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"
      }
    }
  }
}
+4 −1
Original line number Diff line number Diff line
@@ -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