Skip to content

Commit

Permalink
Merge pull request #265 from europeana/EA-3955-change-context-url
Browse files Browse the repository at this point in the history
change context url in response
  • Loading branch information
gsergiu authored Oct 23, 2024
2 parents 5e6a93b + 8369101 commit 417fa26
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class WebUserSetFields extends WebUserSetModelFields {
public static final String TEXT_SCORE_SORT = "score";

// JsonLd Constants
public static final String CONTEXT = "http://www.europeana.eu/schemas/context/collection.jsonld";
public static final String CONTEXT = "https://api.europeana.eu/schema/context/set.jsonld";
public static final String CONTEXT_FIELD = "@context";
public static final String IDENTIFIER = "identifier";
public static final String TITLE = "title";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ public class WebUserSetModelFields {
// Pinned items constants
public static final String PINNED_POSITION = "pin";


public static final String VALUE_CONTEXT_EUROPEANA_COLLECTION = "http://www.europeana.eu/schemas/context/collection.jsonld";

WebUserSetModelFields() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"http://data.europeana.eu/item/08641/1037479000000476467",
"http://data.europeana.eu/item/08641/1037479000000476875"
],
"@context": "http://www.europeana.eu/schemas/context/collection.jsonld",
"@context": "https://api.europeana.eu/schema/context/set.jsonld",
"id":"http://data.europeana.eu/set/1",
"created": "2020-08-28T13:43:07Z",
"modified": "2020-08-28T13:44:48Z",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "http://www.europeana.eu/schemas/context/collection.jsonld",
"@context": "https://api.europeana.eu/schema/context/set.jsonld",
"type": "EntityBestItemsSet",
"title":{
"en": "Sport - best items"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context":"http://www.europeana.eu/schemas/context/collection.jsonld",
"@context":"https://api.europeana.eu/schema/context/set.jsonld",
"type":"Collection",
"title":{
"en":"SGoaB Test Dataset"
Expand Down

0 comments on commit 417fa26

Please sign in to comment.