GitVersion.Configuration.Attributes Namespace

Class Types

Class Summary
JsonPropertyDefaultAttribute
JsonPropertyFormatAttribute

The format keyword allows for basic semantic identification of certain kinds of string values that are commonly used. For example, because JSON doesn't have a "DateTime" type, dates need to be encoded as strings. format allows the schema author to indicate that the string value should be interpreted as a date. By default, format is just an annotation and does not affect validation.

Optionally, validator implementations can [...] enable format to function as an assertion rather than just an annotation.

GitHub