<PackageReference Include="System.Text.Json" Version="9.0.0" />

JsonSchemaExporterContext

Defines the context for the generated JSON schema for a particular node in a type graph.
public JsonTypeInfo BaseTypeInfo { get; }

public ReadOnlySpan<string> Path { get; }

The path to the current node in the generated JSON schema.

The JsonPropertyInfo if the schema is being generated for a property.

public JsonTypeInfo TypeInfo { get; }

The JsonTypeInfo for the type being processed.