Class CreateSchemaVersionAttributes
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Generated
- Assembly
- Azure.Iot.Operations.Services.dll
Request payload for creating a Schema version.
public class CreateSchemaVersionAttributes : IJsonOnDeserialized, IJsonOnSerializing
- Inheritance
-
CreateSchemaVersionAttributes
- Implements
- Inherited Members
Properties
Ancestor
The versionId of this version's ancestor if it has an ancestor.
[JsonPropertyName("ancestor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
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
Description
[JsonPropertyName("description")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Description { get; set; }
Property Value
Documentation
[JsonPropertyName("documentation")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Documentation { 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
GroupId
[JsonPropertyName("groupId")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string GroupId { get; set; }
Property Value
Labels
[JsonPropertyName("labels")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public Dictionary<string, string> Labels { get; set; }
Property Value
Name
[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Name { get; set; }
Property Value
SchemaDocument
Base64-encoded schema document content.
[JsonPropertyName("schemaDocument")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public byte[] SchemaDocument { get; set; }
Property Value
- byte[]
SchemaId
[JsonPropertyName("schemaId")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string SchemaId { get; set; }