AirshipJsonSchema

constructor(type: AirshipJsonSchema.ValueType, description: String? = null, extensions: Map<String, JsonValue> = emptyMap())(source)

Parameters

type

The expected shape of the value.

description

Optional natural-language description, surfaced to the model.

extensions

JSON Schema vendor extensions (x-*) carried verbatim as opaque JSON, so new ones round-trip without parser changes. Keys without the prefix, and keys whose value is null, are dropped; validate ignores the rest — they are metadata for other consumers.