UpdateResult.json 860 Bytes
Newer Older
canterafonsj's avatar
canterafonsj committed
1 2
{
  "$schema": "http://json-schema.org/schema#",
canterafonsj's avatar
canterafonsj committed
3
  "$id": "https://uri.etsi.org/ngsi-ld/schema/UpdateResult.json",
canterafonsj's avatar
canterafonsj committed
4 5 6
  "title": "NGSI-LD Update Result",
  "description": "NGSI-LD Update Result",
  "definitions": {
canterafonsj's avatar
canterafonsj committed
7
    "NotUpdatedDetails": {
canterafonsj's avatar
canterafonsj committed
8 9 10 11 12 13
      "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
    "UpdateResult": {
      "type": "object",
      "properties": {
        "updated": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": ""
          }
        },
canterafonsj's avatar
canterafonsj committed
27
        "notUpdated": {
canterafonsj's avatar
canterafonsj committed
28 29
          "type": "array",
          "items": {
canterafonsj's avatar
canterafonsj committed
30
            "$ref": "#/definitions/NotUpdatedDetails"
canterafonsj's avatar
canterafonsj committed
31 32
          }
        }
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
}