{
  "title": "FDA 510(k) Clearance & Decision Monitor",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "kNumbers": {
      "title": "Exact FDA K numbers",
      "type": "array",
      "description": "Up to 20 exact K numbers, for example K260648. Overrides product, applicant and clearance filters. Missing records are reported without being declared removed.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "productCodes": {
      "title": "FDA product codes",
      "type": "array",
      "description": "Up to five three-letter codes, for example GWL. Discovery requires each result to match one selected code. Ignored when exact K numbers are supplied.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "applicantPhrase": {
      "title": "Applicant name phrase",
      "type": "string",
      "description": "Optional literal phrase in the FDA applicant index, up to 120 characters. This is source search, not verified corporate identity. Quotes and backslashes are not accepted. Ignored for exact K numbers.",
      "editor": "textfield",
      "default": ""
    },
    "clearanceOnly": {
      "title": "Only standard SESE decisions",
      "type": "boolean",
      "description": "Discovery includes decision_code SESE by default. Turning off includes other 510(k) decision codes. This is not PMA approval, efficacy, market availability or a purchase signal. Ignored for exact K numbers.",
      "default": true,
      "prefill": true
    },
    "maxResults": {
      "title": "Maximum saved decisions",
      "type": "integer",
      "description": "1–100. Discovery requests one decision-date-sorted window of this size. An exact watchlist larger than this output cap is incomplete and cannot advance history.",
      "minimum": 1,
      "maximum": 100,
      "default": 3,
      "prefill": 3
    },
    "maxRunSeconds": {
      "title": "Time budget (seconds)",
      "type": "integer",
      "description": "30–120 seconds including source, output and history. The public API request is bounded to 20 seconds and the platform timeout may stop earlier.",
      "minimum": 30,
      "maximum": 120,
      "default": 60
    },
    "comparePrevious": {
      "title": "Compare saved observations",
      "type": "boolean",
      "description": "Compare source decision, applicant and device fields with a previous complete observation of the same scope. First run establishes a baseline.",
      "default": false
    },
    "onlyChanges": {
      "title": "Save only new or changed records",
      "type": "boolean",
      "description": "Enables comparison and may correctly save zero rows on an unchanged repeat. Missing records do not imply withdrawal or market removal.",
      "default": false
    },
    "snapshotName": {
      "title": "Snapshot name",
      "type": "string",
      "description": "1–80 letters, digits, underscores or hyphens. Selection filters also separate history. Run each snapshot sequentially.",
      "editor": "textfield",
      "default": "default"
    }
  }
}
