{
  "title": "FDA Drug Shortages Monitor",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "status": {
      "title": "Published shortage status",
      "type": "string",
      "description": "Shortage status filter, for example Current, To Be Discontinued or Resolved. Omitted or blank uses Current.",
      "editor": "textfield",
      "prefill": "Current",
      "sectionCaption": "1 · Choose the shortage records",
      "sectionDescription": "Blank status uses Current. Optional keyword and company filters narrow the request."
    },
    "keyword": {
      "title": "Drug or company keyword",
      "type": "string",
      "description": "Match against generic_name, proprietary_name or company_name.",
      "editor": "textfield"
    },
    "company": {
      "title": "Company name",
      "type": "string",
      "description": "Optional exact-ish company_name filter.",
      "editor": "textfield"
    },
    "maxResults": {
      "title": "Maximum shortage records",
      "type": "integer",
      "description": "Upper bound on shortage rows. Default is a fast sample.",
      "editor": "number",
      "default": 50,
      "minimum": 1,
      "maximum": 1000,
      "sectionCaption": "2 · Bound the output",
      "sectionDescription": "Result and time caps limit the requested sample."
    },
    "maxRunSeconds": {
      "title": "Run time budget (seconds)",
      "type": "integer",
      "description": "Wall-clock budget for this run.",
      "editor": "number",
      "default": 240,
      "minimum": 30
    }
  },
  "description": "Collect published FDA drug-shortage observations using the supported filters and result cap. Source status and dates retain their original meaning; this is not treatment or availability advice."
}
