{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TokenTransferOperation",
  "description": "Transfer tokens to another address.\nThis is a variant of [TokenTransfer] that adds a recipient field.",
  "type": "object",
  "properties": {
    "token_id": {
      "description": "Token ID to transfer",
      "type": "array",
      "items": {
        "type": "integer",
        "format": "uint8",
        "minimum": 0,
        "maximum": 255
      },
      "minItems": 32,
      "maxItems": 32
    },
    "recipient": {
      "description": "Recipient",
      "$ref": "#/$defs/PublicKeyBytes"
    },
    "amount": {
      "description": "Amount to transfer",
      "$ref": "#/$defs/Amount"
    },
    "user_data": {
      "description": "Extra data field to associate with this transfer",
      "$ref": "#/$defs/UserData"
    }
  },
  "required": [
    "token_id",
    "recipient",
    "amount",
    "user_data"
  ],
  "$defs": {
    "PublicKeyBytes": {
      "description": "A byte sequence that names an entity on or off the FastSet network,\ndepending on the name of type which stores this value;\ntypically encoded as an Ed25519 public key,\nbut may have other formats including but not limited to:\n(a) Burn Address - a 32-byte string composed of all 0x00 bytes.\nNote: any funds sent to the burn address will be permenantly lost!",
      "type": "array",
      "items": {
        "type": "integer",
        "format": "uint8",
        "minimum": 0,
        "maximum": 255
      },
      "minItems": 32,
      "maxItems": 32
    },
    "Amount": {
      "description": "256-bit unsigned integer encoded as a hex string",
      "type": "string"
    },
    "UserData": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "integer",
        "format": "uint8",
        "minimum": 0,
        "maximum": 255
      },
      "minItems": 32,
      "maxItems": 32
    }
  }
}