changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "description": "Inspection, citation, Form 483, warning letter, import and recall evidence for one FEI, with site-only counts and parent-company context kept apart. Dates are YYYY-MM-DD",
- "properties": {
- "company_level_context": {
- "additionalProperties": {},
- "description": "Records matching the registrant or owner-operator (parent) name. Not evidence for this site",
- "properties": {
- "import_alerts": {
- "additionalProperties": {},
- "properties": {
- "recent": {
- "items": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "type": "array"
- },
- "total_count": {
- "type": "number"
- }
- },
- "required": [
- "total_count",
- "recent"
- ],
- "type": "object"
- },
- "matched_names": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "note": {
- "type": "string"
- },
- "recalls": {
- "additionalProperties": {},
- "properties": {
- "recent": {
- "items": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "type": "array"
- },
- "total_count": {
- "type": "number"
- }
- },
- "required": [
- "total_count",
- "recent"
- ],
- "type": "object"
- },
- "warning_letters": {
- "additionalProperties": {},
- "properties": {
- "recent": {
- "items": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "type": "array"
- },
- "total_count": {
- "type": "number"
- }
- },
- "required": [
- "total_count",
- "recent"
- ],
- "type": "object"
- }
- },
- "required": [
- "matched_names",
- "note",
- "warning_letters",
- "import_alerts",
- "recalls"
- ],
- "type": "object"
- },
- "dossier_summary": {
- "additionalProperties": {},
- "description": "Site-level counts only; parent-company matches are under company_level_context",
- "properties": {
- "import_alerts": {
- "description": "Import alert entries matching the facility name",
- "type": "number"
- },
- "import_refusals": {
- "type": "number"
- },
- "last_inspection_classification": {
- "type": [
- "string",
- "null"
- ]
- },
- "last_inspection_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "last_oii_record_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "nai": {
- "type": "number"
- },
- "oai": {
- "description": "Official Action Indicated",
- "type": "number"
- },
- "oii_records": {
- "description": "Form 483s and other OII documents for this FEI",
- "type": "number"
- },
- "older_warning_letters": {
- "description": "Warning letters before the letter index begins",
- "type": "number"
- },
- "recalls": {
- "description": "Recalls matching the facility name",
- "type": "number"
- },
- "total_inspections": {
- "type": "number"
- },
- "vai": {
- "type": "number"
- },
- "warning_letters": {
- "description": "Warning letters for this site, index plus older compliance actions",
- "type": "number"
- }
- },
- "required": [
- "total_inspections",
- "nai",
- "vai",
- "oai",
- "warning_letters",
- "older_warning_letters",
- "import_refusals",
- "import_alerts",
- "recalls",
- "oii_records"
- ],
- "type": "object"
- },
- "facility": {
- "additionalProperties": {},
- "description": "Facility profile for this FEI",
- "properties": {
- "fei": {
- "description": "FDA Establishment Identifier",
- "type": "string"
- },
- "firm_profile_url": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "fei"
- ],
- "type": "object"
- },
- "fda_dashboard_links": {
- "additionalProperties": {},
- "description": "FDA Data Dashboard firm profile pattern and search pages",
- "properties": {},
- "type": "object"
- },
- "freshness_summary": {
- "additionalProperties": {},
- "properties": {
- "covered_dataset_count": {
- "type": "number"
- },
- "datasets_checked": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "freshest_as_of_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "stalest_as_of_date": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "datasets_checked",
- "covered_dataset_count"
- ],
- "type": "object"
- },
- "import_alert_mentions": {
- "description": "Import alert entries matching the facility name",
- "items": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "type": "array"
- },
- "latest_inspection": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "classification_code": {
- "description": "NAI, VAI or OAI",
- "type": [
- "string",
- "null"
- ]
- },
- "fei_number": {
- "type": [
- "string",
- "null"
- ]
- },
- "firm_profile_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "inspection_end_date": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "notices": {
- "description": "Account notices about this key, such as a low balance; show them to the user",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "oii_records_note": {
- "type": "string"
- },
- "older_warning_letters": {
- "additionalProperties": {},
- "properties": {
- "letter_index_earliest_issue_date": {
- "description": "First issue date in the letter index",
- "type": [
- "string",
- "null"
- ]
- },
- "note": {
- "type": "string"
- },
- "results": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "action_taken_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "case_injunction_id": {
- "description": "FDA Data Dashboard case ID",
- "type": [
- "string",
- "null"
- ]
- },
- "fei_number": {
- "type": [
- "string",
- "null"
- ]
- },
- "firm_profile_url": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "total_count": {
- "description": "Warning letters before the letter index begins",
- "type": "number"
- }
- },
- "required": [
- "total_count",
- "results",
- "note"
- ],
- "type": "object"
- },
- "recent_citations": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "act_cfr_number": {
- "description": "Cited CFR section",
- "type": [
- "string",
- "null"
- ]
- },
- "citation_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "firm_profile_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "inspection_end_date": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "recent_import_refusals": {
- "items": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "type": "array"
- },
- "recent_oii_records": {
- "description": "Form 483s and other OII reading-room documents for this FEI",
- "items": {
- "additionalProperties": {},
- "properties": {
- "date_conflict_note": {
- "description": "Present when record_date disagrees with the dates printed on the Form 483",
- "type": [
- "string",
- "null"
- ]
- },
- "document_text_excerpt": {
- "description": "Machine-extracted (OCR) excerpt starting at Observation 1; may contain errors",
- "type": [
- "string",
- "null"
- ]
- },
- "document_text_status": {
- "description": "extracted, or why document text is missing",
- "type": [
- "string",
- "null"
- ]
- },
- "fei_number": {
- "type": [
- "string",
- "null"
- ]
- },
- "form_483_dates": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "inspection_end": {
- "description": "Last inspection date printed on the Form 483",
- "type": [
- "string",
- "null"
- ]
- },
- "inspection_start": {
- "description": "First inspection date printed on the Form 483",
- "type": [
- "string",
- "null"
- ]
- },
- "issued_date": {
- "description": "Date the Form 483 was issued",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Dates printed on the Form 483 header, when every page header agrees. Prefer these over record_date"
- },
- "oii_record_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "record_date": {
- "description": "FDA listing record date; listing metadata, not the inspection date",
- "type": [
- "string",
- "null"
- ]
- },
- "record_url": {
- "description": "Official FDA document; cite it",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "recent_recalls": {
- "description": "Recalls matching the facility name",
- "items": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "type": "array"
- },
- "recent_warning_letters": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "letter_issue_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "letter_url": {
- "description": "Official FDA letter; cite it",
- "type": [
- "string",
- "null"
- ]
- },
- "warning_letter_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "recommended_follow_ups": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "reason": {
- "description": "Why the follow-up matters",
- "type": "string"
- },
- "tool": {
- "description": "Tool to call next",
- "type": "string"
- }
- },
- "required": [
- "tool",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "see_also": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Related tools and what each adds",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "site_match_basis": {
- "additionalProperties": {},
- "properties": {
- "facility_names": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "fei": {
- "type": "string"
- },
- "note": {
- "type": "string"
- }
- },
- "required": [
- "fei",
- "facility_names",
- "note"
- ],
- "type": "object"
- },
- "sources": {
- "description": "fda.gov pages behind this result (letters, 483s, import alerts, firm profiles, FDA search pages), documents first; cite these links in the answer",
- "items": {
- "additionalProperties": {},
- "properties": {
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "title",
- "url"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "facility",
- "dossier_summary",
- "site_match_basis",
- "company_level_context",
- "latest_inspection",
- "recent_citations",
- "recent_warning_letters",
- "older_warning_letters",
- "recent_import_refusals",
- "import_alert_mentions",
- "recent_recalls",
- "recent_oii_records",
- "oii_records_note",
- "freshness_summary",
- "fda_dashboard_links",
- "recommended_follow_ups",
- "see_also"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Returned instead of records when the session has no API key: how to sign up and connect",
- "properties": {
- "attempted_tool": {
- "type": "string"
- },
- "auth_required": {
- "const": true,
- "type": "boolean"
- },
- "message": {
- "type": "string"
- },
- "signup_url": {
- "type": "string"
- }
- },
- "required": [
- "auth_required",
- "attempted_tool",
- "message",
- "signup_url"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "No facility has this FEI: close matches to check, not evidence",
- "properties": {
- "close_matches": {
- "description": "Sites whose FEI differs by one digit; suggestions only, not this FEI's records",
- "items": {
- "additionalProperties": {},
- "properties": {
- "city": {
- "type": [
- "string",
- "null"
- ]
- },
- "country": {
- "type": [
- "string",
- "null"
- ]
- },
- "fei": {
- "type": "string"
- },
- "firm_profile_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "fei",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "facility": {
- "type": "null"
- },
- "found": {
- "const": false,
- "type": "boolean"
- },
- "next_step": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "notices": {
- "description": "Account notices about this key, such as a low balance; show them to the user",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "requested_fei": {
- "description": "The FEI as searched, without leading zeros",
- "type": "string"
- },
- "see_also": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Related tools and what each adds",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "facility",
- "found",
- "requested_fei",
- "close_matches",
- "note",
- "next_step",
- "see_also"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "description": "Inspection, citation, Form 483, warning letter, import and recall evidence for one FEI, with site-only counts and parent-company context kept apart. Dates are YYYY-MM-DD",
+ "properties": {
+ "company_level_context": {
+ "additionalProperties": {},
+ "description": "Records matching the registrant or owner-operator (parent) name. Not evidence for this site",
+ "properties": {
+ "import_alerts": {
+ "additionalProperties": {},
+ "properties": {
+ "recent": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total_count": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "total_count",
+ "recent"
+ ],
+ "type": "object"
+ },
+ "matched_names": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "note": {
+ "type": "string"
+ },
+ "recalls": {
+ "additionalProperties": {},
+ "properties": {
+ "recent": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total_count": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "total_count",
+ "recent"
+ ],
+ "type": "object"
+ },
+ "warning_letters": {
+ "additionalProperties": {},
+ "properties": {
+ "recent": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total_count": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "total_count",
+ "recent"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "matched_names",
+ "note",
+ "warning_letters",
+ "import_alerts",
+ "recalls"
+ ],
+ "type": "object"
+ },
+ "dossier_summary": {
+ "additionalProperties": {},
+ "description": "Site-level counts only; parent-company matches are under company_level_context",
+ "properties": {
+ "import_alerts": {
+ "description": "Import alert entries matching the facility name",
+ "type": "number"
+ },
+ "import_refusals": {
+ "type": "number"
+ },
+ "last_inspection_classification": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "last_inspection_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "last_oii_record_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "nai": {
+ "type": "number"
+ },
+ "oai": {
+ "description": "Official Action Indicated",
+ "type": "number"
+ },
+ "oii_records": {
+ "description": "Form 483s and other OII documents for this FEI",
+ "type": "number"
+ },
+ "older_warning_letters": {
+ "description": "Warning letters before the letter index begins",
+ "type": "number"
+ },
+ "recalls": {
+ "description": "Recalls matching the facility name",
+ "type": "number"
+ },
+ "total_inspections": {
+ "type": "number"
+ },
+ "vai": {
+ "type": "number"
+ },
+ "warning_letters": {
+ "description": "Warning letters for this site, index plus older compliance actions",
+ "type": "number"
+ }
+ },
+ "required": [
+ "total_inspections",
+ "nai",
+ "vai",
+ "oai",
+ "warning_letters",
+ "older_warning_letters",
+ "import_refusals",
+ "import_alerts",
+ "recalls",
+ "oii_records"
+ ],
+ "type": "object"
+ },
+ "facility": {
+ "additionalProperties": {},
+ "description": "Facility profile for this FEI",
+ "properties": {
+ "fei": {
+ "description": "FDA Establishment Identifier",
+ "type": "string"
+ },
+ "firm_profile_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "fei"
+ ],
+ "type": "object"
+ },
+ "fda_dashboard_links": {
+ "additionalProperties": {},
+ "description": "FDA Data Dashboard firm profile pattern and search pages",
+ "properties": {},
+ "type": "object"
+ },
+ "freshness_summary": {
+ "additionalProperties": {},
+ "properties": {
+ "covered_dataset_count": {
+ "type": "number"
+ },
+ "datasets_checked": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "freshest_as_of_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "stalest_as_of_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "datasets_checked",
+ "covered_dataset_count"
+ ],
+ "type": "object"
+ },
+ "import_alert_mentions": {
+ "description": "Import alert entries matching the facility name",
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "latest_inspection": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "classification_code": {
+ "description": "NAI, VAI or OAI",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fei_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "firm_profile_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inspection_end_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "notices": {
+ "description": "Account notices about this key, such as a low balance; show them to the user",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "oii_records_note": {
+ "type": "string"
+ },
+ "older_warning_letters": {
+ "additionalProperties": {},
+ "properties": {
+ "letter_index_earliest_issue_date": {
+ "description": "First issue date in the letter index",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "note": {
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "action_taken_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "case_injunction_id": {
+ "description": "FDA Data Dashboard case ID",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fei_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "firm_profile_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total_count": {
+ "description": "Warning letters before the letter index begins",
+ "type": "number"
+ }
+ },
+ "required": [
+ "total_count",
+ "results",
+ "note"
+ ],
+ "type": "object"
+ },
+ "recent_citations": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "act_cfr_number": {
+ "description": "Cited CFR section",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "citation_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "firm_profile_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inspection_end_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "recent_import_refusals": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "recent_oii_records": {
+ "description": "Form 483s and other OII reading-room documents for this FEI",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "date_conflict_note": {
+ "description": "Present when record_date disagrees with the dates printed on the Form 483",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "document_text_excerpt": {
+ "description": "Machine-extracted (OCR) excerpt starting at Observation 1; may contain errors",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "document_text_status": {
+ "description": "extracted, or why document text is missing",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fei_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "form_483_dates": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "inspection_end": {
+ "description": "Last inspection date printed on the Form 483",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inspection_start": {
+ "description": "First inspection date printed on the Form 483",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "issued_date": {
+ "description": "Date the Form 483 was issued",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Dates printed on the Form 483 header, when every page header agrees. Prefer these over record_date"
+ },
+ "oii_record_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "record_date": {
+ "description": "FDA listing record date; listing metadata, not the inspection date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "record_url": {
+ "description": "Official FDA document; cite it",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "recent_recalls": {
+ "description": "Recalls matching the facility name",
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "recent_warning_letters": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "letter_issue_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "letter_url": {
+ "description": "Official FDA letter; cite it",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "warning_letter_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "recommended_follow_ups": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "reason": {
+ "description": "Why the follow-up matters",
+ "type": "string"
+ },
+ "tool": {
+ "description": "Tool to call next",
+ "type": "string"
+ }
+ },
+ "required": [
+ "tool",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "regdatalab_page": {
+ "additionalProperties": {},
+ "description": "The RegDataLab page for this company or site, for the reader to open, share or bookmark; give it next to the fda.gov sources, never in place of them",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "url"
+ ],
+ "type": "object"
+ },
+ "see_also": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Related tools and what each adds",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "site_match_basis": {
+ "additionalProperties": {},
+ "properties": {
+ "facility_names": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fei": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "fei",
+ "facility_names",
+ "note"
+ ],
+ "type": "object"
+ },
+ "sources": {
+ "description": "fda.gov pages behind this result (letters, 483s, import alerts, firm profiles, FDA search pages), documents first; cite these links in the answer",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "facility",
+ "dossier_summary",
+ "site_match_basis",
+ "company_level_context",
+ "latest_inspection",
+ "recent_citations",
+ "recent_warning_letters",
+ "older_warning_letters",
+ "recent_import_refusals",
+ "import_alert_mentions",
+ "recent_recalls",
+ "recent_oii_records",
+ "oii_records_note",
+ "freshness_summary",
+ "fda_dashboard_links",
+ "recommended_follow_ups",
+ "see_also"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Returned instead of records when the session has no API key: how to sign up and connect",
+ "properties": {
+ "attempted_tool": {
+ "type": "string"
+ },
+ "auth_required": {
+ "const": true,
+ "type": "boolean"
+ },
+ "message": {
+ "type": "string"
+ },
+ "signup_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "auth_required",
+ "attempted_tool",
+ "message",
+ "signup_url"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "No facility has this FEI: close matches to check, not evidence",
+ "properties": {
+ "close_matches": {
+ "description": "Sites whose FEI differs by one digit; suggestions only, not this FEI's records",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "city": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "country": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fei": {
+ "type": "string"
+ },
+ "firm_profile_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "fei",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "facility": {
+ "type": "null"
+ },
+ "found": {
+ "const": false,
+ "type": "boolean"
+ },
+ "next_step": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "notices": {
+ "description": "Account notices about this key, such as a low balance; show them to the user",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "requested_fei": {
+ "description": "The FEI as searched, without leading zeros",
+ "type": "string"
+ },
+ "see_also": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Related tools and what each adds",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "facility",
+ "found",
+ "requested_fei",
+ "close_matches",
+ "note",
+ "next_step",
+ "see_also"
+ ],
+ "type": "object"
+ }
+]