Skip to content

Use a https template file schema#

Operational Excellence · All resources · Rule · 2021_09 · Awareness

Use an Azure template file schema with the https scheme.


JSON schemas are used to validate the structure of Azure template files. The JSON schema specification permits schemas to use https or http schemes. When using referencing schemas served by the http scheme redirects to https.

While points to a file. All supported Azure template schemas use the https scheme.


Consider using a schema with the https scheme.


Configure with Azure template#

To define Azure template files that pass this rule:

  • Configure the template schema to a supported schema with the https:// URI prefix, such as

For example:

Azure Template snippet
    "$schema": "",
    "contentVersion": "",
    "parameters": { },
    "functions": [],
    "resources": [ ]