{
  "$schema" : "https://json-schema.org/draft/2019-09/schema",
  "type" : "object",
  "properties" : {
    "hazmat" : {
      "type" : "object",
      "properties" : {
        "component" : {
          "type" : "string",
          "description" : "Component information"
        },
        "pittograms" : {
          "description" : "List of pittograms (max 4)",
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "GHS01", "GHS02", "GHS03", "GHS04", "GHS05", "GHS06", "GHS07", "GHS08", "GHS09" ]
          }
        },
        "signal_word" : {
          "type" : "string",
          "enum" : [ "Danger", "Warning" ],
          "description" : "Signal word"
        },
        "statements" : {
          "description" : "List of statements(max 8)",
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "H200", "H201", "H202", "H203", "H204", "H205", "H220", "H221", "H222", "H223", "H224", "H225", "H226", "H228", "H240", "H241", "H242", "H250", "H251", "H252", "H260", "H261", "H270", "H271", "H272", "H280", "H281", "H290", "H300", "H301", "H302", "H304", "H310", "H311", "H312", "H314", "H315", "H317", "H318", "H319", "H330", "H331", "H332", "H334", "H335", "H336", "H340", "H341", "H350", "H351", "H360", "H361", "H362", "H370", "H371", "H372", "H373", "H400", "H410", "H411", "H412", "H413", "EUH 201", "EUH 201A", "EUH 202", "EUH 203", "EUH 204", "EUH 205", "EUH 206", "EUH 207", "EUH 209", "EUH 209A", "EUH 210", "EUH 401" ]
          }
        }
      },
      "description" : "hazard materials informations"
    },
    "manufacturer" : {
      "type" : "object",
      "properties" : {
        "city_name" : {
          "type" : "string",
          "description" : "city name"
        },
        "company_name" : {
          "type" : "string",
          "description" : "company name"
        },
        "country" : {
          "type" : "string",
          "description" : "country (ISO 3166-1 alpha-2)"
        },
        "email" : {
          "type" : "string",
          "description" : "email"
        },
        "phone" : {
          "type" : "string",
          "description" : "phone"
        },
        "postal_code" : {
          "type" : "string",
          "description" : "postal code"
        },
        "province" : {
          "type" : "string",
          "description" : "province"
        },
        "street1" : {
          "type" : "string",
          "description" : "street 1"
        },
        "street2" : {
          "type" : "string",
          "description" : "street 2"
        }
      },
      "description" : "manufacturer information"
    },
    "product_safety" : {
      "type" : "object",
      "properties" : {
        "component" : {
          "type" : "string",
          "description" : "Component information"
        },
        "pittograms" : {
          "description" : "List of pittograms (max 2)",
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "CE_MARK", "NOT_SUITABLE_FOR_YOUNG_CHILDREN" ]
          }
        },
        "statements" : {
          "description" : "List of statements(max 8)",
          "type" : "array",
          "items" : {
            "type" : "string",
            "enum" : [ "ZERO_TO_THREE_YEAR_OLD_RESTRICTION", "CHILDREN_RESTRICTION_WARNING", "ROUND_BATTERY_WARNING", "USE_UNDER_ADULT_SUPERVISION_WARNING", "USE_WITH_PROTECTION_NOT_ON_PUBLIC_ROAD_WARNING", "CONTAIN_A_TOY_ADULT_SUPERVISION_SUGGESTED", "REMOVE_WHEN_CHILD_START_TO_CRAWL", "USE_IN_THE_WATER_UNDER_SUPERVISION", "TOY_IS_NOT_PROTECTIVE_EQUIPMENT", "CONTAIN_FRAGRANCE_CAN_CAUSE_ALLERGIES", "FOR_DOMESTIC_USE_ONLY" ]
          }
        }
      },
      "description" : "product safety informations"
    },
    "responsible_persons" : {
      "type" : "object",
      "properties" : {
        "person_list" : {
          "description" : "list of responsible person (max 5)",
          "type" : "array",
          "items" : {
            "type" : "object",
            "properties" : {
              "city_name" : {
                "type" : "string",
                "description" : "city name"
              },
              "company_name" : {
                "type" : "string",
                "description" : "company name"
              },
              "country" : {
                "type" : "string",
                "description" : "country (ISO 3166-1 alpha-2)"
              },
              "email" : {
                "type" : "string",
                "description" : "email"
              },
              "is_enabled" : {
                "type" : "boolean"
              },
              "phone" : {
                "type" : "string",
                "description" : "phone"
              },
              "postal_code" : {
                "type" : "string",
                "description" : "postal code"
              },
              "province" : {
                "type" : "string",
                "description" : "province"
              },
              "street1" : {
                "type" : "string",
                "description" : "street 1"
              },
              "street2" : {
                "type" : "string",
                "description" : "street 2"
              }
            }
          }
        }
      },
      "description" : "responsible persons"
    }
  }
}
