{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-route-input-schema.json",
  "title": "RouteInput",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudflare-routes-api-openapi.yml#/components/schemas/RouteInput",
  "type": "object",
  "required": [
    "pattern"
  ],
  "properties": {
    "pattern": {
      "type": "string",
      "description": "The URL pattern for the route, e.g. example.com/*."
    },
    "script": {
      "type": "string",
      "description": "The name of the Worker script to invoke."
    }
  }
}