15 references to String
Microsoft.Extensions.AI.Abstractions (15)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (13)
601
[typeof(char)] = _ => new JsonSchema { Type = JsonSchemaType.
String
, MinLength = 1, MaxLength = 1 },
602
[typeof(string)] = _ => new JsonSchema { Type = JsonSchemaType.
String
},
603
[typeof(byte[])] = _ => new JsonSchema { Type = JsonSchemaType.
String
},
604
[typeof(Memory<byte>)] = _ => new JsonSchema { Type = JsonSchemaType.
String
},
605
[typeof(ReadOnlyMemory<byte>)] = _ => new JsonSchema { Type = JsonSchemaType.
String
},
606
[typeof(DateTime)] = _ => new JsonSchema { Type = JsonSchemaType.
String
, Format = "date-time" },
607
[typeof(DateTimeOffset)] = _ => new JsonSchema { Type = JsonSchemaType.
String
, Format = "date-time" },
611
Type = JsonSchemaType.
String
,
619
[typeof(Guid)] = _ => new JsonSchema { Type = JsonSchemaType.
String
, Format = "uuid" },
620
[typeof(Uri)] = _ => new JsonSchema { Type = JsonSchemaType.
String
, Format = "uri" },
624
Type = JsonSchemaType.
String
,
659
schemaType |= JsonSchemaType.
String
;
749
return new() { Type = JsonSchemaType.
String
};
src\Shared\JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (2)
481
JsonSchemaType.
String
,
524
JsonSchemaType.
String
=> "string",