{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "TransactionEventFungibleAsset",
  "allOf": [
    {
      "$ref": "./abstract-transaction-event.schema.json"
    },
    {
      "type": "object",
      "required": ["event_type", "tx_id", "asset"],
      "properties": {
        "event_type": {
          "type": "string",
          "enum": ["fungible_token_asset"]
        },
        "tx_id": {
          "type": "string"
        },
        "asset": {
          "type": "object",
          "additionalProperties": false,
          "required": ["asset_event_type", "asset_id", "sender", "recipient", "amount"],
          "properties": {
            "asset_event_type": {
              "type": "string"
            },
            "asset_id": {
              "type": "string"
            },
            "sender": {
              "type": "string"
            },
            "recipient": {
              "type": "string"
            },
            "amount": {
              "type": "string"
            }
          }
        }
      }
    }
  ]
}
