{
  "title": "CMS hospital enrollments",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "state": {
      "title": "State code",
      "type": "string",
      "description": "2-letter state filter. Default demo uses TN so empty runs still return rows.",
      "editor": "textfield",
      "prefill": "TN",
      "sectionCaption": "1 · Choose an enrollment slice",
      "sectionDescription": "Filter the Hospital Enrollments source by state, organization name or city."
    },
    "organizationContains": {
      "title": "Organization name contains",
      "type": "string",
      "description": "Case-insensitive substring on ORGANIZATION NAME.",
      "editor": "textfield"
    },
    "city": {
      "title": "City",
      "type": "string",
      "description": "Optional city filter.",
      "editor": "textfield"
    },
    "maxResults": {
      "title": "Maximum enrollment records",
      "type": "integer",
      "editor": "number",
      "default": 25,
      "minimum": 1,
      "maximum": 5000,
      "description": "Maximum CMS Care Compare / enrollment records to return.",
      "sectionCaption": "2 · Bound the output",
      "sectionDescription": "A capped sample does not represent every hospital enrollment."
    },
    "maxRunSeconds": {
      "title": "Run time budget (seconds)",
      "type": "integer",
      "editor": "number",
      "default": 240,
      "minimum": 30,
      "description": "Hard wall-clock budget for the run in seconds."
    }
  },
  "description": "Choose the supported CMS hospital data scope and result cap. The output covers published enrollment and location records; it is not a hospital quality ranking or medical recommendation."
}
