NormalizationContext: {
    depth: number;
    filterOptions: GraphTraversalFilterOptions;
    rootSchema: JSONSchema7;
    visitedRefs: Set<string>;
}

Context object passed through the normalization process

Type declaration

  • depth: number

    Current recursion depth

  • filterOptions: GraphTraversalFilterOptions

    Filter options to apply during normalization

  • rootSchema: JSONSchema7

    The root schema used for resolving $refs

  • visitedRefs: Set<string>

    Set of visited $ref paths to prevent infinite loops