{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://imde.io/schema/azlon/1.1/keyinfo/keyinfo.json",
  "title": "DataTopic_KeyInfo",
  "$comment": "Source XSD: https://imde.io/schema/azlon/1.1/keyinfo/keyinfo.xsd",
  "$ref": "#/$defs/KeyInfo",
  "$defs": {
    "IdentifiersType": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Identifier": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IdentifierType"
          },
          "minItems": 1
        }
      },
      "required": [
        "Identifier"
      ]
    },
    "IdentifierType": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Value": {
          "type": "string"
        },
        "Type": {
          "$ref": "https://imde.io/schema/azlon/1.0/codelists/identifierType.json"
        }
      },
      "required": [
        "Value",
        "Type"
      ]
    },
    "ClassificationIdentifierType": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Value": {
          "type": "string"
        },
        "Type": {
          "$ref": "https://imde.io/schema/azlon/1.0/codelists/classificationIdentifierType.json"
        }
      },
      "required": [
        "Value",
        "Type"
      ]
    },
    "BrandIdentifiersType": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Identifier": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BrandIdentifierType"
          },
          "minItems": 1
        }
      },
      "required": [
        "Identifier"
      ]
    },
    "BrandIdentifierType": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Value": {
          "type": "string"
        },
        "Type": {
          "$ref": "https://imde.io/schema/azlon/1.0/codelists/brandIdentifierType.json"
        }
      },
      "required": [
        "Value",
        "Type"
      ]
    },
    "SerieIdentifiersType": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Identifier": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SerieIdentifierType"
          },
          "minItems": 1
        }
      },
      "required": [
        "Identifier"
      ]
    },
    "SerieIdentifierType": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Value": {
          "type": "string"
        },
        "Type": {
          "$ref": "https://imde.io/schema/azlon/1.0/codelists/serieIdentifierType.json"
        }
      },
      "required": [
        "Value",
        "Type"
      ]
    },
    "MasterIdentifiersType": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Identifier": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MasterIdentifierType"
          },
          "minItems": 1
        }
      },
      "required": [
        "Identifier"
      ]
    },
    "MasterIdentifierType": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Value": {
          "type": "string"
        },
        "Type": {
          "$ref": "https://imde.io/schema/azlon/1.0/codelists/masterIdentifierType.json"
        }
      },
      "required": [
        "Value",
        "Type"
      ]
    },
    "KeyInfo": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "ItemIdentifiers": {
          "$ref": "#/$defs/IdentifiersType"
        },
        "Languages": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "Language": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "Culture": {
                    "$ref": "https://imde.io/schema/azlon/1.0/codelists/culture.json"
                  },
                  "IsDefault": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "Culture"
                ]
              }
            }
          }
        },
        "Name": {
          "$ref": "#/$defs/Name"
        },
        "PartNumber": {
          "type": "string"
        },
        "Classifications": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "Classification": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "Identifier": {
                    "$ref": "#/$defs/ClassificationIdentifierType"
                  },
                  "Name": {
                    "$ref": "#/$defs/Name"
                  }
                },
                "required": [
                  "Identifier"
                ]
              }
            }
          }
        },
        "Brand": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "Identifiers": {
              "$ref": "#/$defs/BrandIdentifiersType"
            },
            "Name": {
              "type": "string"
            },
            "Serie": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "Identifiers": {
                  "$ref": "#/$defs/SerieIdentifiersType"
                },
                "Name": {
                  "type": "string"
                }
              },
              "required": [
                "Name"
              ]
            }
          },
          "required": [
            "Name"
          ]
        },
        "Master": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "Identifiers": {
              "$ref": "#/$defs/MasterIdentifiersType"
            },
            "Name": {
              "$ref": "#/$defs/Name"
            }
          }
        }
      }
    },
    "Name": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Translation": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Translation"
          },
          "minItems": 1
        }
      },
      "required": [
        "Translation"
      ]
    },
    "Translation": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "Value": {
          "type": "string"
        },
        "Culture": {
          "$ref": "https://imde.io/schema/azlon/1.0/codelists/culture.json"
        }
      },
      "required": [
        "Value",
        "Culture"
      ]
    }
  }
}
