Skip to content

Commit

Permalink
Merge pull request DSpace#9449 from 4Science/coar-notify-7-refactor-url
Browse files Browse the repository at this point in the history
COAR Notify Protocol refactor: url to ietf:item
  • Loading branch information
tdonohue authored Apr 10, 2024
2 parents 95405d0 + 5a6166a commit 815f2c1
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Citation extends Base {
@JsonProperty("ietf:cite-as")
private String ietfCiteAs;

@JsonProperty("url")
@JsonProperty("ietf:item")
private Url url;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "<<object>>",
"ietf:cite-as": "https://doi.org/10.5555/12345680",
"type": ["sorg:AboutPage"],
"url": {
"ietf:item": {
"id": "https://research-organisation.org/repository/preprint/201203/421/content.pdf",
"mediaType": "application/pdf",
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id_handle": "http://localhost:4000/handle/123456789/1119",
"ietf:cite-as": "https://doi.org/10.5555/12345680",
"type": "sorg:AboutPage",
"url": {
"ietf:item": {
"id": "https://another-research-organisation.org/repository/datasets/item/201203421/data_archive.zip",
"mediaType": "application/zip",
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "<<object>>",
"ietf:cite-as": "https://doi.org/10.5555/12345680",
"type": "sorg:AboutPage",
"url": {
"ietf:item": {
"id": "https://research-organisation.org/repository/preprint/201203/421/content.pdf",
"mediaType": "application/pdf",
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id": "https://overlay-journal.com/articles/00001/",
"ietf:cite-as": "https://doi.org/10.5555/12345680",
"type": "sorg:AboutPage",
"url": {
"ietf:item": {
"id": "https://research-organisation.org/repository/preprint/201203/421/content.pdf",
"mediaType": "application/pdf",
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id": "https://overlay-journal.com/articles/00001/",
"ietf:cite-as": "https://doi.org/10.5555/12345680",
"type": ["sorg:AboutPage"],
"url": {
"ietf:item": {
"id": "https://research-organisation.org/repository/preprint/201203/421/content.pdf",
"mediaType": "application/pdf",
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "<<object>>",
"ietf:cite-as": "https://doi.org/10.5555/12345680",
"type": ["sorg:AboutPage"],
"url": {
"ietf:item": {
"id": "https://research-organisation.org/repository/preprint/201203/421/content.pdf",
"mediaType": "application/pdf",
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id": "<<object_handle>>",
"ietf:cite-as": "https://doi.org/10.5555/12345680",
"type": "sorg:AboutPage",
"url": {
"ietf:item": {
"id": "url.pdf",
"mediaType": "applicationpdf",
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id": "<<object_handle>>",
"ietf:cite-as": "https://doi.org/10.5555/12345680",
"type": "sorg:AboutPage",
"url": {
"ietf:item": {
"id": "url.pdf",
"mediaType": "applicationpdf",
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "<<object>>",
"ietf:cite-as": "https://doi.org/10.5555/12345680",
"type": ["sorg:AboutPage"],
"url": {
"ietf:item": {
"id": "https://research-organisation.org/repository/preprint/201203/421/content.pdf",
"mediaType": "application/pdf",
"type": [
Expand Down
2 changes: 1 addition & 1 deletion dspace/config/ldn/request-endorsement
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"id": "${params[5]}",
"ietf:cite-as": "${params[6]}",
"type": "sorg:AboutPage",
"url": {
"ietf:item": {
"id": "${params[7]}",
"mediaType": "${params[8]}",
"type": [
Expand Down
2 changes: 1 addition & 1 deletion dspace/config/ldn/request-ingest
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"id": "${params[5]}",
"ietf:cite-as": "${params[6]}",
"type": "sorg:AboutPage",
"url": {
"ietf:item": {
"id": "${params[7]}",
"mediaType": "${params[8]}",
"type": [
Expand Down
2 changes: 1 addition & 1 deletion dspace/config/ldn/request-review
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"id": "${params[5]}",
"ietf:cite-as": "${params[6]}",
"type": "sorg:AboutPage",
"url": {
"ietf:item": {
"id": "${params[7]}",
"mediaType": "${params[8]}",
"type": [
Expand Down

0 comments on commit 815f2c1

Please sign in to comment.