UpdateResult.json 816 Bytes
Newer Older
canterafonsj's avatar
canterafonsj committed
1
2
3
4
{
  "title": "NGSI-LD Update Result",
  "description": "NGSI-LD Update Result",
  "definitions": {
canterafonsj's avatar
canterafonsj committed
5
    "NotUpdatedDetails": {
Stefan Wiedemann's avatar
Stefan Wiedemann committed
6
7
8
9
10
11
12
13
14
15
      "type": "object",
      "properties": {
        "attributeName": {
          "type": "string",
          "pattern": ""
        },
        "reason": {
          "type": "string",
          "minLength": 1
        }
canterafonsj's avatar
canterafonsj committed
16
17
      }
    },
canterafonsj's avatar
canterafonsj committed
18
19
20
21
22
23
24
25
26
27
    "UpdateResult": {
      "type": "object",
      "properties": {
        "updated": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": ""
          }
        },
canterafonsj's avatar
canterafonsj committed
28
        "notUpdated": {
canterafonsj's avatar
canterafonsj committed
29
30
          "type": "array",
          "items": {
canterafonsj's avatar
canterafonsj committed
31
            "$ref": "#/definitions/NotUpdatedDetails"
canterafonsj's avatar
canterafonsj committed
32
33
          }
        }
canterafonsj's avatar
canterafonsj committed
34
35
      }
    }
canterafonsj's avatar
canterafonsj committed
36
37
38
39
40
41
  },
  "allOf": [
    {
      "$ref": "#/definitions/UpdateResult"
    }
  ]
Stefan Wiedemann's avatar
Stefan Wiedemann committed
42
}