{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-managed-database-advanced-threat-protection-list-result-schema.json",
  "title": "ManagedDatabaseAdvancedThreatProtectionListResult",
  "description": "The response of a ManagedDatabaseAdvancedThreatProtection list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-manageddatabaseadvancedthreatprotectionsettings-api-openapi.yml#/components/schemas/ManagedDatabaseAdvancedThreatProtectionListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ManagedDatabaseAdvancedThreatProtection items on this page",
      "items": {
        "$ref": "#/$defs/ManagedDatabaseAdvancedThreatProtection"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AdvancedThreatProtectionProperties": {
      "type": "object",
      "description": "Properties of an Advanced Threat Protection state.",
      "properties": {
        "state": {
          "$ref": "#/$defs/AdvancedThreatProtectionState",
          "description": "Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server."
        },
        "creationTime": {
          "type": "string",
          "format": "date-time",
          "description": "Specifies the UTC creation time of the policy.",
          "readOnly": true
        }
      },
      "required": [
        "state"
      ]
    },
    "AdvancedThreatProtectionState": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "ManagedDatabaseAdvancedThreatProtection": {
      "type": "object",
      "description": "A managed database Advanced Threat Protection.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/AdvancedThreatProtectionProperties",
          "description": "Resource properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "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"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    }
  }
}