{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
        "ServicePrincipalSchema": {
            "properties": {
                "authority_url": {
                    "title": "authority_url",
                    "type": "string"
                },
                "client_id": {
                    "title": "client_id",
                    "type": "string"
                },
                "client_secret": {
                    "title": "client_secret",
                    "type": "string"
                },
                "resource_url": {
                    "title": "resource_url",
                    "type": "string"
                },
                "tenant_id": {
                    "title": "tenant_id",
                    "type": "string"
                }
            },
            "type": "object",
            "required": [
                "client_id",
                "client_secret",
                "tenant_id"
            ],
            "additionalProperties": false
        },
        "CertificateSchema": {
            "properties": {
                "authority_url": {
                    "title": "authority_url",
                    "type": "string"
                },
                "certificate": {
                    "title": "certificate",
                    "type": "string"
                },
                "client_id": {
                    "title": "client_id",
                    "type": "string"
                },
                "resource_url": {
                    "title": "resource_url",
                    "type": "string"
                },
                "tenant_id": {
                    "title": "tenant_id",
                    "type": "string"
                },
                "thumbprint": {
                    "title": "thumbprint",
                    "type": "string"
                }
            },
            "type": "object",
            "required": [
                "client_id",
                "tenant_id",
                "thumbprint"
            ],
            "additionalProperties": false
        },
        "NoneCredentialsSchema": {
            "properties": {},
            "type": "object",
            "additionalProperties": false
        },
        "AzureDataLakeGen1Schema": {
            "properties": {
                "credentials": {
                    "anyOf": [
                        {
                            "type": "object",
                            "$ref": "#/definitions/ServicePrincipalSchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/CertificateSchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/NoneCredentialsSchema"
                        }
                    ]
                },
                "description": {
                    "title": "description",
                    "type": "string"
                },
                "id": {
                    "title": "id",
                    "type": "string",
                    "readonly": true
                },
                "name": {
                    "title": "name",
                    "type": "string"
                },
                "$schema": {
                    "title": "$schema",
                    "type": "string",
                    "readonly": true
                },
                "store_name": {
                    "title": "store_name",
                    "type": "string"
                },
                "tags": {
                    "title": "tags",
                    "type": "object",
                    "additionalProperties": {
                        "title": "tags",
                        "type": "object",
                        "additionalProperties": {}
                    }
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "azure_data_lake_gen1"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "name",
                "store_name",
                "type"
            ],
            "additionalProperties": false
        }
    },
    "$ref": "#/definitions/AzureDataLakeGen1Schema"
}