Class SchemaVersion
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Models
- Assembly
- Azure.Iot.Operations.Services.dll
A specific Version of a Schema. Self-contained: combines the generic Version fields and the schema-specific fields, with integer-typed VersionId and Ancestor.
public class SchemaVersion
- Inheritance
-
SchemaVersion
- Inherited Members
Properties
Ancestor
The versionId of this Version's ancestor, or this Version's versionId if it has no ancestor.
public required ulong Ancestor { get; set; }
Property Value
CompatibilityValidated
When compatibility validation is enabled, indicates whether the server has validated that the Version conforms to the rules defined by its Schema's compatibility attribute.
public ValidationStatus? CompatibilityValidated { get; set; }
Property Value
ContentType
The media type of the entity as defined by RFC9110.
public string? ContentType { get; set; }
Property Value
CreatedAt
The date/time of when the entity was created.
public required DateTime CreatedAt { get; set; }
Property Value
Description
A human-readable summary of the purpose of the entity.
public string? Description { get; set; }
Property Value
Document
The raw schema document for this Version.
public required byte[] Document { get; set; }
Property Value
- byte[]
DocumentHash
The hash of the schema document for this Version.
public required string DocumentHash { get; set; }
Property Value
Documentation
A URL to additional information about this entity.
public string? Documentation { get; set; }
Property Value
Epoch
A numeric value used to determine whether an entity has been modified.
public required ulong Epoch { get; set; }
Property Value
Extensions
Extension-specific attributes.
public required Dictionary<string, byte[]> Extensions { get; set; }
Property Value
- Dictionary<string, byte[]>
Format
Identifies the format of the schema document.
public required SchemaFormat Format { get; set; }
Property Value
FormatValidated
When format validation is enabled, indicates whether the server has validated that the Version conforms to the rules defined by its Format.
public ValidationStatus? FormatValidated { get; set; }
Property Value
Icon
A URL to a graphical icon for the owning entity.
public string? Icon { get; set; }
Property Value
IsDefault
Indicates whether this Version is the default Version of the owning Schema.
public required bool IsDefault { get; set; }
Property Value
Labels
A mechanism in which additional metadata about the entity can be stored without changing the model definition of the entity. Labels can be used for querying.
public required List<Label> Labels { get; set; }
Property Value
ModifiedAt
The date/time of when the entity was last updated.
public required DateTime ModifiedAt { get; set; }
Property Value
Name
Human-readable name.
public string? Name { get; set; }
Property Value
ResourceId
Schema (Resource) identifier.
public required string ResourceId { get; set; }
Property Value
VersionId
Version identifier.
public required ulong VersionId { get; set; }
Property Value
XId
Full XID path.
public required string XId { get; set; }