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
@@ -386,14 +386,15 @@ of this property MAY be a string, indicating the require property name. Or the v
386
386
</section>
387
387
388
388
<sectiontitle="format"><t>This property indicates 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 give meaning to primitive types (string, integer, number, or boolean). Validators are not required to validate that the instance values conform to a format. The following formats are defined:</t>
389
+
<t>
389
390
<list>
390
-
</t><t>date-time - This SHOULD be a date in ISO 8601 format of YYYY-MM-DDThh:mm:ssZ in UTC time. This is the recommended form of date/timestamp.
391
+
<t>date-time - This SHOULD be a date in ISO 8601 format of YYYY-MM-DDThh:mm:ssZ in UTC time. This is the recommended form of date/timestamp.
391
392
</t><t>date - This SHOULD be a date in the format of YYYY-MM-DD. It is recommended that you use the "date-time" format instead of "date" unless you need to transfer only the date part.
392
393
</t><t>time - This SHOULD be a time in the format of hh:mm:ss. It is recommended that you use the "date-time" format instead of "time" unless you need to transfer only the time part.
393
394
</t><t>utc-millisec - This SHOULD be the difference, measured in milliseconds, between the specified time and midnight, 00:00 of January 1, 1970 UTC. The value SHOULD be a number (integer or float).
394
395
</t><t>regex - A regular expression, following the regular expression specification from ECMA 262/Perl 5.
395
-
</t><t>color - This is a CSS color (like "#FF0000" or "red"), based on &css21.
396
-
</t><t>style - This is a CSS style definition (like "color: red; background-color:#FFF"), based on &css21.
396
+
</t><t>color - This is a CSS color (like "#FF0000" or "red"), based on <xreftarget='W3C.CR-CSS21-20070719'>CSS 2.1</xref>.
397
+
</t><t>style - This is a CSS style definition (like "color: red; background-color:#FFF"), based on <xreftarget='W3C.CR-CSS21-20070719'>CSS 2.1</xref>.
397
398
</t><t>phone - This SHOULD be a phone number (format MAY follow E.123).
398
399
</t><t>uri - This value SHOULD be a URI..
399
400
</t><t>email - This SHOULD be an email address.
@@ -402,6 +403,7 @@ of this property MAY be a string, indicating the require property name. Or the v
402
403
</t><t>host-name - This SHOULD be a host-name.</t>
403
404
<t>Additional custom formats MAY be defined with a URL to a definition of the format.</t>
404
405
</list>
406
+
</t>
405
407
</section>
406
408
<sectiontitle="maxDecimal">
407
409
<t>This indicates the maximum number of decimal points.</t>
@@ -512,7 +514,7 @@ The value of the "rel" property indicates the name of the
512
514
relation to the target resource. The relation to the target SHOULD be interpreted as specifically from the instance object that the schema (or sub-schema) applies to, not just the top level resource that contains the object within its hierarchy. If a resource JSON representation contains a sub object with a property interpreted as a link, that sub-object holds the relation with the target. A relation to target from the top level resource MUST be indicated with the schema describing the top level JSON representation.
513
515
</t>
514
516
<t>
515
-
Relationship definitions SHOULD NOT be media type dependent, and users are encouraged to utilize existing accepted relation definitions, including those in existing relation registries (see &rfc4287). However, we define these relation here for clarity of normative interpretation within the context of JSON hyper schema defined relations:
517
+
Relationship definitions SHOULD NOT be media type dependent, and users are encouraged to utilize existing accepted relation definitions, including those in existing relation registries (see <xreftarget='RFC4287'>RFC 4287</xref>). However, we define these relation here for clarity of normative interpretation within the context of JSON hyper schema defined relations:
516
518
<list>
517
519
<t>
518
520
self - If the relation value is "self", when this property is encountered in
0 commit comments