Skip to content

DereferencedJSONSchema_ArrayContext

mattpolzin edited this page Oct 1, 2020 · 4 revisions

DereferencedJSONSchema.ArrayContext

The context that only applies to .array schemas.

public struct ArrayContext: Equatable

Inheritance

Equatable

Initializers

init?(_:)

public init?(_ arrayContext: JSONSchema.ArrayContext)

Properties

items

A JSON Type Node that describes the type of each element in the array.

let items: DereferencedJSONSchema?

maxItems

Maximum number of items in array.

let maxItems: Int?

minItems

Minimum number of items in array. Defaults to 0.

var minItems: Int

uniqueItems

Setting to true indicates all elements of the array are expected to be unique. Defaults to false.

var uniqueItems: Bool
Types
Protocols
Global Functions
Extensions
Clone this wiki locally