{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "payment_method": {
      "enum": [
        "stripe",
        "x402"
      ]
    },
    "input": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "Interface Consistency Check supplied snapshot",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "schema_version": {
          "const": "lumen-interface-check-input/1"
        },
        "base_url": {
          "type": "string",
          "format": "uri"
        },
        "llms_txt": {
          "type": "string",
          "maxLength": 65536
        },
        "openapi": {
          "type": "object"
        },
        "offers": {
          "type": "array",
          "maxItems": 20,
          "items": {
            "type": "object"
          }
        }
      },
      "required": [
        "schema_version",
        "base_url",
        "llms_txt",
        "openapi",
        "offers"
      ],
      "description": "POST JSON only. Exact HTTPS origin as base_url. Body <=524288 UTF-8 bytes; llms_txt <=65536 UTF-8 bytes; OpenAPI <=393216 bytes; depth <=32; nodes <=20000. No server-side URL fetching or external reference resolution."
    }
  },
  "required": [
    "payment_method",
    "input"
  ]
}
