Skip to content

Commit

Permalink
Fix References in JSON Schema Files (#256)
Browse files Browse the repository at this point in the history
This is a class 1 change, not affecting conformity, but only fixing broken links.

* fix links in json schema files

* fix also the json schema references also in the release 2024-1

* add missing contract-schema adjustments

* add missing contract-schema adjustments

* fix links in json schema files
  • Loading branch information
sebbader-sap authored Mar 22, 2024
1 parent 63e5a40 commit b3ff872
Show file tree
Hide file tree
Showing 44 changed files with 60 additions and 60 deletions.
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 @@ -7,7 +7,7 @@
"$ref": "#/definitions/CatalogError"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/CatalogErrorSchema",
"$id": "https://w3id.org/dspace/2024/1/catalog/catalog-error-schema.json",
"definitions": {
"CatalogError": {
"type": "object",
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 @@ -7,7 +7,7 @@
"$ref": "#/definitions/CatalogRequestMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/CatalogRequestMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/catalog/catalog-request-message-schema.json",
"definitions": {
"CatalogRequestMessage": {
"type": "object",
Expand Down
8 changes: 4 additions & 4 deletions catalog/message/schema/catalog-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"$ref": "#/definitions/Catalog"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/CatalogSchema",
"$id": "https://w3id.org/dspace/2024/1/catalog/catalog-schema.json",
"definitions": {
"Catalog": {
"type": "object",
"allOf": [
{
"$ref": "https://w3id.org/dspace/schemas/2024/1/dataset-schema.json#/definitions/Dataset"
"$ref": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json#/definitions/Dataset"
},
{
"properties": {
Expand All @@ -28,14 +28,14 @@
"dcat:dataset": {
"type": "array",
"items": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/dataset-schema.json#/definitions/Dataset"
"$ref": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json#/definitions/Dataset"
},
"minItems": 1
},
"dcat:service": {
"type": "array",
"items": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/dataset-schema.json#/definitions/DataService"
"$ref": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json#/definitions/DataService"
},
"minItems": 1
},
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 @@ -7,7 +7,7 @@
"$ref": "#/definitions/DatasetRequestMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/DatasetRequestMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/catalog/dataset-request-message-schema.json",
"definitions": {
"DatasetRequestMessage": {
"type": "object",
Expand Down
6 changes: 3 additions & 3 deletions catalog/message/schema/dataset-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/Dataset"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/DatasetSchema",
"$id": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json",
"definitions": {
"Dataset": {
"type": "object",
Expand All @@ -20,7 +20,7 @@
"odrl:hasPolicy": {
"type": "array",
"items": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/Offer"
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/Offer"
},
"minItems": 1
},
Expand Down Expand Up @@ -101,7 +101,7 @@
"odrl:hasPolicy": {
"type": "array",
"items": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/Offer"
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/Offer"
},
"minItems": 1
},
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 @@ -7,7 +7,7 @@
"$ref": "#/definitions/Version"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/VersionSchema",
"$id": "https://w3id.org/dspace/2024/1/common/version-schema.json",
"definitions": {
"Version": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractAgreementMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractAgreementMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-agreement-message-schema.json",
"definitions": {
"ContractAgreementMessage": {
"type": "object",
Expand All @@ -27,7 +27,7 @@
"type": "string"
},
"dspace:agreement": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/Agreement"
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/Agreement"
},
"dspace:callbackAddress": {
"type" : "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractAgreementVerificationMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractAgreementVerificationMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-agreement-verification-message-schema.json",
"definitions": {
"ContractAgreementVerificationMessage": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractNegotiationError"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractNegotiationErrorSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-error-schema.json",
"definitions": {
"ContractNegotiationError": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractNegotiationEventMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractNegotiationEventMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-event-message-schema.json",
"definitions": {
"ContractNegotiationEventMessage": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractNegotiation"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractNegotiationSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-schema.json",
"definitions": {
"ContractNegotiation": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractNegotiationTerminationMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractNegotiationTerminationMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-termination-message-schema.json",
"definitions": {
"ContractNegotiationTerminationMessage": {
"type": "object",
Expand Down
4 changes: 2 additions & 2 deletions negotiation/message/schema/contract-offer-message-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractOfferMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractOfferMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-offer-message-schema.json",
"definitions": {
"ContractOfferMessage": {
"type": "object",
Expand All @@ -27,7 +27,7 @@
"type": "string"
},
"dspace:offer": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/MessageOffer"
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/MessageOffer"
},
"dspace:callbackAddress": {
"type" : "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractRequestMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractRequestMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-request-message-schema.json",
"definitions": {
"ContractRequestMessage": {
"type": "object",
Expand All @@ -27,7 +27,7 @@
"type": "string"
},
"dspace:offer": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/MessageOffer"
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/MessageOffer"
},
"dspace:callbackAddress": {
"type" : "string"
Expand Down
2 changes: 1 addition & 1 deletion negotiation/message/schema/contract-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/Policy"
}
],
"$id": "https://w3id.org/dspace/schemas/0/8/PolicySchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json",
"definitions": {
"Policy": {
"oneOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/CatalogError"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/CatalogErrorSchema",
"$id": "https://w3id.org/dspace/2024/1/catalog/catalog-error-schema.json",
"definitions": {
"CatalogError": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/CatalogRequestMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/CatalogRequestMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/catalog/catalog-request-message-schema.json",
"definitions": {
"CatalogRequestMessage": {
"type": "object",
Expand Down
8 changes: 4 additions & 4 deletions releases/2024-1/catalog/message/schema/catalog-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"$ref": "#/definitions/Catalog"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/CatalogSchema",
"$id": "https://w3id.org/dspace/2024/1/catalog/catalog-schema.json",
"definitions": {
"Catalog": {
"type": "object",
"allOf": [
{
"$ref": "https://w3id.org/dspace/schemas/2024/1/dataset-schema.json#/definitions/Dataset"
"$ref": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json#/definitions/Dataset"
},
{
"properties": {
Expand All @@ -28,14 +28,14 @@
"dcat:dataset": {
"type": "array",
"items": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/dataset-schema.json#/definitions/Dataset"
"$ref": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json#/definitions/Dataset"
},
"minItems": 1
},
"dcat:service": {
"type": "array",
"items": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/dataset-schema.json#/definitions/DataService"
"$ref": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json#/definitions/DataService"
},
"minItems": 1
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/DatasetRequestMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/DatasetRequestMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/catalog/dataset-request-message-schema.json",
"definitions": {
"DatasetRequestMessage": {
"type": "object",
Expand Down
6 changes: 3 additions & 3 deletions releases/2024-1/catalog/message/schema/dataset-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/Dataset"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/DatasetSchema",
"$id": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json",
"definitions": {
"Dataset": {
"type": "object",
Expand All @@ -20,7 +20,7 @@
"odrl:hasPolicy": {
"type": "array",
"items": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/Offer"
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/Offer"
},
"minItems": 1
},
Expand Down Expand Up @@ -101,7 +101,7 @@
"odrl:hasPolicy": {
"type": "array",
"items": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/Offer"
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/Offer"
},
"minItems": 1
},
Expand Down
2 changes: 1 addition & 1 deletion releases/2024-1/common/schema/version-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/Version"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/VersionSchema",
"$id": "https://w3id.org/dspace/2024/1/common/version-schema.json",
"definitions": {
"Version": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractAgreementMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractAgreementMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-agreement-message-schema.json",
"definitions": {
"ContractAgreementMessage": {
"type": "object",
Expand All @@ -27,7 +27,7 @@
"type": "string"
},
"dspace:agreement": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/Agreement"
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/Agreement"
},
"dspace:callbackAddress": {
"type" : "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractAgreementVerificationMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractAgreementVerificationMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-agreement-verification-message-schema.json",
"definitions": {
"ContractAgreementVerificationMessage": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractNegotiationError"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractNegotiationErrorSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-error-schema.json",
"definitions": {
"ContractNegotiationError": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractNegotiationEventMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractNegotiationEventMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-event-message-schema.json",
"definitions": {
"ContractNegotiationEventMessage": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractNegotiation"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractNegotiationSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-schema.json",
"definitions": {
"ContractNegotiation": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractNegotiationTerminationMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractNegotiationTerminationMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-termination-message-schema.json",
"definitions": {
"ContractNegotiationTerminationMessage": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractOfferMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractOfferMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-offer-message-schema.json",
"definitions": {
"ContractOfferMessage": {
"type": "object",
Expand All @@ -27,7 +27,7 @@
"type": "string"
},
"dspace:offer": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/MessageOffer"
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/MessageOffer"
},
"dspace:callbackAddress": {
"type" : "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$ref": "#/definitions/ContractRequestMessage"
}
],
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractRequestMessageSchema",
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-request-message-schema.json",
"definitions": {
"ContractRequestMessage": {
"type": "object",
Expand All @@ -27,7 +27,7 @@
"type": "string"
},
"dspace:offer": {
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/MessageOffer"
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/MessageOffer"
},
"dspace:callbackAddress": {
"type" : "string"
Expand Down
Loading

0 comments on commit b3ff872

Please sign in to comment.