6 writes to Format
System.Text.Json (6)
System\Text\Json\Serialization\Converters\Value\DateOnlyConverter.cs (1)
74internal override JsonSchema? GetSchema(JsonNumberHandling _) => new() { Type = JsonSchemaType.String, Format = "date" };
System\Text\Json\Serialization\Converters\Value\DateTimeConverter.cs (1)
32internal override JsonSchema? GetSchema(JsonNumberHandling _) => new JsonSchema { Type = JsonSchemaType.String, Format = "date-time" };
System\Text\Json\Serialization\Converters\Value\DateTimeOffsetConverter.cs (1)
32internal override JsonSchema? GetSchema(JsonNumberHandling _) => new JsonSchema { Type = JsonSchemaType.String, Format = "date-time" };
System\Text\Json\Serialization\Converters\Value\GuidConverter.cs (1)
34new() { Type = JsonSchemaType.String, Format = "uuid" };
System\Text\Json\Serialization\Converters\Value\TimeOnlyConverter.cs (1)
99internal override JsonSchema? GetSchema(JsonNumberHandling _) => new() { Type = JsonSchemaType.String, Format = "time" };
System\Text\Json\Serialization\Converters\Value\UriConverter.cs (1)
57new() { Type = JsonSchemaType.String, Format = "uri" };
3 references to Format
System.Text.Json (3)
System\Text\Json\Schema\JsonSchema.cs (3)
114Count(Format != null); 175if (Format != null) 177objSchema.Add(FormatPropertyName, Format);