You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the spec, "format" should accept any value:
However, to support documentation needs, the format property is an open string-valued property, and can have any value. Formats such as "email", "uuid", and so on, MAY be used even though undefined by this specification. Types that are not accompanied by a format property follow the type definition in the JSON Schema. Tools that do not recognize a specific format MAY default back to the type alone, as if the format is not specified.
However, this will raise: ValueError: 'custom' is not a valid SchemaFormat
Hi,
According to the spec, "format" should accept any value:
However, this will raise:
ValueError: 'custom' is not a valid SchemaFormat
Am I missing something?
Thanks! :)
The text was updated successfully, but these errors were encountered: