{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-mysql/json-schema/microsoft-azure-mysql-administrator-list-result-schema.json",
  "title": "AdministratorListResult",
  "description": "A List of azure ad administrators.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-mysql-azureadadministrators-api-openapi.yml#/components/schemas/AdministratorListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of azure ad administrator of a server.",
      "items": {
        "$ref": "#/$defs/AzureADAdministrator"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link used to get the next page of operations."
    }
  },
  "$defs": {
    "AdministratorProperties": {
      "type": "object",
      "description": "The properties of an administrator.",
      "properties": {
        "administratorType": {
          "$ref": "#/$defs/AdministratorType",
          "description": "Type of the sever administrator."
        },
        "login": {
          "type": "string",
          "description": "Login name of the server administrator."
        },
        "sid": {
          "type": "string",
          "description": "SID (object ID) of the server administrator."
        },
        "tenantId": {
          "type": "string",
          "description": "Tenant ID of the administrator."
        },
        "identityResourceId": {
          "type": "string",
          "description": "The resource id of the identity used for AAD Authentication."
        }
      }
    },
    "AdministratorType": {
      "type": "string",
      "description": "Type of the sever administrator.",
      "enum": [
        "ActiveDirectory"
      ],
      "x-ms-enum": {
        "name": "AdministratorType",
        "modelAsString": true,
        "values": [
          {
            "name": "ActiveDirectory",
            "value": "ActiveDirectory"
          }
        ]
      }
    },
    "AzureADAdministrator": {
      "type": "object",
      "description": "Represents a Administrator.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/AdministratorProperties",
          "description": "The properties of an administrator.",
          "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",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    }
  }
}