<commit_before>﻿{
    "id": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Template",
    "description": "An Azure deployment template",
    "type": "object",
    "properties": {
        "$schema": {
            "type": "string",
            "description": "JSON schema reference"
        },
        "contentVersion": {
            "type": "string",
            "pattern": "(^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+$)",
            "description": "A 4 number format for the version number of this template file. For example, 1.0.0.0"
        },
        "variables": {
            "type": "object",
            "description": "Variable definitions"
        },
        "parameters": {
            "type": "object",
            "description": "Input parameter definitions",
            "additionalProperties": {
                "$ref": "#/definitions/parameter"
            }
        },
        "resources": {
            "type": "array",
            "description": "Collection of resources to be deployed",
            "items": {
                "oneOf": [
                    {
                        "$ref": "#/definitions/deployments"
                    },
                    {
                        "allOf": [
                            {
                                "$ref": "#/definitions/resourceBase"
                            },
                            {
                                "oneOf": [
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/definitions/sites" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/definitions/certificates" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/definitions/serverfarms" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/definitions/servers" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/definitions/databases" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/definitions/firewallrules" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/definitions/alertrules" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/definitions/components" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/definitions/autoscalesettings" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/definitions/webtests" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-02-26/microsoft.visualstudio.json#/definitions/account" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Cache.json#/definitions/Redis" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.BizTalkServices.json#/definitions/BizTalk" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.BizTalkServices.json#/definitions/HybridConnection" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-08-01/Microsoft.Scheduler.json#/definitions/jobCollections" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/SuccessBricks.ClearDB.json#/definitions/databases" },
                                    { "$ref": "#/definitions/resourceGeneric" }
                                ]
                            }
                        ]
                    }
                ]
            },
            "minItems": 1
        },
        "outputs": {
            "type": "object",
            "description": "Output parameter definitions",
            "additionalProperties": {
                "$ref": "#/definitions/output"
            }
        }<commit_msg>Add new resource types to preview template schema.<commit_after>﻿{
    "id": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Template",
    "description": "An Azure deployment template",
    "type": "object",
    "properties": {
        "$schema": {
            "type": "string",
            "description": "JSON schema reference"
        },
        "contentVersion": {
            "type": "string",
            "pattern": "(^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+$)",
            "description": "A 4 number format for the version number of this template file. For example, 1.0.0.0"
        },
        "variables": {
            "type": "object",
            "description": "Variable definitions"
        },
        "parameters": {
            "type": "object",
            "description": "Input parameter definitions",
            "additionalProperties": {
                "$ref": "#/definitions/parameter"
            }
        },
        "resources": {
            "type": "array",
            "description": "Collection of resources to be deployed",
            "items": {
                "oneOf": [
                    {
                        "$ref": "#/definitions/deployments"
                    },
                    {
                        "allOf": [
                            {
                                "$ref": "#/definitions/resourceBase"
                            },
                            {
                                "oneOf": [
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/definitions/sites" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/definitions/certificates" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json#/definitions/serverfarms" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/definitions/servers" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/definitions/databases" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Sql.json#/definitions/firewallrules" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/definitions/alertrules" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/definitions/components" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/definitions/autoscalesettings" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/definitions/webtests" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-02-26/microsoft.visualstudio.json#/definitions/account" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.Cache.json#/definitions/Redis" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.BizTalkServices.json#/definitions/BizTalk" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/Microsoft.BizTalkServices.json#/definitions/HybridConnection" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-08-01/Microsoft.Scheduler.json#/definitions/jobCollections" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2014-04-01/SuccessBricks.ClearDB.json#/definitions/databases" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-03-01-preview/Microsoft.AppService.json#/definitions/apiapps" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-03-01-preview/Microsoft.AppService.json#/definitions/registrations" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-03-01-preview/Microsoft.AppService.json#/definitions/gateways" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-04-01/Microsoft.NotificationHubs.json#/definitions/notificationHubs" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-04-01/Microsoft.NotificationHubs.json#/definitions/namespaces" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-08-01-preview/Microsoft.DataConnect.json#/definitions/connectionManagers" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Network.json#/definitions/publicIPAddresses" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Network.json#/definitions/virtualNetworks" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Network.json#/definitions/loadBalancers" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Network.json#/definitions/networkSecurityGroups" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Network.json#/definitions/networkInterfaces" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Storage.json#/definitions/storageAccounts" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Compute.json#/definitions/availabilitySets" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Compute.json#/definitions/extensions" },
                                    { "$ref": "http://schema.management.azure.com/schemas/2015-08-01/Microsoft.Compute.json#/definitions/virtualMachines" }
                                    { "$ref": "#/definitions/resourceGeneric" }
                                ]
                            }
                        ]
                    }
                ]
            },
            "minItems": 1
        },
        "outputs": {
            "type": "object",
            "description": "Output parameter definitions",
            "additionalProperties": {
                "$ref": "#/definitions/output"
            }
        }
{'fraction_non_alphanumeric': 0.1563047285464098, 'fraction_numerical': 0.03712784588441331, 'mean_word_length': 1.5150847830874257, 'pattern_counts': {'":': 121, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 49, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5825219', 'n_tokens_mistral': 3325, 'n_tokens_neox': 2940, 'n_words': 283}