Skip to content
BatchOperationResult.json 988 B
Newer Older
canterafonsj's avatar
canterafonsj committed
{
  "$schema": "http://json-schema.org/schema#",
  "$id": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json",
canterafonsj's avatar
canterafonsj committed
  "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/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
canterafonsj's avatar
canterafonsj committed
      }
    },
canterafonsj's avatar
canterafonsj committed
    "BatchOperationResult": {
      "type": "object",
      "properties": {
        "success": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uri"
          }
        },
        "error": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/BatchEntityError"
          }
        }
canterafonsj's avatar
canterafonsj committed
      }
    }
canterafonsj's avatar
canterafonsj committed
  },
  "allOf": [
    {
      "$ref": "#/definitions/BatchOperationResult"
    }
  ]
canterafonsj's avatar
canterafonsj committed
}