17 references to String
System.Text.Json (17)
System\Text\Json\Schema\JsonSchema.cs (2)
293JsonSchemaType.String, 343JsonSchemaType.String => "string",
System\Text\Json\Serialization\Converters\Value\ByteArrayConverter.cs (1)
32internal override JsonSchema? GetSchema(JsonNumberHandling _) => new() { Type = JsonSchemaType.String };
System\Text\Json\Serialization\Converters\Value\CharConverter.cs (1)
65new() { Type = JsonSchemaType.String, MinLength = 1, MaxLength = 1 };
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\EnumConverter.cs (1)
507return new() { Type = JsonSchemaType.String };
System\Text\Json\Serialization\Converters\Value\GuidConverter.cs (1)
34new() { Type = JsonSchemaType.String, Format = "uuid" };
System\Text\Json\Serialization\Converters\Value\JsonPrimitiveConverter.cs (1)
53schemaType |= JsonSchemaType.String;
System\Text\Json\Serialization\Converters\Value\MemoryByteConverter.cs (1)
23internal override JsonSchema? GetSchema(JsonNumberHandling _) => new() { Type = JsonSchemaType.String };
System\Text\Json\Serialization\Converters\Value\ReadOnlyMemoryByteConverter.cs (1)
23internal override JsonSchema? GetSchema(JsonNumberHandling _) => new() { Type = JsonSchemaType.String };
System\Text\Json\Serialization\Converters\Value\StringConverter.cs (1)
56internal override JsonSchema? GetSchema(JsonNumberHandling _) => new() { Type = JsonSchemaType.String };
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\TimeSpanConverter.cs (1)
99Type = JsonSchemaType.String,
System\Text\Json\Serialization\Converters\Value\UriConverter.cs (1)
57new() { Type = JsonSchemaType.String, Format = "uri" };
System\Text\Json\Serialization\Converters\Value\VersionConverter.cs (1)
132Type = JsonSchemaType.String,