{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-datastore-resource-arm-paginated-result-schema.json",
  "title": "DatastoreResourceArmPaginatedResult",
  "description": "A paginated list of Datastore entities.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-datastores-api-openapi.yml#/components/schemas/DatastoreResourceArmPaginatedResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The Datastore items on this page",
      "items": {
        "$ref": "#/$defs/Datastore"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "CredentialsType": {
      "type": "string",
      "description": "Enum to determine the datastore credentials type.",
      "enum": [
        "AccountKey",
        "Certificate",
        "None",
        "Sas",
        "ServicePrincipal"
      ],
      "x-ms-enum": {
        "name": "CredentialsType",
        "modelAsString": true,
        "values": [
          {
            "name": "AccountKey",
            "value": "AccountKey"
          },
          {
            "name": "Certificate",
            "value": "Certificate"
          },
          {
            "name": "None",
            "value": "None"
          },
          {
            "name": "Sas",
            "value": "Sas"
          },
          {
            "name": "ServicePrincipal",
            "value": "ServicePrincipal"
          }
        ]
      }
    },
    "Datastore": {
      "type": "object",
      "description": "Azure Resource Manager resource envelope.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/DatastoreProperties",
          "description": "[Required] Additional attributes of the entity."
        }
      },
      "required": [
        "properties"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "DatastoreCredentials": {
      "type": "object",
      "description": "Base definition for datastore credentials.",
      "properties": {
        "credentialsType": {
          "$ref": "#/$defs/CredentialsType",
          "description": "[Required] Credential type used to authentication with storage."
        }
      },
      "required": [
        "credentialsType"
      ]
    },
    "DatastoreProperties": {
      "type": "object",
      "description": "Base definition for datastore contents configuration.",
      "properties": {
        "credentials": {
          "$ref": "#/$defs/DatastoreCredentials",
          "description": "[Required] Account credentials."
        },
        "datastoreType": {
          "$ref": "#/$defs/DatastoreType",
          "description": "Enum to determine the datastore contents type."
        },
        "isDefault": {
          "type": "boolean",
          "description": "Readonly property to indicate if datastore is the workspace default datastore",
          "readOnly": true
        }
      },
      "required": [
        "credentials",
        "datastoreType"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/ResourceBase"
        }
      ]
    },
    "DatastoreType": {
      "type": "string",
      "description": "Enum to determine the datastore contents type.",
      "enum": [
        "AzureBlob",
        "AzureDataLakeGen1",
        "AzureDataLakeGen2",
        "AzureFile",
        "OneLake"
      ],
      "x-ms-enum": {
        "name": "DatastoreType",
        "modelAsString": true,
        "values": [
          {
            "name": "AzureBlob",
            "value": "AzureBlob"
          },
          {
            "name": "AzureDataLakeGen1",
            "value": "AzureDataLakeGen1"
          },
          {
            "name": "AzureDataLakeGen2",
            "value": "AzureDataLakeGen2"
          },
          {
            "name": "AzureFile",
            "value": "AzureFile"
          },
          {
            "name": "OneLake",
            "value": "OneLake"
          }
        ]
      }
    },
    "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",
          "description": "Fully qualified resource ID for the resource. Ex - /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",
          "type": "object",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "ResourceBase": {
      "type": "object",
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "The asset description text."
        },
        "properties": {
          "type": [
            "object",
            "null"
          ],
          "description": "The asset property dictionary.",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "tags": {
          "type": [
            "object",
            "null"
          ],
          "description": "Tag dictionary. Tags can be added, removed, and updated.",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    }
  }
}