17 references to ConvertSchemaToObject
Microsoft.Extensions.AI.Abstractions (17)
Utilities\AIJsonUtilities.Schema.Create.cs (17)
324JsonObject obj = ConvertSchemaToObject(ref schema); 379ConvertSchemaToObject(ref schema)[DefaultPropertyName] = defaultValueNode; 385ConvertSchemaToObject(ref schema).InsertAtStart(DescriptionPropertyName, (JsonNode)localDescription); 391ConvertSchemaToObject(ref schema).InsertAtStart(SchemaPropertyName, (JsonNode)SchemaKeywordUri); 429ConvertSchemaToObject(ref schema)[TitlePropertyName] ??= displayNameAttribute.DisplayName; 436ConvertSchemaToObject(ref schema)[FormatPropertyName] ??= "email"; 442ConvertSchemaToObject(ref schema)[FormatPropertyName] ??= "uri"; 448ConvertSchemaToObject(ref schema)[PatternPropertyName] ??= regexAttribute.Pattern; 454JsonObject obj = ConvertSchemaToObject(ref schema); 467JsonObject obj = ConvertSchemaToObject(ref schema); 481JsonObject obj = ConvertSchemaToObject(ref schema); 495JsonObject obj = ConvertSchemaToObject(ref schema); 601ConvertSchemaToObject(ref schema)[ContentEncodingPropertyName] ??= "base64"; 607JsonObject obj = ConvertSchemaToObject(ref schema); 631JsonObject obj = ConvertSchemaToObject(ref schema); 644JsonObject obj = ConvertSchemaToObject(ref schema); 666JsonObject obj = ConvertSchemaToObject(ref schema);