Normalise Draft 04 exclusiveMinimum/exclusiveMaximum from boolean
to number form, plus the other Draft 04 translations applied to a
single node.
In Draft 04:
exclusiveMinimum: true + minimum: 5 → value must be > 5
exclusiveMinimum: false (or absent) + minimum: 5 → value must be >= 5
In Draft 06+:
exclusiveMinimum: 5 → value must be > 5 (no separate minimum)
minimum: 5 → value must be >= 5
The transform converts boolean form to number form so the walker can
treat exclusiveMinimum/exclusiveMaximum uniformly as numbers.
This function preserves the no-context signature for the OpenAPI 3.0
and Swagger 2.0 normalisers that compose it directly. The JSON Schema
normalisation path uses the internal normaliseDraft04NodeWithContext
helper via deepNormaliseWithContext to thread diagnostics.
Normalise Draft 04
exclusiveMinimum/exclusiveMaximumfrom boolean to number form, plus the other Draft 04 translations applied to a single node.In Draft 04:
exclusiveMinimum: true+minimum: 5→ value must be > 5exclusiveMinimum: false(or absent) +minimum: 5→ value must be >= 5In Draft 06+:
exclusiveMinimum: 5→ value must be > 5 (no separateminimum)minimum: 5→ value must be >= 5The transform converts boolean form to number form so the walker can treat
exclusiveMinimum/exclusiveMaximumuniformly as numbers.This function preserves the no-context signature for the OpenAPI 3.0 and Swagger 2.0 normalisers that compose it directly. The JSON Schema normalisation path uses the internal
normaliseDraft04NodeWithContexthelper viadeepNormaliseWithContextto thread diagnostics.