{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/azure-landing-zones-library-architecture-definition/latest.json",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/Azure/Azure-Landing-Zones-Library/main/schemas/architecture_definition.json",
    "sourceSha256": "1adacc90e616aaa1bf0c2733c0af18fee6486ef4dab7ba8f212336ed4bb59249",
    "fileMatch": [
      "*.alz_architecture_definition.json",
      "*.alz_architecture_definition.yaml",
      "*.alz_architecture_definition.yml"
    ],
    "parsers": [
      "json",
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "management_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "archetypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "display_name": {
            "type": "string"
          },
          "exists": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "parent_id": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "required": [
          "archetypes",
          "display_name",
          "exists",
          "id",
          "parent_id"
        ]
      }
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "management_groups",
    "name"
  ]
}
