SwiftextensionGenerativeFunctionsFoundation
extension GenerativeFunctionsFoundation.Schema
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
Members 7
- func
static stringWithPrefix(matching: [String], notMatching: [String]) -> GenerativeFunctionsFoundation.Schema - func
static stringWithPrefix(matching: [String]) -> GenerativeFunctionsFoundation.Schema - func
decodedContent(data: Foundation.Data) throws -> Any - func
value(of: String, for: GenerativeFunctionsFoundation.Generable) -> GenerativeFunctionsFoundation.Generable? - init
init(root: GenerativeFunctionsFoundation.SubSchema, dependencies: [GenerativeFunctionsFoundation.SubSchema]) throws -> GenerativeFunctionsFoundation.Schema - init
init(type: GenerativeFunctionsFoundation.Generable.Type, properties: [GenerativeFunctionsFoundation.Schema.Property]) -> GenerativeFunctionsFoundation.Schema - init
init(type: GenerativeFunctionsFoundation.Generable.Type, description: String?, anyOf: [GenerativeFunctionsFoundation.Generable.Type]) -> GenerativeFunctionsFoundation.Schema
Header
extension GenerativeFunctionsFoundation.Schema { init(root: GenerativeFunctionsFoundation.SubSchema, dependencies: [GenerativeFunctionsFoundation.SubSchema]) throws init(type: any GenerativeFunctionsFoundation.Generable.Type, properties: [GenerativeFunctionsFoundation.Schema.Property]) init(type: any GenerativeFunctionsFoundation.Generable.Type, description: Swift.String?, anyOf: [any GenerativeFunctionsFoundation.Generable.Type]) func decodedContent(data: Foundation.Data) throws -> Any func value(of: Swift.String, for: any GenerativeFunctionsFoundation.Generable) -> (any GenerativeFunctionsFoundation.Generable)? static func stringWithPrefix(matching: [Swift.String], notMatching: [Swift.String]) -> GenerativeFunctionsFoundation.Schema static func stringWithPrefix(matching: [Swift.String]) -> GenerativeFunctionsFoundation.Schema }