Class SchemaVersionExtensions
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Generated
- Assembly
- Azure.Iot.Operations.Services.dll
Additional fields and field guarantees for the schema extension.
public class SchemaVersionExtensions : IJsonOnDeserialized, IJsonOnSerializing
- Inheritance
-
SchemaVersionExtensions
- Implements
- Inherited Members
Properties
Ancestor
The versionId of this version's ancestor, or this version's versionId if it has no ancestor as an integer. Must match ancestor on the referenced Version entity.
[JsonPropertyName("ancestor")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public ulong Ancestor { get; set; }
Property Value
ContentType
Content type of the schema version.
[JsonPropertyName("contentType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ContentType { get; set; }
Property Value
Format
Schema format identifier, e.g. JsonSchema/draft-07, Protobuf/3.
[JsonPropertyName("format")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Format { get; set; }
Property Value
SchemaDoc
The raw schema document for this version as bytes.
[JsonPropertyName("schemaDoc")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public byte[] SchemaDoc { get; set; }
Property Value
- byte[]
VersionId
Version identifier as an integer. Must match versionId on the referenced Version entity.
[JsonPropertyName("versionId")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public ulong VersionId { get; set; }