class SchemaNormalizer

Constants

private TYPE_KEYWORDS

Type-specific constraint keywords the deserializer rejects on a multi-type union.

private UNSUPPORTED

Keywords the deserializer cannot represent and that are dropped.

private TYPES

The JSON Schema type strings the deserializer understands.

private MAX_NODES

The most nodes a single schema may expand to once every "$ref" is inlined.

Methods

static array
normalize(array $schema)

Normalize a tool input schema, projecting root object alternatives into a property map.

Details

at line 54
static array normalize(array $schema)

Normalize a tool input schema, projecting root object alternatives into a property map.

Parameters

array $schema

Return Value

array