{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/base/StructureDefinition-PreQualManufacturer.schema.json",
  "title": "WHO PreQual Manufacturer",
  "description": "Logical model for the manufacturer/applicant organization\nfrom the WHO PreQual API (ProductDetails.ApplicantOrganization).",
  "type": "object",
  "properties": {
    "resourceType": {
      "type": "string",
      "const": "PreQualManufacturer",
      "description": "Resource type identifier for PreQualManufacturer logical model"
    },
    "manufacturerId": {
      "type": "object",
      "description": "Manufacturer organization ID"
    },
    "name": {
      "type": "string",
      "description": "Organization name"
    },
    "addressLine1": {
      "type": "string",
      "description": "Address line 1"
    },
    "city": {
      "type": "string",
      "description": "City"
    },
    "state": {
      "type": "string",
      "description": "State/Province"
    },
    "country": {
      "type": "string",
      "description": "Country"
    },
    "postalCode": {
      "type": "string",
      "description": "Postal code"
    },
    "isoCountryCode": {
      "type": "string",
      "description": "ISO country code"
    },
    "region": {
      "type": "string",
      "description": "WHO region"
    },
    "website": {
      "type": "string",
      "description": "Website URL"
    },
    "organizationReference": {
      "type": "object",
      "description": "FHIR Organization reference"
    }
  },
  "required": [
    "resourceType",
    "name",
    "organizationReference"
  ],
  "resourceDefinition": "http://smart.who.int/pcmt-vaxprequal/StructureDefinition/PreQualManufacturer",
  "fhir:parent": "http://hl7.org/fhir/StructureDefinition/Base"
}