4 writes to Format
Microsoft.Extensions.AI.Abstractions (4)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (4)
606
[typeof(DateTime)] = _ => new JsonSchema { Type = JsonSchemaType.String,
Format
= "date-time" },
607
[typeof(DateTimeOffset)] = _ => new JsonSchema { Type = JsonSchemaType.String,
Format
= "date-time" },
619
[typeof(Guid)] = _ => new JsonSchema { Type = JsonSchemaType.String,
Format
= "uuid" },
620
[typeof(Uri)] = _ => new JsonSchema { Type = JsonSchemaType.String,
Format
= "uri" },
3 references to Format
Microsoft.Extensions.AI.Abstractions (3)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (3)
294
Count(
Format
!= null);
366
if (
Format
!= null)
368
objSchema.Add(JsonSchemaConstants.FormatPropertyName,
Format
);