Class SourceField
- Namespace
- Honua.Sdk.Abstractions.Features
- Assembly
- Honua.Sdk.Abstractions.dll
Field descriptor used by SourceSchema.
public sealed record SourceField : IEquatable<SourceField>
- Inheritance
-
SourceField
- Implements
- Inherited Members
Properties
Alias
Human-readable field alias or title.
public string? Alias { get; init; }
Property Value
DefaultValue
Provider-native default value, when advertised.
public JsonElement? DefaultValue { get; init; }
Property Value
Domain
Provider-native field domain metadata, when advertised.
public JsonElement? Domain { get; init; }
Property Value
DomainInfo
Structured field domain metadata, when advertised.
public FeatureFieldDomain? DomainInfo { get; init; }
Property Value
Editable
Whether the field can be edited by clients.
public bool? Editable { get; init; }
Property Value
- bool?
Length
Maximum length for string fields.
public int? Length { get; init; }
Property Value
- int?
Name
Field name.
public required string Name { get; init; }
Property Value
Nullable
Whether the field accepts null values.
public bool? Nullable { get; init; }
Property Value
- bool?
Required
Whether the field is required for writes.
public bool? Required { get; init; }
Property Value
- bool?
Type
Provider or canonical field type.
public string? Type { get; init; }