Documentation
    Preparing search index...

    Type Alias IJsonSchemaCollection<Version, Types>

    IJsonSchemaCollection: Version extends "3.0"
        ? IJsonSchemaCollection.IV3_0<Types>
        : IJsonSchemaCollection.IV3_1<Types>

    Collection of JSON schemas generated from multiple TypeScript types.

    IJsonSchemaCollection holds JSON schemas for multiple TypeScript types generated at compile time by typia.json.schemas<[T1, T2, ...]>(). The schemas share a common components pool to avoid duplication when types reference each other.

    This is useful when you need schemas for multiple related types and want to share component definitions between them. For single types, use IJsonSchemaUnit instead. For function schemas, see IJsonSchemaApplication.

    The collection contains:

    • schemas: Array of schemas, one per input type
    • components: Shared $ref definitions
    • __types: Phantom property for type inference

    Type Parameters

    • Version extends "3.0" | "3.1" = "3.1"

      OpenAPI version ("3.0" or "3.1")

    • Types = unknown[]

      Tuple of original TypeScript types

    Jeongho Nam - https://github.com/samchon