{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "title": "NftEvent",
  "required": [
    "sender",
    "recipient",
    "asset_identifier",
    "value",
    "tx_id",
    "block_height"
  ],
  "properties": {
    "sender": {
      "type": "string"
    },
    "recipient": {
      "type": "string"
    },
    "asset_identifier": {
      "type": "string"
    },
    "value": {
      "type": "object",
      "required": ["hex", "repr"],
      "description": "Identifier of the NFT",
      "additionalProperties": false,
      "properties": {
        "hex": {
          "type": "string",
          "description": "Hex string representing the identifier of the NFT"
        },
        "repr": {
          "type": "string",
          "description": "Readable string of the NFT identifier"
        }
      }
    },
    "tx_id": {
      "type": "string"
    },
    "block_height": {
      "type": "number"
    }
  }
}
