System.Text.Json.Schema.JsonSchema
namespace System.Text.Json.Schema
{
internal sealed class JsonSchema
{
public bool IsTrue { get; }
public bool IsFalse { get; }
public string Ref { get; set; }
public string Comment { get; set; }
public JsonSchemaType Type { get; set; }
public string Format { get; set; }
public string Pattern { get; set; }
public JsonNode Constant { get; set; }
public List<KeyValuePair<string, JsonSchema>> Properties { get; set; }
public List<string> Required { get; set; }
public JsonSchema Items { get; set; }
public JsonSchema AdditionalProperties { get; set; }
public JsonArray Enum { get; set; }
public JsonSchema Not { get; set; }
public List<JsonSchema> AnyOf { get; set; }
public bool HasDefaultValue { get; set; }
public JsonNode DefaultValue { get; set; }
public int? MinLength { get; set; }
public int? MaxLength { get; set; }
public JsonSchemaExporterContext? ExporterContext { get; set; }
public int KeywordCount { get; }
public static JsonSchema CreateFalseSchema();
public static JsonSchema CreateTrueSchema();
public JsonSchema();
public void MakeNullable();
public JsonNode ToJsonNode(JsonSchemaExporterOptions options);
public static void EnsureMutable(ref JsonSchema schema);
public static JsonNode MapSchemaType(JsonSchemaType schemaType);
}
}