6 writes to Format
Shared (6)
JsonSchemaExporter\JsonSchemaExporter.cs (6)
610[typeof(DateTime)] = _ => new JsonSchema { Type = JsonSchemaType.String, Format = "date-time" }, 611[typeof(DateTimeOffset)] = _ => new JsonSchema { Type = JsonSchemaType.String, Format = "date-time" }, 620[typeof(DateOnly)] = _ => new JsonSchema { Type = JsonSchemaType.String, Format = "date" }, 621[typeof(TimeOnly)] = _ => new JsonSchema { Type = JsonSchemaType.String, Format = "time" }, 623[typeof(Guid)] = _ => new JsonSchema { Type = JsonSchemaType.String, Format = "uuid" }, 624[typeof(Uri)] = _ => new JsonSchema { Type = JsonSchemaType.String, Format = "uri" },
3 references to Format
Shared (3)
JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (3)
294Count(Format != null); 366if (Format != null) 368objSchema.Add(JsonSchemaConstants.FormatPropertyName, Format);