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