diff --git a/jsonschema-validation.xml b/jsonschema-validation.xml index 5455d7d2..75c84d8b 100644 --- a/jsonschema-validation.xml +++ b/jsonschema-validation.xml @@ -12,6 +12,7 @@ + ]> @@ -1025,15 +1026,24 @@ -
+
- This attribute applies to string instances. + These attributes apply to string instances. - A string instance is valid against this attribute if it - is a valid JSON string representation of a JSON Pointer, - according to - RFC 6901, section 5 + + + A string instance is valid against this attribute if it + is a valid JSON string representation of a JSON Pointer, + according to RFC 6901, section 5. + + + A string instance is valid against this attribute if it is a valid + Relative JSON Pointer. + + + To allow for both absolute and relative JSON Pointers, use "anyOf" or + "oneOf" to indicate support for either format.
@@ -1214,6 +1224,7 @@ &RFC6901; &RFC7159; &RFC5322; + &I-D.luff-relative-json-pointer; diff --git a/links.json b/links.json index a02f3382..b72b90d8 100644 --- a/links.json +++ b/links.json @@ -15,7 +15,7 @@ "type": "string", "anyOf": [ { "format": "json-pointer" }, - { "pattern": "^[0-9]" } + { "format": "relative-json-pointer" } ] } }, @@ -35,7 +35,7 @@ "type": "string", "anyOf": [ { "format": "json-pointer" }, - { "pattern": "^[0-9]" } + { "format": "relative-json-pointer" } ] }, "title": {