Represents all possible JSON Schema types in the normalized OpenAPI format.
This is a discriminated union - check the type property or use type
guards to narrow to specific schema types.
Unlike raw JSON Schema, this format:
Uses oneOf instead of anyOf for union types
Separates IArray (homogeneous) from ITuple (heterogeneous)
Normalizes nullable types to oneOf with null schema
JSON Schema type for emended OpenAPI v3.1.
Represents all possible JSON Schema types in the normalized OpenAPI format. This is a discriminated union - check the
typeproperty or use type guards to narrow to specific schema types.Unlike raw JSON Schema, this format:
oneOfinstead ofanyOffor union typesIArray(homogeneous) fromITuple(heterogeneous)oneOfwith null schema