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

JsonSchemaExporterContext

using System.Runtime.CompilerServices; using System.Text.Json.Serialization.Metadata; namespace System.Text.Json.Schema { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public readonly struct JsonSchemaExporterContext { private readonly string[] _path; public JsonTypeInfo TypeInfo { get; } [System.Runtime.CompilerServices.Nullable(2)] public JsonPropertyInfo PropertyInfo { [System.Runtime.CompilerServices.NullableContext(2)] get; } [System.Runtime.CompilerServices.Nullable(new byte[] { 0, 1 })] public ReadOnlySpan<string> Path { [return: System.Runtime.CompilerServices.Nullable(new byte[] { 0, 1 })] get { return _path; } } internal JsonSchemaExporterContext(JsonTypeInfo typeInfo, JsonPropertyInfo propertyInfo, string[] path) { TypeInfo = typeInfo; PropertyInfo = propertyInfo; _path = path; } } }