<commit_before>{
  "id": "http://schema.management.azure.com/schemas/2016-03-01/Microsoft.ServiceFabric.json#",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Microsoft.ServiceFabric",
  "description": "Microsoft ServiceFabric Resource Types",
  "resourceDefinitions": {
    "clusters": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "Microsoft.ServiceFabric/clusters"
          ]
        },
        "apiVersion": {
          "enum": [
            "2016-03-01"
          ]
        },
        "properties": {
          "type": "object",
          "properties": {
            "VMImage": {
              "type": "string",
              "description": "Microsoft.ServiceFabric/clusters: The name of VM image VMSS has been configured with. Generic names such as Windows or Linux can be used"
            },
            "HttpApplicationGatewayCertificate": {
              "oneOf": [
                {
                  "$ref": "#/definitions/CertificateDescription"
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "description": "Microsoft.ServiceFabric/clusters: The server certificate used by http application gateway."
            },
            "AzureActiveDirectory": {
              "oneOf": [
                {
                  "$ref": "#/definitions/AzureActiveDirectory"
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "description": "Microsoft.ServiceFabric/clusters: The settings to enable AAD authentication on the cluster."
            },
            "ReliabilityLevel": {
              "oneOf": [
                {
                  "enum": [
                    "Invalid",
                    "Bronze",
                    "Silver",
                    "Gold",
                    "Platinum"
                  ]
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "description": "Microsoft.ServiceFabric/clusters: This level is used to set the number of replicas of the system services. Details: http://azure.microsoft.com/en-us/documentation/articles/service-fabric-cluster-capacity/#the-reliability-characteristics-of-the-cluster"
            },
            "NodeTypes": {
              "oneOf": [
                {
                  "type": "array",
                  "items": {
                    "$ref": "#/definitions/NodeTypes"
                  }
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "minLength": 1,
              "maxLength": 2147483647,
              "description": "Microsoft.ServiceFabric/clusters: Defines the node types of the cluster. Details: http://azure.microsoft.com/en-us/documentation/articles/service-fabric-cluster-capacity"
            },
            "ManagementEndpoint": {
              "type": "string",
              "minLength": 1,
              "description": "Microsoft.ServiceFabric/clusters: The http management endpoint of the cluster."
            },
            "Certificate": {
              "oneOf": [
                {
                  "$ref": "#/definitions/CertificateDescription"
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "description": "Microsoft.ServiceFabric/clusters: The certificate to use for node to node communication within cluster, the server certificate of the cluster and the default admin client."
            },
            "ClientCertificateThumbprints": {
              "oneOf": [
                {
                  "type": "array",
                  "items": {
                    "$ref": "#/definitions/ClientCertificateThumbprint"
                  }
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "description": "Microsoft.ServiceFabric/clusters: List of client certificates to white-list based on thumbprints."<commit_msg>Fix array item count validation for cluster schema<commit_after>{
  "id": "http://schema.management.azure.com/schemas/2016-03-01/Microsoft.ServiceFabric.json#",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Microsoft.ServiceFabric",
  "description": "Microsoft ServiceFabric Resource Types",
  "resourceDefinitions": {
    "clusters": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "Microsoft.ServiceFabric/clusters"
          ]
        },
        "apiVersion": {
          "enum": [
            "2016-03-01"
          ]
        },
        "properties": {
          "type": "object",
          "properties": {
            "VMImage": {
              "type": "string",
              "description": "Microsoft.ServiceFabric/clusters: The name of VM image VMSS has been configured with. Generic names such as Windows or Linux can be used."
            },
            "HttpApplicationGatewayCertificate": {
              "oneOf": [
                {
                  "$ref": "#/definitions/CertificateDescription"
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "description": "Microsoft.ServiceFabric/clusters: The server certificate used by http application gateway."
            },
            "AzureActiveDirectory": {
              "oneOf": [
                {
                  "$ref": "#/definitions/AzureActiveDirectory"
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "description": "Microsoft.ServiceFabric/clusters: The settings to enable AAD authentication on the cluster."
            },
            "ReliabilityLevel": {
              "oneOf": [
                {
                  "enum": [
                    "Invalid",
                    "Bronze",
                    "Silver",
                    "Gold",
                    "Platinum"
                  ]
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "description": "Microsoft.ServiceFabric/clusters: This level is used to set the number of replicas of the system services. Details: http://azure.microsoft.com/en-us/documentation/articles/service-fabric-cluster-capacity/#the-reliability-characteristics-of-the-cluster"
            },
            "NodeTypes": {
              "oneOf": [
                {
                  "type": "array",
                  "items": {
                    "$ref": "#/definitions/NodeTypes"
                  },
                  "minItems": 1                  
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],              
              "description": "Microsoft.ServiceFabric/clusters: The node types of the cluster. Details: http://azure.microsoft.com/en-us/documentation/articles/service-fabric-cluster-capacity"
            },
            "ManagementEndpoint": {
              "type": "string",
              "minLength": 1,
              "description": "Microsoft.ServiceFabric/clusters: The http management endpoint of the cluster."
            },
            "Certificate": {
              "oneOf": [
                {
                  "$ref": "#/definitions/CertificateDescription"
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "description": "Microsoft.ServiceFabric/clusters: The certificate to use for node to node communication within cluster, the server certificate of the cluster and the default admin client."
            },
            "ClientCertificateThumbprints": {
              "oneOf": [
                {
                  "type": "array",
                  "items": {
                    "$ref": "#/definitions/ClientCertificateThumbprint"
                  }
                },
                {
                  "$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
              ],
              "description": "Microsoft.ServiceFabric/clusters: List of client certificates to whitelist based on thumbprints."
{'fraction_non_alphanumeric': 0.12113484220592924, 'fraction_numerical': 0.01551376049304006, 'mean_word_length': 1.4004080591685795, 'pattern_counts': {'":': 115, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3393237', 'n_tokens_mistral': 2467, 'n_tokens_neox': 2235, 'n_words': 405}