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
Our bowtie report shows that for Draft 3 and Draft 4 has some failing tests with regards to the format attribute.
Some example of these failing test case are:
Test: all string formats ignore integers
Case: email format
Case: ipv4 format
Case: ipv6 format
Draft 3 specification
From the spec we can read the following
7.1. Foreword
Structural validation alone may be insufficient to validate that an instance meets all the requirements of an application. The "format" keyword is defined to allow interoperable semantic validation for a fixed subset of values which are accurately described by authoritative resources, be they RFCs or other external specifications.
The value of this keyword is called a format attribute. It MUST be a string. A format attribute can generally only validate a given set of instance types. If the type of the instance to validate is not in this set, validation for this format attribute and instance SHOULD succeed.
The text was updated successfully, but these errors were encountered:
This property defines the type of data, content type, or microformat to be expected in the instance property values. A format attribute MAY be one of the values listed below, and if so, SHOULD adhere to the semantics describing for the format. A format SHOULD only be used to give meaning to primitive types (string, integer, number, or boolean).
Validators MAY (but are not required to) validate that the instance values conform to a format.
I don't read anything similar to If the type of the instance to validate is not in this set, validation for this format attribute and instance SHOULD succeed. from Draft-04.
However, the bowtie tests suppose that the rule from Draft-04 should apply to Draft-03 as well.
Our bowtie report shows that for Draft 3 and Draft 4 has some failing tests with regards to the format attribute.
Some example of these failing test case are:
Draft 3 specification
From the spec we can read the following
The text was updated successfully, but these errors were encountered: