Field
public struct Field : Decodable
A Field describes a single value inside an Entry.
-
The unique identifier of this Field
Declaration
Swift
public let id: String
-
The name of this Field
Declaration
Swift
public let name: String
-
Whether this field is disabled (invisible by default in the UI)
Declaration
Swift
public let disabled: Bool
-
Whether this field is localized (can have different values depending on locale)
Declaration
Swift
public let localized: Bool
-
Whether this field is required (needs to have a value)
Declaration
Swift
public let required: Bool
-
The type of this Field
Declaration
Swift
public let type: FieldType
-
Declaration
Swift
public init(from decoder: Decoder) throws