Attribute · Ara
DefaultAttribute
The schema default of a field: a number, bool or string, or a vector's components.
public sealed class DefaultAttribute : AttributeConstructors
DefaultAttribute
public DefaultAttribute(params object[] values);The schema default of a field: a number, bool or string, or a vector's components.
Properties
Values
public object[] Values { get; }The value, or a vector's components.
Json
public string Json { get; init; }Schema JSON for a null, collection or nested-record default; overrides Values.