changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "description": "FDA inspection counts by fiscal year and outcome (OAI, VAI, NAI) with the OAI share",
- "properties": {
- "by_fiscal_year": {
- "description": "Newest fiscal year first",
- "items": {
- "additionalProperties": {},
- "properties": {
- "fiscal_year": {
- "type": "number"
- },
- "nai": {
- "type": "number"
- },
- "oai": {
- "type": "number"
- },
- "oai_share_pct": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "OAI as a percent of total, one decimal"
- },
- "total": {
- "description": "All inspections in the year, classified or not",
- "type": "number"
- },
- "unclassified": {
- "type": "number"
- },
- "vai": {
- "type": "number"
- },
- "year_to_date": {
- "description": "True for the fiscal year in progress",
- "type": "boolean"
- }
- },
- "required": [
- "fiscal_year",
- "total",
- "oai",
- "vai",
- "nai",
- "oai_share_pct"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "coverage_note": {
- "description": "What was searched; when nothing matched, says no matching records does not establish safety",
- "type": "string"
- },
- "current_fiscal_year": {
- "type": "number"
- },
- "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"
- },
- "filters": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "method_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"
- },
- "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"
- },
- "stats_page_url": {
- "type": "string"
- },
- "totals": {
- "additionalProperties": {},
- "properties": {
- "nai": {
- "type": "number"
- },
- "oai": {
- "type": "number"
- },
- "oai_share_pct": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "OAI as a percent of total, one decimal"
- },
- "total": {
- "description": "All inspections in the year, classified or not",
- "type": "number"
- },
- "unclassified": {
- "type": "number"
- },
- "vai": {
- "type": "number"
- }
- },
- "required": [
- "total",
- "oai",
- "vai",
- "nai",
- "oai_share_pct"
- ],
- "type": "object"
- }
- },
- "required": [
- "current_fiscal_year",
- "by_fiscal_year",
- "totals",
- "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 inspection counts by fiscal year and outcome (OAI, VAI, NAI) with the OAI share",
+ "properties": {
+ "by_fiscal_year": {
+ "description": "Newest fiscal year first",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "fiscal_year": {
+ "type": "number"
+ },
+ "nai": {
+ "type": "number"
+ },
+ "oai": {
+ "type": "number"
+ },
+ "oai_share_pct": {
+ "description": "OAI as a percent of total, one decimal",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "total": {
+ "description": "All inspections in the year, classified or not",
+ "type": "number"
+ },
+ "unclassified": {
+ "type": "number"
+ },
+ "vai": {
+ "type": "number"
+ },
+ "year_to_date": {
+ "description": "True for the fiscal year in progress",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "fiscal_year",
+ "total",
+ "oai",
+ "vai",
+ "nai",
+ "oai_share_pct"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "coverage_note": {
+ "description": "What was searched; when nothing matched, says no matching records does not establish safety",
+ "type": "string"
+ },
+ "current_fiscal_year": {
+ "type": "number"
+ },
+ "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"
+ },
+ "filters": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "method_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"
+ },
+ "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"
+ },
+ "stats_page_url": {
+ "type": "string"
+ },
+ "totals": {
+ "additionalProperties": {},
+ "properties": {
+ "nai": {
+ "type": "number"
+ },
+ "oai": {
+ "type": "number"
+ },
+ "oai_share_pct": {
+ "description": "OAI as a percent of total, one decimal",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "total": {
+ "description": "All inspections in the year, classified or not",
+ "type": "number"
+ },
+ "unclassified": {
+ "type": "number"
+ },
+ "vai": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "total",
+ "oai",
+ "vai",
+ "nai",
+ "oai_share_pct"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "current_fiscal_year",
+ "by_fiscal_year",
+ "totals",
+ "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"
+ }
+]