UpdateResult.json 690 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 34
{
  "$schema": "http://json-schema.org/schema#",
  "id": "https://uri.etsi.org/ngsi-ld/schema/UpdateResult.json",
  "title": "NGSI-LD Update Result",
  "description": "NGSI-LD Update Result",
  "definitions": {
    "UnchangedDetails": {
      "attributeName": {
        "type": "string",
        "pattern": ""
      },
      "reason": {
        "type":"string",
        "minLenght": 1
      }
    }
  },
  "type": "object",
  "properties": {
    "updated": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": ""
      }
    },
    "unchanged": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/UnchangedDetails"
      }
    }
  }
}