Skip to content

Commit 5347f29

Browse files
committed
Deduplicate URIs in the URN tests.
1 parent 87cf325 commit 5347f29

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

tests/draft2019-09/ref.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@
670670
"description": "simple URN base URI with JSON pointer",
671671
"schema": {
672672
"$comment": "URIs do not have to have HTTP(s) schemes",
673-
"$id": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed",
673+
"$id": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed",
674674
"properties": {
675675
"foo": {"$ref": "#/$defs/bar"}
676676
},
@@ -807,9 +807,9 @@
807807
{
808808
"description": "URN base URI with URN and anchor ref",
809809
"schema": {
810-
"$id": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed",
810+
"$id": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed",
811811
"properties": {
812-
"foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#something"}
812+
"foo": {"$ref": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something"}
813813
},
814814
"$defs": {
815815
"bar": {

tests/draft2020-12/ref.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@
670670
"description": "simple URN base URI with JSON pointer",
671671
"schema": {
672672
"$comment": "URIs do not have to have HTTP(s) schemes",
673-
"$id": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed",
673+
"$id": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed",
674674
"properties": {
675675
"foo": {"$ref": "#/$defs/bar"}
676676
},
@@ -807,9 +807,9 @@
807807
{
808808
"description": "URN base URI with URN and anchor ref",
809809
"schema": {
810-
"$id": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed",
810+
"$id": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed",
811811
"properties": {
812-
"foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#something"}
812+
"foo": {"$ref": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something"}
813813
},
814814
"$defs": {
815815
"bar": {

tests/draft6/ref.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@
636636
"description": "simple URN base URI with JSON pointer",
637637
"schema": {
638638
"$comment": "URIs do not have to have HTTP(s) schemes",
639-
"$id": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed",
639+
"$id": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed",
640640
"properties": {
641641
"foo": {"$ref": "#/definitions/bar"}
642642
},
@@ -759,9 +759,9 @@
759759
{
760760
"description": "URN base URI with URN and anchor ref",
761761
"schema": {
762-
"$id": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed",
762+
"$id": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed",
763763
"properties": {
764-
"foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#something"}
764+
"foo": {"$ref": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something"}
765765
},
766766
"$defs": {
767767
"bar": {

tests/draft7/ref.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@
672672
"description": "simple URN base URI with JSON pointer",
673673
"schema": {
674674
"$comment": "URIs do not have to have HTTP(s) schemes",
675-
"$id": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed",
675+
"$id": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed",
676676
"properties": {
677677
"foo": {"$ref": "#/definitions/bar"}
678678
},
@@ -795,9 +795,9 @@
795795
{
796796
"description": "URN base URI with URN and anchor ref",
797797
"schema": {
798-
"$id": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed",
798+
"$id": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed",
799799
"properties": {
800-
"foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#something"}
800+
"foo": {"$ref": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something"}
801801
},
802802
"$defs": {
803803
"bar": {

0 commit comments

Comments
 (0)