4 writes to Pattern
Microsoft.Extensions.AI.Abstractions (4)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (4)
612
Pattern
= @"^-?(\d+\.)?\d{2}:\d{2}:\d{2}(\.\d{1,7})?$",
625
Pattern
= @"^\d+(\.\d+){1,3}$",
668
new JsonSchema { Type = schemaType,
Pattern
= pattern },
674
return new JsonSchema { Type = schemaType,
Pattern
= pattern };
3 references to Pattern
Microsoft.Extensions.AI.Abstractions (3)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (3)
295
Count(
Pattern
!= null);
371
if (
Pattern
!= null)
373
objSchema.Add(JsonSchemaConstants.PatternPropertyName,
Pattern
);