{
  "id": "RECALL-LOOKUP",
  "title": "Retrieve one recall event and its affected products",
  "shortTitle": "Retrieve a recall",
  "method": "GET",
  "path": "/v1/recalls/{recall_id}",
  "queryPath": null,
  "group": "safety",
  "unsupportedFields": [],
  "availability": "preview",
  "request": {
    "additionalProperties": false,
    "properties": {
      "recall_id": {
        "title": "Recall Id",
        "type": "string"
      },
      "product_limit": {
        "default": 100,
        "maximum": 100,
        "minimum": 1,
        "title": "Product Limit",
        "type": "integer"
      },
      "product_cursor": {
        "type": "string",
        "title": "Product Cursor"
      }
    },
    "required": [
      "recall_id"
    ],
    "title": "RecallLookupRequest",
    "type": "object"
  },
  "response": {
    "$defs": {
      "PageMeta": {
        "additionalProperties": false,
        "properties": {
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "next_cursor": {
            "type": "string",
            "title": "Next Cursor"
          },
          "total": {
            "type": "integer",
            "title": "Total"
          },
          "total_relation": {
            "const": "lower_bound",
            "type": "string",
            "title": "Total Relation"
          }
        },
        "required": [
          "has_more",
          "limit"
        ],
        "title": "PageMeta",
        "type": "object"
      },
      "RecallProduct": {
        "additionalProperties": false,
        "properties": {
          "recall_number": {
            "type": "string",
            "title": "Recall Number"
          },
          "product_description": {
            "type": "string",
            "title": "Product Description"
          },
          "classification": {
            "type": "string",
            "title": "Classification"
          },
          "enforcement_status_as_published": {
            "type": "string",
            "title": "Enforcement Status As Published"
          },
          "report_date": {
            "type": "string",
            "title": "Report Date"
          },
          "initiated_date": {
            "type": "string",
            "title": "Initiated Date"
          },
          "termination_date": {
            "type": "string",
            "title": "Termination Date"
          },
          "reason": {
            "type": "string",
            "title": "Reason"
          },
          "recalling_firm": {
            "type": "string",
            "title": "Recalling Firm"
          },
          "product_quantity": {
            "type": "string",
            "title": "Product Quantity"
          },
          "code_information": {
            "type": "string",
            "title": "Code Information"
          },
          "distribution": {
            "type": "string",
            "title": "Distribution"
          },
          "affected_ndcs": {
            "items": {
              "type": "string"
            },
            "title": "Affected Ndcs",
            "type": "array"
          },
          "source_url": {
            "type": "string",
            "title": "Source Url"
          }
        },
        "title": "RecallProduct",
        "type": "object"
      }
    },
    "additionalProperties": false,
    "properties": {
      "recall_id": {
        "title": "Recall Id",
        "type": "string"
      },
      "event_id": {
        "type": "string",
        "title": "Event Id"
      },
      "recalling_firm": {
        "type": "string",
        "title": "Recalling Firm"
      },
      "classifications": {
        "items": {
          "type": "string"
        },
        "title": "Classifications",
        "type": "array"
      },
      "enforcement_status_as_published": {
        "type": "string",
        "title": "Enforcement Status As Published"
      },
      "reason": {
        "type": "string",
        "title": "Reason"
      },
      "report_date": {
        "type": "string",
        "title": "Report Date"
      },
      "initiated_date": {
        "type": "string",
        "title": "Initiated Date"
      },
      "products": {
        "items": {
          "$ref": "#/$defs/RecallProduct"
        },
        "title": "Products",
        "type": "array"
      },
      "products_page": {
        "$ref": "#/$defs/PageMeta"
      },
      "source_url": {
        "type": "string",
        "title": "Source Url"
      }
    },
    "required": [
      "recall_id"
    ],
    "title": "Recall",
    "type": "object"
  }
}
