4 writes to Pattern
System.Text.Json (4)
System\Text\Json\Serialization\Converters\Value\JsonPrimitiveConverter.cs (2)
62new JsonSchema { Type = schemaType, Pattern = pattern }, 68return new JsonSchema { Type = schemaType, Pattern = pattern };
System\Text\Json\Serialization\Converters\Value\TimeSpanConverter.cs (1)
101Pattern = @"^-?(\d+\.)?\d{2}:\d{2}:\d{2}(\.\d{1,7})?$"
System\Text\Json\Serialization\Converters\Value\VersionConverter.cs (1)
134Pattern = @"^\d+(\.\d+){1,3}$",
3 references to Pattern
System.Text.Json (3)
System\Text\Json\Schema\JsonSchema.cs (3)
115Count(Pattern != null); 180if (Pattern != null) 182objSchema.Add(PatternPropertyName, Pattern);