ReadonlycreateCreates a value getter.
The type of value
The type of data.
An instance of the model that has the data.
ReadonlygetGets available choices for limiting the value of this property.
ReadonlygetGets the configuration passed into the property constructor.
ReadonlygetIf there is a constant value that never changes. (This is used above all else).
ReadonlygetIf there is a default value
ReadonlygetGets the ValueType of the property. Unless custom properties are used, the value is a PropertyType. Otherwise the value could be string for custom types.
ReadonlygetGets a validator for the property. This is not normally used. Instead for validation look at ModelInstance.validate
The getter for the value.
ReadonlygetFunction that exposes a zod schema for this property.
An instance of a property. This is used to describe a property in depth as well as provide functionality like validating values.