changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "description": "Firms on FDA import alerts with list status and official alert links. Dates are YYYY-MM-DD",
- "properties": {
- "alerts": {
- "description": "Each alert on this page once, with its reason, products and charge (summary detail only)",
- "items": {
- "additionalProperties": {},
- "properties": {
- "alert_name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "alert_number": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "alert_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Official FDA import alert page; cite it"
- },
- "charge": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "product_description": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "reason_for_alert": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "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": {
- "type": "string"
- },
- "next_step": {
- "description": "Present when nothing matched: how to widen the search",
- "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"
- },
- "results": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "alert_name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "alert_number": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "alert_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Official FDA import alert page; cite it"
- },
- "country_name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "firm_date_published": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "firm_name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "list_status": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Red list (detention without physical examination) or green list"
- },
- "publish_date": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "text_truncated": {
- "description": "Present when product_lines_text 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"
- },
- "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",
- "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": "Firms on FDA import alerts with list status and official alert links. Dates are YYYY-MM-DD",
+ "properties": {
+ "alerts": {
+ "description": "Each alert on this page once, with its reason, products and charge (summary detail only)",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "alert_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "alert_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "alert_url": {
+ "description": "Official FDA import alert page; cite it",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "charge": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "product_description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reason_for_alert": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "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": {
+ "type": "string"
+ },
+ "next_step": {
+ "description": "Present when nothing matched: how to widen the search",
+ "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"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "alert_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "alert_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "alert_url": {
+ "description": "Official FDA import alert page; cite it",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "country_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "firm_date_published": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "firm_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "list_status": {
+ "description": "Red list (detention without physical examination) or green list",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "publish_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "text_truncated": {
+ "description": "Present when product_lines_text 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"
+ },
+ "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",
+ "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"
+ }
+]