JSON schema defines properties for type and some value formats. The code should be flexible enough so it is possible to define custom constraints and add it to a property. Custom constraints should carry a label that can be added in e.g. the description