{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reservoir/json-schema/reservoir-model578-schema.json",
  "title": "Model578",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reservoir-x-deprecated-api-openapi.yml#/components/schemas/Model578",
  "type": "object",
  "properties": {
    "user": {
      "type": "string",
      "description": "User requesting the calls",
      "pattern": "^0x[a-fA-F0-9]{40}$"
    },
    "txs": {
      "$ref": "#/$defs/txs"
    },
    "originChainId": {
      "type": "number",
      "description": "Origination chain id (where solver needs to get paid)"
    },
    "source": {
      "type": "string",
      "description": "Filling source used for attribution. Example: `reservoir.market`",
      "pattern": "^[a-zA-Z0-9.-]+\\.[a-zA-Z0-9]{2,}$|localhost",
      "x-convert": {
        "case": "lower"
      }
    }
  },
  "required": [
    "user",
    "txs",
    "originChainId"
  ],
  "$defs": {
    "Model577": {
      "type": "object",
      "properties": {
        "to": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{40}$"
        },
        "data": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]*$"
        },
        "value": {
          "type": "string",
          "pattern": "^-?[0-9]+$"
        }
      },
      "required": [
        "to",
        "data",
        "value"
      ]
    },
    "txs": {
      "type": "array",
      "description": "List of transactions to execute",
      "minItems": 1,
      "items": {
        "$ref": "#/$defs/Model577"
      }
    }
  }
}