Table of Contents

Struct SchemaFormat

Namespace
Azure.Iot.Operations.Services.EdgeRegistry.Models
Assembly
Azure.Iot.Operations.Services.dll

Format of a Schema Version document. The known formats mirror those defined by the xRegistry Schema extension; any other identifier can be supplied via Custom(string).

public readonly struct SchemaFormat
Inherited Members

Properties

Avro1110

Avro 1.11.0 format (Avro/1.11.0).

public static SchemaFormat Avro1110 { get; }

Property Value

SchemaFormat

JsonSchemaDraft07

JSON Schema Draft-07 format (JsonSchema/draft-07).

public static SchemaFormat JsonSchemaDraft07 { get; }

Property Value

SchemaFormat

Value

The wire format identifier.

public string Value { get; }

Property Value

string

Methods

Custom(string)

A format identifier not covered by the known formats.

public static SchemaFormat Custom(string format)

Parameters

format string

Returns

SchemaFormat

Operators

implicit operator SchemaFormat(string)

Implicitly treats a string as a (possibly custom) format identifier.

public static implicit operator SchemaFormat(string format)

Parameters

format string

Returns

SchemaFormat