Skip to content

Commit

Permalink
use intermediate context
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbader-sap committed May 17, 2024
1 parent 84e91d8 commit 5145306
Show file tree
Hide file tree
Showing 112 changed files with 136 additions and 136 deletions.
6 changes: 3 additions & 3 deletions catalog/catalog.binding.https.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ POST https://provider.com/catalog/request
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:CatalogRequestMessage",
"dspace:filter": {}
}
Expand Down Expand Up @@ -74,7 +74,7 @@ GET https://provider.com/catalog/datasets/{id}
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:DatasetRequestMessage",
"dspace:dataset": "urn:uuid:3dd1add8-4d2d-569e-d634-8394a8836a88"
}
Expand All @@ -99,7 +99,7 @@ The following request sequence demonstrates pagination:
Link: <https://provider.com/catalog?continuationToken=f59892315ac44de8ab4bdc9014502d52>; rel="next"
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dcat:Catalog",
...
}
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/diagram/catalog-error.puml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:CatalogError" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : "dspace:CatalogError"
dspace:code : String
dspace:reason : Array
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/diagram/catalog-request-message.puml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:CatalogRequestMessage" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : dspace:CatalogRequestMessage
dspace:filter : Object
}
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/diagram/catalog.puml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class dcat:Catalog {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : "dcat:Catalog"
foaf:homepage : String
dcat:theme : Array<String>
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/diagram/dataset-request-message.puml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:DatasetRequestMessage" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : dspace:DatasetRequestMessage
dspace:dataset : String
}
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/diagram/dataset.puml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
hide empty description

class dcat:Dataset {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : "dcat:Dataset",
dcat:theme : Array<String>
dcat:keyword : Array<String>
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/example/catalog-error.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:CatalogError",
"dspace:code": "123:A",
"dspace:reason": [
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/example/catalog-request-message.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:CatalogRequestMessage",
"dspace:filter": [
"some-filter"
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/example/catalog.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@id": "urn:uuid:3afeadd8-ed2d-569e-d634-8394a8836d57",
"@type": "dcat:Catalog",
"dct:title": "Data Provider A Catalog",
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/example/dataset-request-message.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:DatasetRequestMessage",
"dspace:dataset": "urn:uuid:3afeadd8-ed2d-569e-d634-8394a8836d57"
}
2 changes: 1 addition & 1 deletion catalog/message/example/dataset.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@id": "urn:uuid:3afeadd8-ed2d-569e-d634-8394a8836d57",
"@type": "dcat:Dataset",
"dct:title": "Traffic Data",
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/schema/catalog-error-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"properties": {
"@context": {
"type": "string",
"const": "https://w3id.org/dspace/2024/1/context.json"
"const": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
},
"@type": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/schema/catalog-request-message-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"properties": {
"@context": {
"type": "string",
"const": "https://w3id.org/dspace/2024/1/context.json"
"const": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
},
"@type": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/schema/catalog-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"properties": {
"@context": {
"type": "string",
"const": "https://w3id.org/dspace/2024/1/context.json"
"const": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
},
"@type": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion catalog/message/schema/dataset-request-message-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"properties": {
"@context": {
"type": "string",
"const": "https://w3id.org/dspace/2024/1/context.json"
"const": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
},
"@type": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion common/common.protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A [Connector](../model/terminology.md#connector--data-service-) must respond to

```json
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"protocolVersions": [
{
"version": "1.0",
Expand Down
2 changes: 1 addition & 1 deletion common/schema/version-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"properties": {
"@context": {
"type": "string",
"const": "https://w3id.org/dspace/2024/1/context.json"
"const": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
},
"protocolVersions": {
"type": "array",
Expand Down
26 changes: 13 additions & 13 deletions negotiation/contract.negotiation.binding.https.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ If the CN is found and the client is authorized, the [Provider](../model/termino

```json
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractNegotiation",
"dspace:providerPid": "urn:uuid:dcbf434c-eacf-4582-9a02-f8dd50120fd3",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand All @@ -141,7 +141,7 @@ POST https://provider.com/negotiations/request
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractRequestMessage",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
"dspace:offer": {
Expand All @@ -163,7 +163,7 @@ The [Provider](../model/terminology.md#provider) must return an HTTP 201 (Create

```json
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractNegotiation",
"dspace:providerPid": "urn:uuid:dcbf434c-eacf-4582-9a02-f8dd50120fd3",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand All @@ -185,7 +185,7 @@ POST https://provider.com/negotiations/:providerPid/request
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractRequestMessage",
"dspace:providerPid": "urn:uuid:dcbf434c-eacf-4582-9a02-f8dd50120fd3",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand Down Expand Up @@ -216,7 +216,7 @@ POST https://provider.com/negotiations/:providerPid/events
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractNegotiationEventMessage",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand Down Expand Up @@ -244,7 +244,7 @@ POST https://provider.com/negotiations/:providerPid/agreement/verification
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractAgreementVerificationMessage",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833"
Expand All @@ -270,7 +270,7 @@ POST https://provider.com/negotiations/:providerPid/termination
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractNegotiationTerminationMessage",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand Down Expand Up @@ -315,7 +315,7 @@ POST https://consumer.com/negotiations/offers
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractOfferMessage",
"dspace:providerPid": "urn:uuid:dcbf434c-eacf-4582-9a02-f8dd50120fd3",
"dspace:offer": {
Expand All @@ -337,7 +337,7 @@ The [Consumer](../model/terminology.md#consumer) must return an HTTP 201 (Create

```json
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractNegotiation",
"dspace:providerPid": "urn:uuid:dcbf434c-eacf-4582-9a02-f8dd50120fd3",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand All @@ -359,7 +359,7 @@ POST https://consumer.com/:callback/negotiations/:consumerPid/offers
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractOfferMessage",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand Down Expand Up @@ -393,7 +393,7 @@ POST https://consumer.com/:callback/negotiations/:consumerPid/agreement
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractAgreementMessage",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand Down Expand Up @@ -428,7 +428,7 @@ POST https://consumer.com/:callback/negotiations/:consumerPid/events
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractNegotiationEventMessage",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand All @@ -454,7 +454,7 @@ POST https://consumer.com/negotiations/:consumerPid/termination
Authorization: ...
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractNegotiationTerminationMessage",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:ContractAgreementMessage" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : "dspace:ContractAgreementMessage"
dspace:providerPid : String
dspace:consumerPid : String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:ContractAgreementVerificationMessage" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : "dspace:ContractAgreementVerificationMessage"
dspace:providerPid : String
dspace:consumerPid : String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:ContractNegotiationError" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : "dspace:ContractNegotiationError"
dspace:providerPid : String
dspace:consumerPid : String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:ContractNegotiationEventMessage" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : "dspace:ContractNegotiationEventMessage"
dspace:providerPid : String
dspace:consumerPid : String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:ContractNegotiationTerminationMessage" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : "dspace:ContractNegotiationTerminationMessage"
dspace:providerPid : String
dspace:consumerPid : String
Expand Down
2 changes: 1 addition & 1 deletion negotiation/message/diagram/contract-negotiation.puml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:ContractNegotiation" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : "dspace:ContractNegotiation"
dspace:providerPid : String
dspace:consumerPid : String
Expand Down
2 changes: 1 addition & 1 deletion negotiation/message/diagram/contract-offer-message.puml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:ContractOfferMessage" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : dspace:ContractOfferMessage
dspace:providerPid : String
dspace:consumerPid : String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:ContractOfferMessage" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : dspace:ContractOfferMessage
dspace:providerPid : String
dspace:callbackAddress : String
Expand Down
2 changes: 1 addition & 1 deletion negotiation/message/diagram/contract-request-message.puml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:ContractRequestMessage" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : dspace:ContractRequestMessage
dspace:providerPid : String
dspace:consumerPid : String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide empty description


class "dspace:ContractRequestMessage" {
@context : "https://w3id.org/dspace/2024/1/context.json"
@context : "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json"
@type : dspace:ContractRequestMessage
dspace:consumerPid : String
dspace:callbackAddress : String
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractAgreementMessage",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractAgreementVerificationMessage",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractNegotiationError",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://w3id.org/dspace/2024/1/context.json",
"@context": "https://raw.githubusercontent.com/simantvermasap/ids-specification/main/common/schema/context.json",
"@type": "dspace:ContractNegotiationEventMessage",
"dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab",
"dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833",
Expand Down
Loading

0 comments on commit 5145306

Please sign in to comment.