Companion

Properties

Link copied to clipboard

Prefix marking the payload keys captured into extensions.

Functions

Link copied to clipboard

A homogeneous array where every element matches items.

Link copied to clipboard

A boolean value (true or false).

Link copied to clipboard

Parses a schema from JSON, ignoring unknown keys other than x-* extensions.

Link copied to clipboard

A whole-number value (a JSON number with no fractional part).

Link copied to clipboard

A floating-point value.

Link copied to clipboard
fun obj(properties: Map<String, AirshipJsonSchema>? = null, required: List<String>? = null, description: String? = null): AirshipJsonSchema

A JSON object with declared properties.

Link copied to clipboard
fun string(choices: List<String>? = null, description: String? = null): AirshipJsonSchema

A string value, optionally constrained to a fixed set of choices.