UpdateResult.json 816 Bytes
Newer Older
canterafonsj's avatar
canterafonsj committed
{
  "title": "NGSI-LD Update Result",
  "description": "NGSI-LD Update Result",
  "definitions": {
canterafonsj's avatar
canterafonsj committed
    "NotUpdatedDetails": {
Stefan Wiedemann's avatar
Stefan Wiedemann committed
      "type": "object",
      "properties": {
        "attributeName": {
          "type": "string",
          "pattern": ""
        },
        "reason": {
          "type": "string",
          "minLength": 1
        }
canterafonsj's avatar
canterafonsj committed
      }
    },
canterafonsj's avatar
canterafonsj committed
    "UpdateResult": {
      "type": "object",
      "properties": {
        "updated": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": ""
          }
        },
canterafonsj's avatar
canterafonsj committed
        "notUpdated": {
canterafonsj's avatar
canterafonsj committed
          "type": "array",
          "items": {
canterafonsj's avatar
canterafonsj committed
            "$ref": "#/definitions/NotUpdatedDetails"
canterafonsj's avatar
canterafonsj committed
          }
        }
canterafonsj's avatar
canterafonsj committed
      }
    }
canterafonsj's avatar
canterafonsj committed
  },
  "allOf": [
    {
      "$ref": "#/definitions/UpdateResult"
    }
  ]
Stefan Wiedemann's avatar
Stefan Wiedemann committed
}