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