{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-channel-open-request-schema.json",
  "title": "ChannelOpenRequest",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hub-attestedmemory-openapi.json#/components/schemas/ChannelOpenRequest",
  "properties": {
    "deposit_usd": {
      "type": "number",
      "maximum": 10000.0,
      "exclusiveMinimum": 0.0,
      "title": "Deposit Usd"
    },
    "token": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 16
        },
        {
          "type": "null"
        }
      ],
      "title": "Token"
    },
    "chain": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 32
        },
        {
          "type": "null"
        }
      ],
      "title": "Chain"
    },
    "wallet": {
      "type": "string",
      "maxLength": 128,
      "title": "Wallet",
      "default": ""
    },
    "tx_hash": {
      "type": "string",
      "maxLength": 128,
      "title": "Tx Hash",
      "default": ""
    },
    "payer_signature": {
      "type": "string",
      "maxLength": 256,
      "title": "Payer Signature",
      "default": ""
    },
    "escrow_channel_id": {
      "type": "string",
      "maxLength": 66,
      "title": "Escrow Channel Id",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "deposit_usd"
  ]
}