Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions openapi/ver/current/context/skg-if-api.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"@context": {
"@version": 1.1,
"@protected": true,
"as": "http://www.w3.org/ns/activitystreams#",
"search_result_page": {
"@id": "as:CollectionPage"
},
"search_result": {
"@id": "as:Collection"
},
"part_of": {
"@id": "as:partOf"
},
"total_items": {
"@id": "as:totalItems"
},
"next_page": {
"@id": "as:next"
},
"first_page": {
"@id": "as:first"
},
"last_page": {
"@id": "as:last"
},
"prev_page": {
"@id": "as:prev"
},
"meta": "@nest"
}
}
13 changes: 7 additions & 6 deletions openapi/ver/current/sample_data/grants/grant_1.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"@context": [
"https://w3id.org/skg-if/context/1.1.0/skg-if.json",
"https://w3id.org/skg-if/context/1.0.0/skg-if-api.json",
{
"@base": "https://w3id.org/skg-if/sandbox/myprov/"
"@base": "https://w3id.org/skg-if/sandbox/my-skg-acronym/"
}
],
"@graph": [
{
"local_identifier": "6f368a3a-b1cf-498f-b2de-27135d1e0011",
"local_identifier": "http://example.com/skg-if/api/grants/6f368a3a-b1cf-498f-b2de-27135d1e0011",
"identifiers": [
{
"scheme": "doi",
Expand All @@ -24,7 +25,7 @@
},
"acronym": "GraspOS",
"funding_agency": {
"local_identifier": "xxx",
"local_identifier": "http://example.com/skg-if/api/organisations/org-xxx",
"entity_type": "organisation",
"identifiers": [
{
Expand All @@ -47,7 +48,7 @@
"website": "https://graspos.eu",
"beneficiaries": [
{
"local_identifier": "xxx",
"local_identifier": "http://example.com/skg-if/api/organisations/xxx",
"entity_type": "organisation",
"identifiers": [
{
Expand All @@ -64,7 +65,7 @@
"contributions": [
{
"by": {
"local_identifier": "xxx",
"local_identifier": "http://example.com/skg-if/api/persons/xxx",
"entity_type": "person",
"identifiers": [
{
Expand All @@ -78,7 +79,7 @@
},
"declared_affiliations": [
{
"local_identifier": "xxx",
"local_identifier": "http://example.com/skg-if/api/organisations/xxx",
"entity_type": "organisation",
"identifiers": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"@context": [
"https://w3id.org/skg-if/context/1.1.0/skg-if.json",
"https://w3id.org/skg-if/context/1.0.0/skg-if-api.json",
{
"@base": "https://w3id.org/skg-if/sandbox/myprov/"
"@base": "https://w3id.org/skg-if/sandbox/my-skg-acronym/"
}
],
"@graph": [
{
"local_identifier": "6f368a3a-b1cf-498f-b2de-222222222",
"local_identifier": "http://example.com/skg-if/api/organisations/6f368a3a-b1cf-498f-b2de-222222222",
"entity_type": "organisation",
"identifiers": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"@context": [
"https://w3id.org/skg-if/context/1.1.0/skg-if.json",
"https://w3id.org/skg-if/context/1.0.0/skg-if-api.json",
{
"@base": "https://w3id.org/skg-if/sandbox/myprov/"
"@base": "https://w3id.org/skg-if/sandbox/my-skg-acronym/"
}
],
"@graph": [
{
"local_identifier": "614a6575-5d6c-416c-a8e1-ddd456d132",
"local_identifier": "http://example.com/skg-if/api/products/614a6575-5d6c-416c-a8e1-ddd456d132",
"entity_type": "product",
"product_type": "literature",
"titles": {
Expand Down Expand Up @@ -47,13 +48,13 @@
"scheme": "orcid"
}
],
"local_identifier": "614a6575-5d6c-416c-a8e1-f49a5d589bf8",
"local_identifier": "http://example.com/skg-if/api/persons/614a6575-5d6c-416c-a8e1-f49a5d589bf8",
"entity_type": "person"
},
"declared_affiliations": [
{
"name": "Center for Plant Biotechnology and Genomics, Universidad Politécnica de Madrid, Madrid, 28223, Spain",
"local_identifier": "32bc66c6-38be-4d5f-85db-d44c9f86921f",
"local_identifier": "http://example.com/skg-if/api/organisations/32bc66c6-38be-4d5f-85db-d44c9f86921f",
"entity_type": "organisation",
"country": "ES"
}
Expand All @@ -71,7 +72,7 @@
},
"biblio": {
"hosting_data_source": {
"local_identifier": "6f368a3a-b1cf-498f-b2de-27135d1e0075",
"local_identifier": "http://example.com/skg-if/api/datasources/6f368a3a-b1cf-498f-b2de-27135d1e0075",
"entity_type": "datasource",
"name": "An Archive"
},
Expand All @@ -84,7 +85,7 @@
"scheme": "issn"
}
],
"local_identifier": "51f46bc1-00f8-42dd-8221-ac4deb52fb25",
"local_identifier": "http://example.com/skg-if/api/venues/51f46bc1-00f8-42dd-8221-ac4deb52fb25",
"entity_type": "venue"
}
},
Expand All @@ -104,7 +105,7 @@
],
"funding": [
{
"local_identifier": "614a6575-5d6c-416c-a8e1-f49a5d58999",
"local_identifier": "http://example.com/skg-if/api/grants/614a6575-5d6c-416c-a8e1-f49a5d58999",
"entity_type": "grant",
"titles": {
"en": "The EU grant ZZ",
Expand Down
31 changes: 0 additions & 31 deletions openapi/ver/current/sample_data/products/test.json

This file was deleted.

Loading
Loading