init(type:description:representNilExplicitlyInGeneratedContent:properties:)
Creates a schema by providing an array of properties.
Declaration
init(type: any Generable.Type, description: String? = nil, representNilExplicitlyInGeneratedContent explicitNil: Bool, properties: [GenerationSchema.Property])Parameters
- type:
The type this schema represents.
- description:
A natural language description of this schema.
- properties:
An array of properties.