Microsoft Azure · Schema

TemplateSpec

Template Spec object.

Microsoft AzureCloudCloud ComputingEnterpriseInfrastructure-as-a-ServicePlatform-as-a-ServiceT1

Properties

Name Type Description
id string String Id used to locate any resource on Azure.
name string Name of this resource.
type string Type of this resource.
systemData object Azure Resource Manager metadata containing createdBy and modifiedBy information.
location string The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.
properties object Template Spec properties.
tags object Resource tags.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-template-spec-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-template-spec-schema.json",
  "title": "TemplateSpec",
  "description": "Template Spec object.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-template-specs-api-openapi.yml#/components/schemas/TemplateSpec",
  "required": [
    "location"
  ],
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/AzureResourceBase"
    }
  ],
  "properties": {
    "location": {
      "type": "string",
      "x-ms-mutability": [
        "read",
        "create"
      ],
      "description": "The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations."
    },
    "properties": {
      "description": "Template Spec properties.",
      "x-ms-client-flatten": true,
      "$ref": "#/$defs/TemplateSpecProperties"
    },
    "tags": {
      "type": "object",
      "description": "Resource tags.",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "AzureResourceBase": {
      "x-ms-azure-resource": true,
      "type": "object",
      "description": "Common properties for all Azure resources.",
      "properties": {
        "id": {
          "readOnly": true,
          "type": "string",
          "description": "String Id used to locate any resource on Azure."
        },
        "name": {
          "readOnly": true,
          "type": "string",
          "description": "Name of this resource."
        },
        "type": {
          "readOnly": true,
          "type": "string",
          "description": "Type of this resource."
        },
        "systemData": {
          "readOnly": true,
          "type": "object",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "$ref": "#/$defs/systemData"
        }
      }
    },
    "TemplateSpecProperties": {
      "type": "object",
      "description": "Template Spec properties.",
      "properties": {
        "description": {
          "type": "string",
          "maxLength": 4096,
          "description": "Template Spec description."
        },
        "displayName": {
          "type": "string",
          "maxLength": 64,
          "description": "Template Spec display name."
        },
        "metadata": {
          "type": "object",
          "description": "The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs."
        },
        "versions": {
          "type": "object",
          "readOnly": true,
          "description": "High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'.",
          "additionalProperties": {
            "$ref": "#/$defs/TemplateSpecVersionInfo"
          }
        }
      }
    },
    "TemplateSpecVersionInfo": {
      "type": "object",
      "description": "High-level information about a Template Spec version.",
      "properties": {
        "description": {
          "type": "string",
          "readOnly": true,
          "description": "Template Spec version description."
        },
        "timeCreated": {
          "type": "string",
          "readOnly": true,
          "format": "date-time",
          "description": "The timestamp of when the version was created."
        },
        "timeModified": {
          "type": "string",
          "readOnly": true,
          "format": "date-time",
          "description": "The timestamp of when the version was last modified."
        }
      }
    },
    "systemData": {
      "description": "Metadata pertaining to creation and last modification of the resource.",
      "type": "object",
      "readOnly": true,
      "properties": {
        "createdBy": {
          "type": "string",
          "description": "The identity that created the resource."
        },
        "createdByType": {
          "type": "string",
          "description": "The type of identity that created the resource.",
          "enum": [
            "User",
            "Application",
            "ManagedIdentity",
            "Key"
          ],
          "x-ms-enum": {
            "name": "createdByType",
            "modelAsString": true
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of resource creation (UTC)."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "The identity that last modified the resource."
        },
        "lastModifiedByType": {
          "type": "string",
          "description": "The type of identity that last modified the resource.",
          "enum": [
            "User",
            "Application",
            "ManagedIdentity",
            "Key"
          ],
          "x-ms-enum": {
            "name": "createdByType",
            "modelAsString": true
          }
        },
        "lastModifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of resource last modification (UTC)"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-template-spec"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.