{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://neynar.com/schemas/TransactionFramePay",
  "title": "TransactionFramePay",
  "description": "Neynar Farcaster API schema for TransactionFramePay",
  "properties": {
    "config": {
      "$ref": "#/components/schemas/TransactionFrameConfig"
    },
    "id": {
      "description": "Unique identifier for the transaction mini app",
      "type": "string"
    },
    "status": {
      "$ref": "#/components/schemas/TransactionFrameStatus"
    },
    "transaction": {
      "properties": {
        "to": {
          "$ref": "#/components/schemas/TransactionFrameDestination"
        }
      },
      "required": [
        "to"
      ],
      "type": "object"
    },
    "type": {
      "$ref": "#/components/schemas/TransactionFrameType"
    },
    "url": {
      "description": "URL that can be used to access the transaction mini app",
      "format": "uri",
      "type": "string"
    }
  },
  "required": [
    "id",
    "url",
    "type",
    "config",
    "status",
    "transaction"
  ],
  "type": "object"
}