<commit_before>{
  "id": "https://schema.management.azure.com/schemas/2018-08-20-preview/Microsoft.HealthcareApis.json#",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Microsoft.HealthcareApis",
  "description": "Microsoft HealthcareApis Resource Types",
  "resourceDefinitions": {
    "services": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 3,
          "maxLength": 24,
          "description": "The name of the service instance."
        },
        "type": {
          "type": "string",
          "enum": [
            "Microsoft.HealthcareApis/services"
          ]
        },
        "apiVersion": {
          "type": "string",
          "enum": [
            "2018-08-20-preview"
          ]
        },
        "kind": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "fhir",
                "fhir-Stu3",
                "fhir-R4"
              ]
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The kind of the service. Valid values are: fhir."
        },
        "location": {
          "type": "string",
          "description": "The resource location."
        },
        "tags": {
          "oneOf": [
            {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The resource tags."
        },
        "etag": {
          "type": "string",
          "description": "An etag associated with the resource, used for optimistic concurrency when editing it."
        },
        "properties": {
          "oneOf": [
            {
              "$ref": "#/definitions/ServicesProperties"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The common properties of a service."
        }
      },
      "required": [
        "name",
        "type",
        "apiVersion",
        "kind",
        "location",
        "properties"
      ],
      "description": "Microsoft.HealthcareApis/services"
    }
  },
  "definitions": {
    "ServiceAccessPolicyEntry": {
      "type": "object",
      "properties": {
        "objectId": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "An object ID that is allowed access to the FHIR service."
        }
      },
      "required": [
        "objectId"
      ],
      "description": "An access policy entry."
    },
    "ServiceCosmosDbConfigurationInfo": {
      "type": "object",
      "properties": {
        "offerThroughput": {
          "oneOf": [
            {
              "type": "integer"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The provisioned throughput for the backing database."
        }
      },
      "description": "The settings for the Cosmos DB database backing the service."
    },
    "ServiceAuthenticationConfigurationInfo": {
      "type": "object",
      "properties": {
        "authority": {
          "oneOf": [
            {
              "type": "string",
              "description": "The authority url for the service"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "readOnly": false
        },
        "audience": {
          "oneOf": [
            {
              "type": "string",
              "description": "The audience url for the service"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "readOnly": false
        },
        "smartProxyEnabled": {
          "oneOf": [
            {
              "type": "boolean",
              "description": "If the SMART on FHIR proxy is enabled"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "readOnly": false
        }
      },
      "description": "Authentication configuration information"
    },
    "ServiceCorsConfigurationInfo": {
      "type": "object",
      "properties": {
        "origins": {
          "readOnly": false,
          "oneOf": [
            {
              "type": "array",
              "description": "The origins to be allowed via CORS.",
              "items": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "An origin for CORS.",
                    "pattern": "^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\\:\\/\\/(?:[a-zA-Z0-9-]+[.]?)+(?:\\:[0-9]{1,5})?|[*]))$"
                  },
                  {
                    "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                  }
                ]
              }
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ]
        },
        "headers": {
          "readOnly": false,
          "oneOf": [
            {
              "type": "array",
              "description": "The headers to be allowed via CORS.",
              "items": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "A header for CORS."
                  },
                  {
                    "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                  }
                ]
              }
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ]
        },
        "methods": {
          "readOnly": false,
          "oneOf": [
            {
              "type": "array",
              "description": "The methods to be allowed via CORS.",
              "items": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "A method for CORS.",
                    "enum": [
                      "DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"
                    ]
                  },
                  {
                    "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                  }
                ]
              }
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ]
        },
        "maxAge": {
          "readOnly": false,
          "oneOf": [
            {
              "type": "integer",
              "description": "The max age to be allowed via CORS.",
              "minimum": 0,
              "maximum": 99999
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ]
        },
        "allowCredentials": {
          "readOnly": false,
          "oneOf": [
            {
              "type": "boolean",
              "description": "If credentials are allowed via CORS."
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ]
        }
      },
      "description": "The settings for the CORS configuration of the service instance."
    },
    "ServicesProperties": {
      "type": "object",
      "properties": {
        "accessPolicies": {
          "oneOf": [
            {
              "type": "array",
              "minItems": 1,
              "items": {
                "$ref": "#/definitions/ServiceAccessPolicyEntry"
              }
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The access policies of the service instance."
        },
        "cosmosDbConfiguration": {
          "oneOf": [
            {
              "$ref": "#/definitions/ServiceCosmosDbConfigurationInfo"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The settings for the Cosmos DB database backing the service."
        },
        "authenticationConfiguration": {
          "oneOf": [
            {
              "$ref": "#/definitions/ServiceAuthenticationConfigurationInfo"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The authentication configuration for the service instance."
        },
        "corsConfiguration": {
            "oneOf": [
                {
                    "$ref": "#/definitions/ServiceCorsConfigurationInfo"
                },
                {
                    "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
            ],
            "description": "The settings for the CORS configuration of the service instance."
        }
      },
      "required": [
        "accessPolicies"
      ],
      "description": "The properties of a service instance."
    }
  }
}
<commit_msg>Change help text for ServiceAccessPolicyEntry<commit_after>{
  "id": "https://schema.management.azure.com/schemas/2018-08-20-preview/Microsoft.HealthcareApis.json#",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Microsoft.HealthcareApis",
  "description": "Microsoft HealthcareApis Resource Types",
  "resourceDefinitions": {
    "services": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 3,
          "maxLength": 24,
          "description": "The name of the service instance."
        },
        "type": {
          "type": "string",
          "enum": [
            "Microsoft.HealthcareApis/services"
          ]
        },
        "apiVersion": {
          "type": "string",
          "enum": [
            "2018-08-20-preview"
          ]
        },
        "kind": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "fhir",
                "fhir-Stu3",
                "fhir-R4"
              ]
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The kind of the service. Valid values are: fhir."
        },
        "location": {
          "type": "string",
          "description": "The resource location."
        },
        "tags": {
          "oneOf": [
            {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The resource tags."
        },
        "etag": {
          "type": "string",
          "description": "An etag associated with the resource, used for optimistic concurrency when editing it."
        },
        "properties": {
          "oneOf": [
            {
              "$ref": "#/definitions/ServicesProperties"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The common properties of a service."
        }
      },
      "required": [
        "name",
        "type",
        "apiVersion",
        "kind",
        "location",
        "properties"
      ],
      "description": "Microsoft.HealthcareApis/services"
    }
  },
  "definitions": {
    "ServiceAccessPolicyEntry": {
      "type": "object",
      "properties": {
        "objectId": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "An Azure AD object ID (User or Apps) that is allowed access to the FHIR service."
        }
      },
      "required": [
        "objectId"
      ],
      "description": "An access policy entry."
    },
    "ServiceCosmosDbConfigurationInfo": {
      "type": "object",
      "properties": {
        "offerThroughput": {
          "oneOf": [
            {
              "type": "integer"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The provisioned throughput for the backing database."
        }
      },
      "description": "The settings for the Cosmos DB database backing the service."
    },
    "ServiceAuthenticationConfigurationInfo": {
      "type": "object",
      "properties": {
        "authority": {
          "oneOf": [
            {
              "type": "string",
              "description": "The authority url for the service"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "readOnly": false
        },
        "audience": {
          "oneOf": [
            {
              "type": "string",
              "description": "The audience url for the service"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "readOnly": false
        },
        "smartProxyEnabled": {
          "oneOf": [
            {
              "type": "boolean",
              "description": "If the SMART on FHIR proxy is enabled"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "readOnly": false
        }
      },
      "description": "Authentication configuration information"
    },
    "ServiceCorsConfigurationInfo": {
      "type": "object",
      "properties": {
        "origins": {
          "readOnly": false,
          "oneOf": [
            {
              "type": "array",
              "description": "The origins to be allowed via CORS.",
              "items": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "An origin for CORS.",
                    "pattern": "^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\\:\\/\\/(?:[a-zA-Z0-9-]+[.]?)+(?:\\:[0-9]{1,5})?|[*]))$"
                  },
                  {
                    "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                  }
                ]
              }
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ]
        },
        "headers": {
          "readOnly": false,
          "oneOf": [
            {
              "type": "array",
              "description": "The headers to be allowed via CORS.",
              "items": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "A header for CORS."
                  },
                  {
                    "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                  }
                ]
              }
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ]
        },
        "methods": {
          "readOnly": false,
          "oneOf": [
            {
              "type": "array",
              "description": "The methods to be allowed via CORS.",
              "items": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "A method for CORS.",
                    "enum": [
                      "DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"
                    ]
                  },
                  {
                    "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                  }
                ]
              }
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ]
        },
        "maxAge": {
          "readOnly": false,
          "oneOf": [
            {
              "type": "integer",
              "description": "The max age to be allowed via CORS.",
              "minimum": 0,
              "maximum": 99999
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ]
        },
        "allowCredentials": {
          "readOnly": false,
          "oneOf": [
            {
              "type": "boolean",
              "description": "If credentials are allowed via CORS."
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ]
        }
      },
      "description": "The settings for the CORS configuration of the service instance."
    },
    "ServicesProperties": {
      "type": "object",
      "properties": {
        "accessPolicies": {
          "oneOf": [
            {
              "type": "array",
              "minItems": 1,
              "items": {
                "$ref": "#/definitions/ServiceAccessPolicyEntry"
              }
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The access policies of the service instance."
        },
        "cosmosDbConfiguration": {
          "oneOf": [
            {
              "$ref": "#/definitions/ServiceCosmosDbConfigurationInfo"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The settings for the Cosmos DB database backing the service."
        },
        "authenticationConfiguration": {
          "oneOf": [
            {
              "$ref": "#/definitions/ServiceAuthenticationConfigurationInfo"
            },
            {
              "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
            }
          ],
          "description": "The authentication configuration for the service instance."
        },
        "corsConfiguration": {
            "oneOf": [
                {
                    "$ref": "#/definitions/ServiceCorsConfigurationInfo"
                },
                {
                    "$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
                }
            ],
            "description": "The settings for the CORS configuration of the service instance."
        }
      },
      "required": [
        "accessPolicies"
      ],
      "description": "The properties of a service instance."
    }
  }
}

{'fraction_non_alphanumeric': 0.14712729304404507, 'fraction_numerical': 0.019368656299469225, 'mean_word_length': 1.294274727622303, 'pattern_counts': {'":': 338, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 42, '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': '3868523', 'n_tokens_mistral': 6008, 'n_tokens_neox': 5656, 'n_words': 923}