UpdateResult.json 856 Bytes
Newer Older
canterafonsj's avatar
canterafonsj committed
1 2 3 4 5 6 7 8 9 10 11 12 13
{
  "$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",
canterafonsj's avatar
canterafonsj committed
14
        "minLenght": 1
canterafonsj's avatar
canterafonsj committed
15 16
      }
    },
canterafonsj's avatar
canterafonsj committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
    "UpdateResult": {
      "type": "object",
      "properties": {
        "updated": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": ""
          }
        },
        "unchanged": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/UnchangedDetails"
          }
        }
canterafonsj's avatar
canterafonsj committed
33 34
      }
    }
canterafonsj's avatar
canterafonsj committed
35 36 37 38 39 40
  },
  "allOf": [
    {
      "$ref": "#/definitions/UpdateResult"
    }
  ]
canterafonsj's avatar
canterafonsj committed
41
}