4 writes to Format
Shared (4)
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
Shared (3)
JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (3)
294
Count(
Format
!= null);
366
if (
Format
!= null)
368
objSchema.Add(JsonSchemaConstants.FormatPropertyName,
Format
);