changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "description": "Warning letters with official letter links, plus older warning-letter actions when a company has none in the letter index. Dates are YYYY-MM-DD",
- "properties": {
- "coverage_note": {
- "description": "Present when no indexed letter matched; explains what was searched",
- "type": "string"
- },
- "letter_index_earliest_issue_date": {
- "description": "First issue date in the letter index",
- "type": [
- "string",
- "null"
- ]
- },
- "no_filter_note": {
- "description": "Present when no filter was given and the newest letters 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"
- },
- "related_letters": {
- "description": "Letters linked to the company by alias, family link or candidate email domain, not counted in results; check link_reason before attributing them",
- "items": {
- "additionalProperties": {},
- "properties": {
- "candidate_email_domain": {
- "description": "For recipient_email_domain: the registrable domain matched, inferred from the company name, not verified",
- "type": [
- "string",
- "null"
- ]
- },
- "company_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "letter_issue_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "letter_url": {
- "description": "Official FDA letter; cite it",
- "type": [
- "string",
- "null"
- ]
- },
- "link_reason": {
- "description": "company_alias (another of the company's own aliases), family_member (a linked legal entity such as a subsidiary) or recipient_email_domain (recipient email at a candidate company domain)",
- "type": "string"
- },
- "warning_letter_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "link_reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "related_letters_note": {
- "type": "string"
- },
- "results": {
- "description": "Letters from the warning-letter index",
- "items": {
- "additionalProperties": {},
- "properties": {
- "fei_number": {
- "type": [
- "string",
- "null"
- ]
- },
- "fei_source": {
- "description": "letter_text, or fda_compliance_actions when the FEI comes from the Data Dashboard action with the same MARCS-CMS number",
- "type": [
- "string",
- "null"
- ]
- },
- "letter_category": {
- "description": "Heuristic category from office, subject and product type",
- "type": [
- "string",
- "null"
- ]
- },
- "letter_excerpt": {
- "description": "Start of the letter text",
- "type": [
- "string",
- "null"
- ]
- },
- "letter_issue_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "letter_text_status": {
- "description": "retrieved when usable letter text is returned; otherwise not_retrieved or unavailable",
- "type": [
- "string",
- "null"
- ]
- },
- "letter_url": {
- "description": "Official FDA letter; cite it",
- "type": [
- "string",
- "null"
- ]
- },
- "warning_letter_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "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"
- },
- "warning_letter_actions": {
- "description": "Present when a company search found no indexed letters: warning letters from compliance actions (dates and FEIs, no text)",
- "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"
- },
- "warning_letter_actions_pagination": {
- "additionalProperties": {},
- "properties": {
- "has_more": {
- "type": "boolean"
- },
- "limit": {
- "type": "number"
- },
- "offset": {
- "type": "number"
- },
- "total_count": {
- "type": "number"
- }
- },
- "required": [
- "offset",
- "limit",
- "total_count"
- ],
- "type": "object"
- }
- },
- "required": [
- "results",
- "pagination",
- "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": "Warning letters with official letter links, plus older warning-letter actions when a company has none in the letter index. Dates are YYYY-MM-DD",
+ "properties": {
+ "coverage_note": {
+ "description": "Present when no indexed letter matched; explains what was searched",
+ "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 warning-letter import, with the source as-of date",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "letter_index_earliest_issue_date": {
+ "description": "First issue date in the letter index",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "no_filter_note": {
+ "description": "Present when no filter was given and the newest letters 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"
+ },
+ "related_letters": {
+ "description": "Letters linked to the company by alias, family link or candidate email domain, not counted in results; check link_reason before attributing them",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "candidate_email_domain": {
+ "description": "For recipient_email_domain: the registrable domain matched, inferred from the company name, not verified",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "company_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "letter_issue_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "letter_url": {
+ "description": "Official FDA letter; cite it",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "link_reason": {
+ "description": "company_alias (another of the company's own aliases), family_member (a linked legal entity such as a subsidiary) or recipient_email_domain (recipient email at a candidate company domain)",
+ "type": "string"
+ },
+ "warning_letter_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "link_reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "related_letters_note": {
+ "type": "string"
+ },
+ "results": {
+ "description": "Letters from the warning-letter index",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "fei_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fei_source": {
+ "description": "letter_text, or fda_compliance_actions when the FEI comes from the Data Dashboard action with the same MARCS-CMS number",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "letter_category": {
+ "description": "Heuristic category from office, subject and product type",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "letter_excerpt": {
+ "description": "Start of the letter text",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "letter_issue_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "letter_text_status": {
+ "description": "retrieved when usable letter text is returned; otherwise not_retrieved or unavailable",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "letter_url": {
+ "description": "Official FDA letter; cite it",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "warning_letter_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "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"
+ },
+ "warning_letter_actions": {
+ "description": "Present when a company search found no indexed letters: warning letters from compliance actions (dates and FEIs, no text)",
+ "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"
+ },
+ "warning_letter_actions_pagination": {
+ "additionalProperties": {},
+ "properties": {
+ "has_more": {
+ "type": "boolean"
+ },
+ "limit": {
+ "type": "number"
+ },
+ "offset": {
+ "type": "number"
+ },
+ "total_count": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "offset",
+ "limit",
+ "total_count"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "results",
+ "pagination",
+ "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"
+ }
+]