{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chikocorp-com/json-schema/chikocorp-com-preflight-input-schema.json",
  "title": "PreflightInput",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chikocorp-com-x402-preflight-openapi.yml#/components/schemas/PreflightInput",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "resource_url"
  ],
  "properties": {
    "resource_url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https://",
      "maxLength": 2048,
      "description": "Public HTTPS x402 resource to inspect without payment credentials."
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "POST"
      ],
      "default": "GET"
    },
    "expected_network": {
      "type": "string",
      "pattern": "^[a-z0-9]+:[A-Za-z0-9._-]+$",
      "maxLength": 100
    },
    "max_price_usd": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000
    }
  }
}