Skip to content

Commit b3ff872

Browse files
authored
Fix References in JSON Schema Files (#256)
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
1 parent 63e5a40 commit b3ff872

File tree

44 files changed

+60
-60
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+60
-60
lines changed

catalog/message/schema/catalog-error-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$ref": "#/definitions/CatalogError"
88
}
99
],
10-
"$id": "https://w3id.org/dspace/schemas/2024/1/CatalogErrorSchema",
10+
"$id": "https://w3id.org/dspace/2024/1/catalog/catalog-error-schema.json",
1111
"definitions": {
1212
"CatalogError": {
1313
"type": "object",

catalog/message/schema/catalog-request-message-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$ref": "#/definitions/CatalogRequestMessage"
88
}
99
],
10-
"$id": "https://w3id.org/dspace/schemas/2024/1/CatalogRequestMessageSchema",
10+
"$id": "https://w3id.org/dspace/2024/1/catalog/catalog-request-message-schema.json",
1111
"definitions": {
1212
"CatalogRequestMessage": {
1313
"type": "object",

catalog/message/schema/catalog-schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
"$ref": "#/definitions/Catalog"
88
}
99
],
10-
"$id": "https://w3id.org/dspace/schemas/2024/1/CatalogSchema",
10+
"$id": "https://w3id.org/dspace/2024/1/catalog/catalog-schema.json",
1111
"definitions": {
1212
"Catalog": {
1313
"type": "object",
1414
"allOf": [
1515
{
16-
"$ref": "https://w3id.org/dspace/schemas/2024/1/dataset-schema.json#/definitions/Dataset"
16+
"$ref": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json#/definitions/Dataset"
1717
},
1818
{
1919
"properties": {
@@ -28,14 +28,14 @@
2828
"dcat:dataset": {
2929
"type": "array",
3030
"items": {
31-
"$ref": "https://w3id.org/dspace/schemas/2024/1/dataset-schema.json#/definitions/Dataset"
31+
"$ref": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json#/definitions/Dataset"
3232
},
3333
"minItems": 1
3434
},
3535
"dcat:service": {
3636
"type": "array",
3737
"items": {
38-
"$ref": "https://w3id.org/dspace/schemas/2024/1/dataset-schema.json#/definitions/DataService"
38+
"$ref": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json#/definitions/DataService"
3939
},
4040
"minItems": 1
4141
},

catalog/message/schema/dataset-request-message-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$ref": "#/definitions/DatasetRequestMessage"
88
}
99
],
10-
"$id": "https://w3id.org/dspace/schemas/2024/1/DatasetRequestMessageSchema",
10+
"$id": "https://w3id.org/dspace/2024/1/catalog/dataset-request-message-schema.json",
1111
"definitions": {
1212
"DatasetRequestMessage": {
1313
"type": "object",

catalog/message/schema/dataset-schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$ref": "#/definitions/Dataset"
88
}
99
],
10-
"$id": "https://w3id.org/dspace/schemas/2024/1/DatasetSchema",
10+
"$id": "https://w3id.org/dspace/2024/1/catalog/dataset-schema.json",
1111
"definitions": {
1212
"Dataset": {
1313
"type": "object",
@@ -20,7 +20,7 @@
2020
"odrl:hasPolicy": {
2121
"type": "array",
2222
"items": {
23-
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/Offer"
23+
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/Offer"
2424
},
2525
"minItems": 1
2626
},
@@ -101,7 +101,7 @@
101101
"odrl:hasPolicy": {
102102
"type": "array",
103103
"items": {
104-
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/Offer"
104+
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/Offer"
105105
},
106106
"minItems": 1
107107
},

common/schema/version-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$ref": "#/definitions/Version"
88
}
99
],
10-
"$id": "https://w3id.org/dspace/schemas/2024/1/VersionSchema",
10+
"$id": "https://w3id.org/dspace/2024/1/common/version-schema.json",
1111
"definitions": {
1212
"Version": {
1313
"type": "object",

negotiation/message/schema/contract-agreement-message-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$ref": "#/definitions/ContractAgreementMessage"
88
}
99
],
10-
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractAgreementMessageSchema",
10+
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-agreement-message-schema.json",
1111
"definitions": {
1212
"ContractAgreementMessage": {
1313
"type": "object",
@@ -27,7 +27,7 @@
2727
"type": "string"
2828
},
2929
"dspace:agreement": {
30-
"$ref": "https://w3id.org/dspace/schemas/2024/1/contract-schema.json#/definitions/Agreement"
30+
"$ref": "https://w3id.org/dspace/2024/1/negotiation/contract-schema.json#/definitions/Agreement"
3131
},
3232
"dspace:callbackAddress": {
3333
"type" : "string"

negotiation/message/schema/contract-agreement-verification-message-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$ref": "#/definitions/ContractAgreementVerificationMessage"
88
}
99
],
10-
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractAgreementVerificationMessageSchema",
10+
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-agreement-verification-message-schema.json",
1111
"definitions": {
1212
"ContractAgreementVerificationMessage": {
1313
"type": "object",

negotiation/message/schema/contract-negotiation-error-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$ref": "#/definitions/ContractNegotiationError"
88
}
99
],
10-
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractNegotiationErrorSchema",
10+
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-error-schema.json",
1111
"definitions": {
1212
"ContractNegotiationError": {
1313
"type": "object",

negotiation/message/schema/contract-negotiation-event-message-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$ref": "#/definitions/ContractNegotiationEventMessage"
88
}
99
],
10-
"$id": "https://w3id.org/dspace/schemas/2024/1/ContractNegotiationEventMessageSchema",
10+
"$id": "https://w3id.org/dspace/2024/1/negotiation/contract-negotiation-event-message-schema.json",
1111
"definitions": {
1212
"ContractNegotiationEventMessage": {
1313
"type": "object",

0 commit comments

Comments
 (0)