changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "description": "Form 483s and other FDA OII reading-room documents with official links and OCR excerpts. 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"
- },
- "date_fields": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "What each date field means",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "document_text_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": {
- "company_name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "date_conflict_note": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Present when record_date disagrees with the dates printed on the Form 483"
- },
- "document_text_excerpt": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Machine-extracted (OCR) excerpt starting at Observation 1; may contain errors"
- },
- "document_text_status": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "extracted, or why document text is missing"
- },
- "fei_number": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "form_483_dates": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "inspection_end": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Last inspection date printed on the Form 483"
- },
- "inspection_start": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "First inspection date printed on the Form 483"
- },
- "issued_date": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Date the Form 483 was issued"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Dates printed on the Form 483 header, when every page header agrees. Prefer these over record_date"
- },
- "oii_record_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "publish_date": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "record_date": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "FDA listing record date; listing metadata, not the inspection date"
- },
- "record_type": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Form 483, EIR or another reading-room document type"
- },
- "record_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Official FDA document; cite it"
- }
- },
- "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",
- "date_fields",
- "pagination",
- "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": "Form 483s and other FDA OII reading-room documents with official links and OCR excerpts. 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"
+ },
+ "date_fields": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "What each date field means",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "document_text_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": {
+ "company_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_conflict_note": {
+ "description": "Present when record_date disagrees with the dates printed on the Form 483",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "document_text_excerpt": {
+ "description": "Machine-extracted (OCR) excerpt starting at Observation 1; may contain errors",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "document_text_status": {
+ "description": "extracted, or why document text is missing",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fei_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "form_483_dates": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "inspection_end": {
+ "description": "Last inspection date printed on the Form 483",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "inspection_start": {
+ "description": "First inspection date printed on the Form 483",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "issued_date": {
+ "description": "Date the Form 483 was issued",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Dates printed on the Form 483 header, when every page header agrees. Prefer these over record_date"
+ },
+ "oii_record_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "publish_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "record_date": {
+ "description": "FDA listing record date; listing metadata, not the inspection date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "record_type": {
+ "description": "Form 483, EIR or another reading-room document type",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "record_url": {
+ "description": "Official FDA document; cite it",
+ "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",
+ "date_fields",
+ "pagination",
+ "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"
+ }
+]