{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-data-boundary-definition-schema.json",
  "title": "DataBoundaryDefinition",
  "description": "A data boundary definition.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-databoundaries-api-openapi.yml#/components/schemas/DataBoundaryDefinition",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/DataBoundaryProperties",
      "description": "Data boundary properties"
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "DataBoundary": {
      "type": "string",
      "description": "The data boundary definition.",
      "enum": [
        "NotDefined",
        "Global",
        "EU"
      ],
      "x-ms-enum": {
        "name": "DataBoundary",
        "modelAsString": true,
        "values": [
          {
            "name": "NotDefined",
            "value": "NotDefined",
            "description": "NotDefined"
          },
          {
            "name": "Global",
            "value": "Global",
            "description": "Global"
          },
          {
            "name": "EU",
            "value": "EU",
            "description": "EU"
          }
        ]
      }
    },
    "DataBoundaryProperties": {
      "type": "object",
      "description": "Data boundary properties",
      "properties": {
        "dataBoundary": {
          "$ref": "#/$defs/DataBoundary",
          "description": "The data boundary definition.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "Denotes the state of provisioning.",
          "readOnly": true
        }
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "Denotes the state of provisioning.",
      "enum": [
        "Accepted",
        "Running",
        "Creating",
        "Canceled",
        "Failed",
        "Succeeded",
        "Updating"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Accepted",
            "value": "Accepted",
            "description": "Accepted"
          },
          {
            "name": "Running",
            "value": "Running",
            "description": "Running"
          },
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Creating"
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Canceled"
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Updating"
          }
        ]
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}