{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pillwise-dev/json-schema/pillwise-dev-recall-schema.json",
  "title": "Recall",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pillwise-dev-openapi.json#/components/schemas/Recall",
  "type": "object",
  "required": [
    "id",
    "classification",
    "drug_ids"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "classification": {
      "type": "string",
      "enum": [
        "I",
        "II",
        "III"
      ]
    },
    "status": {
      "type": "string"
    },
    "recall_number": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "recalling_firm": {
      "type": "string"
    },
    "report_date": {
      "type": "string"
    },
    "initiation_date": {
      "type": "string"
    },
    "product_description": {
      "type": "string"
    },
    "ndc11": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "product_ndc": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "drug_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}