changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "description": "Drug, device and food recalls from openFDA enforcement data with class, status and reason. Dates are YYYY-MM-DD",
- "properties": {
- "coverage_note": {
- "description": "What was searched; when nothing matched, says no matching records does not establish safety",
- "type": "string"
- },
- "data_freshness": {
- "additionalProperties": {
- "additionalProperties": {},
- "properties": {
- "as_of_date": {
- "type": "string"
- },
- "executed_at": {
- "type": "string"
- }
- },
- "required": [
- "executed_at",
- "as_of_date"
- ],
- "type": "object"
- },
- "description": "Last successful import per dataset; state it in answers",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "detail_note": {
- "description": "Present when some recall text was shortened (detail='summary')",
- "type": "string"
- },
- "latest_report_date": {
- "additionalProperties": {
- "type": [
- "string",
- "null"
- ]
- },
- "description": "Newest imported report_date per product type (drugs, devices, food); openFDA can trail FDA's weekly Enforcement Report",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "next_step": {
- "description": "Present when nothing matched: how to widen the search",
- "type": "string"
- },
- "no_filter_note": {
- "description": "Present when no filter was given and the newest recalls are shown",
- "type": "string"
- },
- "notices": {
- "description": "Account notices about this key, such as a low balance; show them to the user",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "pagination": {
- "additionalProperties": {},
- "properties": {
- "has_more": {
- "type": "boolean"
- },
- "limit": {
- "type": "number"
- },
- "offset": {
- "type": "number"
- },
- "total_count": {
- "type": "number"
- }
- },
- "required": [
- "offset",
- "limit",
- "total_count"
- ],
- "type": "object"
- },
- "recency_note": {
- "description": "Present when the requested window runs past the newest imported records; relay it and use fda_ires_enforcement for newer recalls",
- "type": "string"
- },
- "results": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "classification": {
- "description": "Class I, II or III; Class I is the most serious",
- "type": [
- "string",
- "null"
- ]
- },
- "product_description": {
- "type": [
- "string",
- "null"
- ]
- },
- "product_type": {
- "type": [
- "string",
- "null"
- ]
- },
- "reason_for_recall": {
- "type": [
- "string",
- "null"
- ]
- },
- "recall_number": {
- "description": "Search FDA's Enforcement Report by this number",
- "type": [
- "string",
- "null"
- ]
- },
- "recalling_firm": {
- "type": [
- "string",
- "null"
- ]
- },
- "report_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "type": [
- "string",
- "null"
- ]
- },
- "text_truncated": {
- "description": "Present when reason_for_recall or product_description was shortened; pass detail='full' for the complete text",
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "see_also": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Related tools and what each adds",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "sort": {
- "description": "Result order: newest report_date first, or closest company-name match first",
- "enum": [
- "newest",
- "relevance"
- ],
- "type": "string"
- },
- "source_links": {
- "additionalProperties": {},
- "description": "FDA's Enforcement Report search page",
- "properties": {
- "fda_enforcement_report": {
- "type": "string"
- },
- "note": {
- "type": "string"
- }
- },
- "required": [
- "fda_enforcement_report",
- "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": [
- "results",
- "pagination",
- "data_freshness",
- "coverage_note",
- "source_links",
- "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"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "description": "Drug, device and food recalls from openFDA enforcement data with class, status and reason. Dates are YYYY-MM-DD",
+ "properties": {
+ "coverage_note": {
+ "description": "What was searched; when nothing matched, says no matching records does not establish safety",
+ "type": "string"
+ },
+ "data_freshness": {
+ "additionalProperties": {
+ "additionalProperties": {},
+ "properties": {
+ "as_of_date": {
+ "type": "string"
+ },
+ "executed_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "executed_at",
+ "as_of_date"
+ ],
+ "type": "object"
+ },
+ "description": "Last successful import per dataset; state it in answers",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "detail_note": {
+ "description": "Present when some recall text was shortened (detail='summary')",
+ "type": "string"
+ },
+ "latest_report_date": {
+ "additionalProperties": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "description": "Newest imported report_date per product type (drugs, devices, food); openFDA can trail FDA's weekly Enforcement Report",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "next_step": {
+ "description": "Present when nothing matched: how to widen the search",
+ "type": "string"
+ },
+ "no_filter_note": {
+ "description": "Present when no filter was given and the newest recalls are shown",
+ "type": "string"
+ },
+ "notices": {
+ "description": "Account notices about this key, such as a low balance; show them to the user",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "pagination": {
+ "additionalProperties": {},
+ "properties": {
+ "has_more": {
+ "type": "boolean"
+ },
+ "limit": {
+ "type": "number"
+ },
+ "offset": {
+ "type": "number"
+ },
+ "total_count": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "offset",
+ "limit",
+ "total_count"
+ ],
+ "type": "object"
+ },
+ "recency_note": {
+ "description": "Present when the requested window runs past the newest imported records; relay it and use fda_ires_enforcement for newer recalls",
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "classification": {
+ "description": "Class I, II or III; Class I is the most serious",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "event_id": {
+ "description": "openFDA event id, set when the recall number is not assigned yet",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "product_description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "product_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reason_for_recall": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recall_number": {
+ "description": "FDA recall number. Null when FDA has not assigned one yet",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recall_number_note": {
+ "description": "Present when FDA has not assigned a recall number yet",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recalling_firm": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "report_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "text_truncated": {
+ "description": "Present when reason_for_recall or product_description was shortened; pass detail='full' for the complete text",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "see_also": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Related tools and what each adds",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "sort": {
+ "description": "Result order: newest report_date first, or closest company-name match first",
+ "enum": [
+ "newest",
+ "relevance"
+ ],
+ "type": "string"
+ },
+ "source_links": {
+ "additionalProperties": {},
+ "description": "FDA's Enforcement Report search page",
+ "properties": {
+ "fda_enforcement_report": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "fda_enforcement_report",
+ "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": [
+ "results",
+ "pagination",
+ "data_freshness",
+ "coverage_note",
+ "source_links",
+ "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"
+ }
+]