BatchOperationResult.json 909 Bytes
Newer Older
canterafonsj's avatar
canterafonsj committed
1
2
3
4
5
{
  "title": "NGSI-LD Batch Operation Result",
  "description": "NGSI-LD Batch Operation Result",
  "definitions": {
    "BatchEntityError": {
Stefan Wiedemann's avatar
Stefan Wiedemann committed
6
7
8
9
10
11
12
      "type": "object",
      "properties": {
        "entityId": {
          "type": "string",
          "format": "uri"
        },
        "error": {
Stefan Wiedemann's avatar
Stefan Wiedemann committed
13
          "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
Stefan Wiedemann's avatar
Stefan Wiedemann committed
14
        }
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
    "BatchOperationResult": {
      "type": "object",
      "properties": {
        "success": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uri"
          }
        },
        "error": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/BatchEntityError"
          }
        }
canterafonsj's avatar
canterafonsj committed
33
34
      }
    }
canterafonsj's avatar
canterafonsj committed
35
36
37
38
39
40
  },
  "allOf": [
    {
      "$ref": "#/definitions/BatchOperationResult"
    }
  ]
Stefan Wiedemann's avatar
Stefan Wiedemann committed
41
}