Structure
SchemaField
struct SchemaFieldTopics
Initializers
init(from: any Decoder) throwsinit(name: String, type: SchemaValueKind, required: Bool, description: String, defaultValue: JSONValue?, allowedValues: [JSONValue], example: JSONValue?, envVar: String?, isSecret: Bool, notes: [String], properties: [SchemaFieldNode], items: SchemaFieldNode?, allowsAdditionalProperties: Bool, additionalProperties: SchemaFieldNode?)
Instance Properties
let additionalProperties: SchemaFieldNode?var additionalPropertyValue: SchemaField?let allowedValues: [JSONValue]let allowsAdditionalProperties: Boollet defaultValue: JSONValue?let description: Stringlet envVar: String?let example: JSONValue?let isSecret: Boolvar itemValue: SchemaField?let items: SchemaFieldNode?let name: Stringlet notes: [String]let properties: [SchemaFieldNode]var propertyValues: [SchemaField]let required: Boollet type: SchemaValueKind
Type Methods
static func any(String, required: Bool, description: String, example: JSONValue?, notes: [String]) -> SchemaFieldstatic func array(String, required: Bool, description: String, defaultValue: JSONValue?, example: JSONValue?, notes: [String], items: SchemaField) -> SchemaFieldstatic func boolean(String, required: Bool, description: String, defaultValue: JSONValue?, example: JSONValue?, notes: [String]) -> SchemaFieldstatic func integer(String, required: Bool, description: String, defaultValue: JSONValue?, example: JSONValue?, notes: [String]) -> SchemaFieldstatic func number(String, required: Bool, description: String, defaultValue: JSONValue?, example: JSONValue?, notes: [String]) -> SchemaFieldstatic func object(String, required: Bool, description: String, example: JSONValue?, envVar: String?, isSecret: Bool, notes: [String], properties: [SchemaField], allowsAdditionalProperties: Bool, additionalProperties: SchemaField?) -> SchemaFieldstatic func string(String, required: Bool, description: String, defaultValue: JSONValue?, allowedValues: [String], example: JSONValue?, envVar: String?, isSecret: Bool, notes: [String]) -> SchemaField
Default Implementations
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.EquatableSwift.HashableSwift.SendableSwift.SendableMetatype