diff --git a/openapi/ver/current/sample_data/grants/grant_1.json b/openapi/ver/current/sample_data/grants/grant_1.json index 2d4bd02..f0ee2bf 100644 --- a/openapi/ver/current/sample_data/grants/grant_1.json +++ b/openapi/ver/current/sample_data/grants/grant_1.json @@ -1,6 +1,6 @@ { "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", { "@base": "https://w3id.org/skg-if/sandbox/myprov/" } diff --git a/openapi/ver/current/sample_data/organisations/org_brown_university.json b/openapi/ver/current/sample_data/organisations/org_brown_university.json index c1ace1d..3b6084d 100644 --- a/openapi/ver/current/sample_data/organisations/org_brown_university.json +++ b/openapi/ver/current/sample_data/organisations/org_brown_university.json @@ -1,6 +1,6 @@ { "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", { "@base": "https://w3id.org/skg-if/sandbox/myprov/" } diff --git a/openapi/ver/current/sample_data/products/journal_article_full.json b/openapi/ver/current/sample_data/products/journal_article_full.json index 677e4f2..8221abf 100644 --- a/openapi/ver/current/sample_data/products/journal_article_full.json +++ b/openapi/ver/current/sample_data/products/journal_article_full.json @@ -1,6 +1,6 @@ { "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", { "@base": "https://w3id.org/skg-if/sandbox/myprov/" } diff --git a/openapi/ver/current/sample_data/products/test.json b/openapi/ver/current/sample_data/products/test.json index ae01f29..3102ae8 100644 --- a/openapi/ver/current/sample_data/products/test.json +++ b/openapi/ver/current/sample_data/products/test.json @@ -1,6 +1,6 @@ { "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", { "@base": "https://example.com/skg-if/api/" } diff --git a/openapi/ver/current/skg-if-openapi.yaml b/openapi/ver/current/skg-if-openapi.yaml index ab4c732..8d1078f 100644 --- a/openapi/ver/current/skg-if-openapi.yaml +++ b/openapi/ver/current/skg-if-openapi.yaml @@ -89,7 +89,7 @@ paths: summary: "Journal article - FAIR Guiding Principles" value : "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", {"@base" : "https://w3id.org/skg-if/sandbox/myprov/"} ] "@graph" : @@ -160,7 +160,7 @@ paths: summary: "Dataset - OpenAIRE Graph dataset new collected projects" value : "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", {"@base" : "https://w3id.org/skg-if/sandbox/myprov/"} ] "@graph" : @@ -350,7 +350,7 @@ paths: summary: Josiah Carberry person value : "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", {"@base" : "http://example.com/"} ] "@graph" : @@ -366,7 +366,7 @@ paths: summary: John Doe person on-the-fly id value : "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", {"@base" : "http://example.com/"} ] "@graph" : @@ -504,7 +504,7 @@ paths: summary: "Brown University" value : "@context": - - "https://w3id.org/skg-if/context/1.0.1/skg-if.json" + - "https://w3id.org/skg-if/context/1.1.0/skg-if.json" - "@base" : "https://w3id.org/skg-if/sandbox/myprov/" "@graph": - local_identifier: 'otf_session12324_org_1124' @@ -521,7 +521,7 @@ paths: summary: "John Carter Brown Library - Brown University" value : "@context": - - "https://w3id.org/skg-if/context/1.0.1/skg-if.json" + - "https://w3id.org/skg-if/context/1.1.0/skg-if.json" - "@base" : "https://w3id.org/skg-if/sandbox/myprov/" "@graph": - local_identifier: 'otf_session12325_org_1125' @@ -540,7 +540,7 @@ paths: summary: "Lab of science" value : "@context": - - "https://w3id.org/skg-if/context/1.0.1/skg-if.json" + - "https://w3id.org/skg-if/context/1.1.0/skg-if.json" - "@base" : "https://w3id.org/skg-if/sandbox/myprov/" "@graph": - local_identifier: 'otf_session12325_org_1126' @@ -550,7 +550,7 @@ paths: summary: "European Commission Funder" value : "@context": - - "https://w3id.org/skg-if/context/1.0.1/skg-if.json" + - "https://w3id.org/skg-if/context/1.1.0/skg-if.json" - "@base" : "https://w3id.org/skg-if/sandbox/myprov/" "@graph": - local_identifier: 'otf_session12324_org_1127' @@ -659,7 +659,7 @@ paths: summary: GraspOS grant value : "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", {"@base" : "http://example.com/"} ] "@graph" : @@ -857,7 +857,7 @@ paths: summary: Journal of Psychoceramics venue value : "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", {"@base" : "http://example.com/"} ] "@graph" : @@ -958,7 +958,7 @@ paths: summary: Computer Science topic value : "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", {"@base" : "http://example.com/"} ] "@graph" : @@ -1070,7 +1070,7 @@ paths: summary: Oxford University Research Archive datasource value : "@context": [ - "https://w3id.org/skg-if/context/1.0.1/skg-if.json", + "https://w3id.org/skg-if/context/1.1.0/skg-if.json", {"@base" : "http://example.com/"} ] "@graph" : @@ -2358,10 +2358,10 @@ components: information if dereferenced. JsonLdCtx: type: object - description: "This JSON-LD context object covers the SKG-IF entities. See [SKG-IF JSON-LD preamble](https://skg-if.github.io/interoperability-framework/#json-ld-preamble)" + description: "This JSON-LD context for SKG-IF entities" properties: "@context": - description: JSON-LD context + description: JSON-LD context for SKG-IF entities type: array minItems: 1 maxItems: 2 @@ -2370,19 +2370,21 @@ components: - type: string description: "URL to SKG-IF context supported by the current OpenApi" enum: - - https://w3id.org/skg-if/context/1.0.1/skg-if.json - #default: "https://w3id.org/skg-if/context/1.0.1/skg-if.json" + - https://w3id.org/skg-if/context/1.1.0/skg-if.json + #default: "https://w3id.org/skg-if/context/1.1.0/skg-if.json" x-faker: - fake: ['https://w3id.org/skg-if/context/1.0.1/skg-if.json'] - #example: "https://w3id.org/skg-if/context/1.0.1/skg-if.json" + fake: ['https://w3id.org/skg-if/context/1.1.0/skg-if.json'] + #examples: + # - "https://w3id.org/skg-if/context/1.1.0/skg-if.json" - type: object properties: "@base": type: string - description : "Default base URL specific to the implementer. https://w3id.org/skg-if/sandbox//" + description : "Default base URL specific to the implementer. https://w3id.org/skg-if/sandbox/provider_accronym/" x-faker: - fake: ['https://w3id.org/skg-if/sandbox/myprov/'] - example: "https://w3id.org/skg-if/sandbox/myprov/" + fake: ['https://w3id.org/skg-if/sandbox/my_prov/'] + examples: + - "https://w3id.org/skg-if/sandbox/my_prov/" #required: ["@base"] additionalProperties: type: string @@ -2395,8 +2397,6 @@ components: # required: [ skgifjson] #] additionalProperties: false + examples: + - ["https://w3id.org/skg-if/context/1.1.0/skg-if.json", {"@base" : "https://w3id.org/skg-if/sandbox/my_prov/"}] required: [ "@context" ] - examples: - - "@context": - - "https://w3id.org/skg-if/context/1.0.1/skg-if.json" - - "@base" : "https://w3id.org/skg-if/sandbox/myprov/" \ No newline at end of file