Microsoft.DeviceRegistry schemaRegistries/schemas

Bicep resource definition

The schemaRegistries/schemas resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DeviceRegistry/schemaRegistries/schemas resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DeviceRegistry/schemaRegistries/schemas@2026-11-02-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    description: 'string'
    displayName: 'string'
    format: 'string'
    schemaType: 'string'
    tags: {
      {customized property}: 'string'
    }
  }
}

Property Values

Microsoft.DeviceRegistry/schemaRegistries/schemas

Name Description Value
name The resource name string

Constraints:
Min length = 3
Max length = 64
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: schemaRegistries
properties The resource-specific properties for this resource. SchemaProperties

SchemaProperties

Name Description Value
description Human-readable description of the schema. string
displayName Human-readable display name. string
format Format of the schema. 'Delta/1.0'
'JsonLD/1.1'
'JsonSchema/draft-07' (required)
schemaType Type of the schema. 'MessageSchema'
'ThingDescription'
'ThingModel' (required)
tags Schema tags. SchemaPropertiesTags

SchemaPropertiesTags

Name Description Value

ARM template resource definition

The schemaRegistries/schemas resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.DeviceRegistry/schemaRegistries/schemas resource, add the following JSON to your template.

{
  "type": "Microsoft.DeviceRegistry/schemaRegistries/schemas",
  "apiVersion": "2026-11-02-preview",
  "name": "string",
  "properties": {
    "description": "string",
    "displayName": "string",
    "format": "string",
    "schemaType": "string",
    "tags": {
      "{customized property}": "string"
    }
  }
}

Property Values

Microsoft.DeviceRegistry/schemaRegistries/schemas

Name Description Value
apiVersion The api version '2026-11-02-preview'
name The resource name string

Constraints:
Min length = 3
Max length = 64
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
properties The resource-specific properties for this resource. SchemaProperties
type The resource type 'Microsoft.DeviceRegistry/schemaRegistries/schemas'

SchemaProperties

Name Description Value
description Human-readable description of the schema. string
displayName Human-readable display name. string
format Format of the schema. 'Delta/1.0'
'JsonLD/1.1'
'JsonSchema/draft-07' (required)
schemaType Type of the schema. 'MessageSchema'
'ThingDescription'
'ThingModel' (required)
tags Schema tags. SchemaPropertiesTags

SchemaPropertiesTags

Name Description Value

Terraform (AzAPI provider) resource definition

The schemaRegistries/schemas resource type can be deployed with operations that target:

  • Resource groups For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DeviceRegistry/schemaRegistries/schemas resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DeviceRegistry/schemaRegistries/schemas@2026-11-02-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      description = "string"
      displayName = "string"
      format = "string"
      schemaType = "string"
      tags = {
        {customized property} = "string"
      }
    }
  }
}

Property Values

Microsoft.DeviceRegistry/schemaRegistries/schemas

Name Description Value
name The resource name string

Constraints:
Min length = 3
Max length = 64
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: schemaRegistries
properties The resource-specific properties for this resource. SchemaProperties
type The resource type "Microsoft.DeviceRegistry/schemaRegistries/schemas@2026-11-02-preview"

SchemaProperties

Name Description Value
description Human-readable description of the schema. string
displayName Human-readable display name. string
format Format of the schema. 'Delta/1.0'
'JsonLD/1.1'
'JsonSchema/draft-07' (required)
schemaType Type of the schema. 'MessageSchema'
'ThingDescription'
'ThingModel' (required)
tags Schema tags. SchemaPropertiesTags

SchemaPropertiesTags

Name Description Value