BatchOperationResult.json 988 Bytes
Newer Older
canterafonsj's avatar
canterafonsj committed
1
2
{
  "$schema": "http://json-schema.org/schema#",
André Costa's avatar
André Costa committed
3
  "$id": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json",
canterafonsj's avatar
canterafonsj committed
4
5
6
7
8
9
10
11
12
  "title": "NGSI-LD Batch Operation Result",
  "description": "NGSI-LD Batch Operation Result",
  "definitions": {
    "BatchEntityError": {
      "entityId": {
        "type": "string",
        "format": "uri"
      },
      "error": {
André Costa's avatar
André Costa committed
13
        "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
canterafonsj's avatar
canterafonsj committed
14
15
      }
    },
canterafonsj's avatar
canterafonsj committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    "BatchOperationResult": {
      "type": "object",
      "properties": {
        "success": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uri"
          }
        },
        "error": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/BatchEntityError"
          }
        }
canterafonsj's avatar
canterafonsj committed
32
33
      }
    }
canterafonsj's avatar
canterafonsj committed
34
35
36
37
38
39
  },
  "allOf": [
    {
      "$ref": "#/definitions/BatchOperationResult"
    }
  ]
canterafonsj's avatar
canterafonsj committed
40
}