addedOutput schema / oneOf
Added value: +[
+ {
+ "properties": {
+ "adverse_events": {
+ "description": "FDA adverse events data",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "analysis": {
+ "description": "Analysis type identifier",
+ "enum": [
+ "safety_report"
+ ],
+ "type": "string"
+ },
+ "drug_drug_interaction_check": {
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "explanation": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "drug_interactions": {
+ "description": "Known drug interactions",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "drug_name": {
+ "description": "Drug name queried",
+ "type": "string"
+ },
+ "fda_label_interactions": {
+ "properties": {
+ "query": {
+ "type": "string"
+ },
+ "resolved_via": {
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "properties": {
+ "brand_name": {
+ "type": "string"
+ },
+ "dosage_and_administration": {
+ "type": "string"
+ },
+ "effective_time": {
+ "type": "string"
+ },
+ "generic_name": {
+ "type": "string"
+ },
+ "indications_and_usage": {
+ "type": "string"
+ },
+ "manufacturer": {
+ "type": "string"
+ },
+ "route": {
+ "type": "string"
+ },
+ "set_id": {
+ "type": "string"
+ },
+ "substance_name": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "warnings": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "skip": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "found": {
+ "description": "Present and true on an answer; a miss is the found:false branch.",
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "recalls": {
+ "description": "Drug recalls data",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "top_reactions": {
+ "description": "Top adverse reactions by frequency",
+ "type": [
+ "object",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "analysis",
+ "drug_name",
+ "adverse_events",
+ "top_reactions",
+ "recalls"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
+ "properties": {
+ "found": {
+ "enum": [
+ false
+ ],
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "found"
+ ],
+ "type": "object"
+ }
+]
removedOutput schema / properties
Removed value: -{
- "adverse_events": {
- "description": "FDA adverse events data",
- "type": [
- "object",
- "null"
- ]
- },
- "analysis": {
- "description": "Analysis type identifier",
- "enum": [
- "safety_report"
- ],
- "type": "string"
- },
- "drug_drug_interaction_check": {
- "properties": {
- "available": {
- "type": "boolean"
- },
- "explanation": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "drug_interactions": {
- "description": "Known drug interactions",
- "type": [
- "object",
- "null"
- ]
- },
- "drug_name": {
- "description": "Drug name queried",
- "type": "string"
- },
- "fda_label_interactions": {
- "properties": {
- "query": {
- "type": "string"
- },
- "resolved_via": {
- "type": "string"
- },
- "results": {
- "items": {
- "properties": {
- "brand_name": {
- "type": "string"
- },
- "dosage_and_administration": {
- "type": "string"
- },
- "effective_time": {
- "type": "string"
- },
- "generic_name": {
- "type": "string"
- },
- "indications_and_usage": {
- "type": "string"
- },
- "manufacturer": {
- "type": "string"
- },
- "route": {
- "type": "string"
- },
- "set_id": {
- "type": "string"
- },
- "substance_name": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "warnings": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "skip": {
- "type": "number"
- },
- "total": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "recalls": {
- "description": "Drug recalls data",
- "type": [
- "object",
- "null"
- ]
- },
- "top_reactions": {
- "description": "Top adverse reactions by frequency",
- "type": [
- "object",
- "null"
- ]
- }
-}