changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "description": "FDA inspections with classification (NAI, VAI or OAI) and end date, newest first. Dates are YYYY-MM-DD",
- "properties": {
- "company_matching": {
- "additionalProperties": {},
- "description": "Present when company_name was given",
- "properties": {
- "alias_names_searched": {
- "description": "Known alias spellings searched besides the name",
- "type": "number"
- },
- "note": {
- "type": "string"
- }
- },
- "required": [
- "alias_names_searched",
- "note"
- ],
- "type": "object"
- },
- "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"
- },
- "fda_dashboard_links": {
- "additionalProperties": {},
- "description": "FDA Data Dashboard firm profile pattern and search pages",
- "properties": {},
- "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 inspections 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"
- },
- "results": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "classification_code": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "NAI, VAI or OAI"
- },
- "company_match": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "With company_name: company_name (name match) or company_alias (one of the company's known aliases)"
- },
- "fei_number": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "firm_profile_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "inspection_end_date": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "inspection_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "legal_name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "product_type": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "project_area": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "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"
- }
- },
- "required": [
- "results",
- "fda_dashboard_links",
- "see_also",
- "data_freshness",
- "coverage_note"
- ],
- "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": "FDA inspections with classification (NAI, VAI or OAI) and end date, newest first. Dates are YYYY-MM-DD",
+ "properties": {
+ "company_matching": {
+ "additionalProperties": {},
+ "description": "Present when company_name was given",
+ "properties": {
+ "alias_names_searched": {
+ "description": "Known alias spellings searched besides the name",
+ "type": "number"
+ },
+ "note": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "alias_names_searched",
+ "note"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "fda_dashboard_links": {
+ "additionalProperties": {},
+ "description": "FDA Data Dashboard firm profile pattern and search pages",
+ "properties": {},
+ "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 inspections 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"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "classification_code": {
+ "description": "NAI, VAI or OAI",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "company_match": {
+ "description": "With company_name: company_name (name match) or company_alias (one of the company's known aliases)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fei_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "firm_profile_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inspection_end_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inspection_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "legal_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "product_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "project_area": {
+ "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"
+ }
+ },
+ "required": [
+ "results",
+ "fda_dashboard_links",
+ "see_also",
+ "data_freshness",
+ "coverage_note"
+ ],
+ "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"
+ }
+]