Skip to content

Commit

Permalink
Merge pull request #141 from reconciliation-api/39-rfc-6570-fix-examples
Browse files Browse the repository at this point in the history
Change remaining URI templates in examples to RFC6570 syntax
  • Loading branch information
osma authored Oct 5, 2023
2 parents aaf439d + 1fbf4cf commit 75fd676
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
],
"name": "GODOT (Graph of Dated Objects and Texts) Reconciliation Service - Roman Consulates",
"preview": {
"url": "https://godot.date/reconcile/preview={{id}}"
"url": "https://godot.date/reconcile/preview={id}"
},
"view": {
"url": "https://godot.date/id/{{id}}"
"url": "https://godot.date/id/{id}"
}
}
4 changes: 2 additions & 2 deletions draft/examples/manifest/invalid/opencorporates.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"identifierSpace": "http://rdf.freebase.com/ns/type.object.id",
"schemaSpace": "http://rdf.freebase.com/ns/type.object.id",
"view": {
"url": "https://opencorporates.com{{id}}"
"url": "https://opencorporates.com{id}"
},
"preview": {
"url": "https://opencorporates.com{{id}}/preview",
"url": "https://opencorporates.com{id}/preview",
"width": 430,
"height": 300
},
Expand Down
4 changes: 2 additions & 2 deletions draft/examples/manifest/invalid/ror-invalid-view-pattern.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
},
"suggest": {
"entity": {
"flyout_service_path": "/flyout?id=${id}",
"flyout_service_path": "/flyout?id={id}",
"service_path": "/suggest",
"service_url": "https://reconcile.ror.org"
}
},
"preview": {
"width": 400,
"height": 100,
"url": "https://reconcile.ror.org/preview/{{id}}"
"url": "https://reconcile.ror.org/preview/{id}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
"name": "SLUB LOD reconciliation for OpenRefine",
"preview": {
"height": 100,
"url": "http://data.slub-dresden.de/{{id}}.preview",
"url": "http://data.slub-dresden.de/{id}.preview",
"width": 320
},
"schemaSpace": "http://schema.org",
"view": {
"url": "http://data.slub-dresden.de/{{id}}"
"url": "http://data.slub-dresden.de/{id}"
}
}
2 changes: 1 addition & 1 deletion draft/examples/manifest/valid/authentication.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [ "0.2" ],
"view": {
"url": "http://vivo.med.cornell.edu/individual?uri={{id}}"
"url": "http://vivo.med.cornell.edu/individual?uri={id}"
},
"identifierSpace": "http://vivo.med.cornell.edu/individual/",
"name": "VIVO Reconciliation Service",
Expand Down
4 changes: 2 additions & 2 deletions draft/examples/manifest/valid/kew.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"identifierSpace": "http://ipni.org/urn:lsid:ipni.org:names:",
"schemaSpace": "http://rdf.freebase.com/ns/type.object.id",
"view": {
"url": "http://ipni.org/urn:lsid:ipni.org:names:{{id}}"
"url": "http://ipni.org/urn:lsid:ipni.org:names:{id}"
},
"preview": {
"url": "http://ipni.org/urn:lsid:ipni.org:names:{{id}}",
"url": "http://ipni.org/urn:lsid:ipni.org:names:{id}",
"width": 400,
"height": 400
},
Expand Down
2 changes: 1 addition & 1 deletion draft/examples/manifest/valid/lobid-gnd.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
],
"view": {
"url": "https://lobid.org/gnd/{{id}}"
"url": "https://lobid.org/gnd/{id}"
},
"preview": {
"height": 100,
Expand Down
2 changes: 1 addition & 1 deletion draft/examples/manifest/valid/nomisma.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"versions": ["0.2"],
"name": "Nomisma.org",
"view": {
"url": "http://nomisma.org/id/{{id}}"
"url": "http://nomisma.org/id/{id}"
},
"identifierSpace": "http://nomisma.org/id/",
"schemaSpace": "http://nomisma.org/ontology",
Expand Down
2 changes: 1 addition & 1 deletion draft/examples/manifest/valid/occrp.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"identifierSpace": "http://rdf.freebase.com/ns/type.object.id",
"schemaSpace": "http://rdf.freebase.com/ns/type.object.id",
"view": {
"url": "https://aleph.occrp.org/entities/{{id}}"
"url": "https://aleph.occrp.org/entities/{id}"
},
"preview": {
"width": 800,
Expand Down
2 changes: 1 addition & 1 deletion draft/examples/manifest/valid/ordnance-survey.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"identifierSpace": "http://data.ordnancesurvey.co.uk/id/data/code-point-open",
"schemaSpace": "http://data.ordnancesurvey.co.uk/id/data/code-point-open",
"view": {
"url": "{{id}}"
"url": "{+id}"
}
}
2 changes: 1 addition & 1 deletion draft/examples/manifest/valid/vivo-cornell.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": ["0.2"],
"view": {
"url": "http://vivo.med.cornell.edu/individual?uri={{id}}"
"url": "http://vivo.med.cornell.edu/individual?uri={id}"
},
"identifierSpace": "http://vivo.med.cornell.edu/individual/",
"name": "VIVO Reconciliation Service",
Expand Down
2 changes: 1 addition & 1 deletion draft/examples/manifest/valid/wikidata.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}
],
"view": {
"url": "https://www.wikidata.org/wiki/{{id}}"
"url": "https://www.wikidata.org/wiki/{id}"
},
"suggest": {
"type": true,
Expand Down

0 comments on commit 75fd676

Please sign in to comment.