Contents

init(name:description:schema:isOptional:)

Creates a property referencing a dynamic schema.

Declaration

init(name: String, description: String? = nil, schema: DynamicGenerationSchema, isOptional: Bool = false)

Parameters

  • name:

    A name for this property.

  • description:

    An optional natural language description of this property’s contents.

  • schema:

    A schema representing the type this property contains.

  • isOptional:

    Determines if this property is required or not.