diff --git a/catalog/catalog.protocol.md b/catalog/catalog.protocol.md index 7a65bc86..ab6cacd8 100644 --- a/catalog/catalog.protocol.md +++ b/catalog/catalog.protocol.md @@ -181,4 +181,4 @@ When a [Catalog](../model/terminology.md#catalog) contains protected [Datasets]( ### 4.4 Catalog Brokers -A [Dataspace](../model/terminology.md#dataspace) may include Catalog Brokers. A Catalog Broker is a [Consumer](../model/terminology.md#consumer) that has trusted access to 1..N upstream [Catalog Services](../model/terminology.md#catalog-service) and advertises their respective [Catalogs](../model/terminology.md#catalog) as a single [Catalog Service](../model/terminology.md#catalog-service). The broker is expected to honor upstream access control requirements. +A [Dataspace](../model/terminology.md#dataspace) may include Catalog Brokers. A Catalog Broker is a [Consumer](../model/terminology.md#consumer) that has trusted access to 1..N upstream [Catalog Services](../model/terminology.md#catalog-service) and advertises their respective [Catalogs](../model/terminology.md#catalog) as a single [Catalog Service](../model/terminology.md#catalog-service). The broker is expected to honor upstream access control requirements. \ No newline at end of file diff --git a/catalog/message/schema/catalog-error-schema.json b/catalog/message/schema/catalog-error-schema.json index 800110e6..7a46929e 100644 --- a/catalog/message/schema/catalog-error-schema.json +++ b/catalog/message/schema/catalog-error-schema.json @@ -24,23 +24,10 @@ "type": "string" }, "dspace:reason": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@value": { - "type": "string" - }, - "@language": { - "type": "string" - } - }, - "required": ["@value", "@language"] - }, - "minItems": 1 + "type": "array" } }, "required": [ "@context", "@type" ] } } -} \ No newline at end of file +} diff --git a/catalog/message/schema/catalog-schema.json b/catalog/message/schema/catalog-schema.json index 99d96c16..6c15e16f 100644 --- a/catalog/message/schema/catalog-schema.json +++ b/catalog/message/schema/catalog-schema.json @@ -45,10 +45,7 @@ } } ], - "required": [ - "@context", - "@type" - ], + "required": [ "@context", "@type" ], "additionalProperties": false } } diff --git a/catalog/message/schema/dataset-schema.json b/catalog/message/schema/dataset-schema.json index 784ceb9e..a76e9503 100644 --- a/catalog/message/schema/dataset-schema.json +++ b/catalog/message/schema/dataset-schema.json @@ -149,9 +149,7 @@ "type": "string" } }, - "required": [ - "@id" - ] + "required": [ "@id" ] }, "Multilanguage": { "type": "object", @@ -163,10 +161,7 @@ "type": "string" } }, - "required": [ - "@value", - "@language" - ] + "required": [ "@value", "@language" ] } } } \ No newline at end of file diff --git a/catalog/message/shape/catalog-error-shape.ttl b/catalog/message/shape/catalog-error-shape.ttl index 92a76648..adb9eb5c 100644 --- a/catalog/message/shape/catalog-error-shape.ttl +++ b/catalog/message/shape/catalog-error-shape.ttl @@ -33,6 +33,8 @@ dspace_shapes:CatalogErrorShape sh:datatype xsd:string ; ] ; sh:property [ - sh:path dspace:reason ; + sh:path dspace:reason ; sh:datatype rdf:langString ; - ] . \ No newline at end of file + ] ; + +. diff --git a/catalog/message/shape/catalog-request-message-shape.ttl b/catalog/message/shape/catalog-request-message-shape.ttl index 3bdbdc3c..ce3c8c72 100644 --- a/catalog/message/shape/catalog-request-message-shape.ttl +++ b/catalog/message/shape/catalog-request-message-shape.ttl @@ -33,4 +33,5 @@ dspace_shapes:CatalogRequestMessageShape a sh:PropertyShape ; sh:path dspace:filter ; ] ; + . \ No newline at end of file diff --git a/catalog/message/shape/dataset-shape.ttl b/catalog/message/shape/dataset-shape.ttl new file mode 100644 index 00000000..71faf5b6 --- /dev/null +++ b/catalog/message/shape/dataset-shape.ttl @@ -0,0 +1,78 @@ +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . +@prefix dct: . +@prefix dcat: . +@prefix odrl: . +@prefix cred: . +@prefix sec: . +@prefix prov: . + +@prefix dspace: . +@prefix dspace_shapes: . + +@prefix sh: . + +dspace_shapes: + a owl:Ontology ; + sh:declare [ + sh:prefix "rdf" ; + sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ; + ] ; + sh:declare [ + sh:prefix "dspace" ; + sh:namespace "https://w3id.org/dspace/v0.8/"^^xsd:anyURI ; + ] ; +. + +dspace_shapes:DatasetShape + a sh:NodeShape ; + sh:targetClass dcat:Dataset ; + + sh:property [ + a sh:PropertyShape ; + sh:path dcat:distribution ; + sh:class dcat:Distribution ; + sh:minCount 0; + sh:severity sh:Violation ; + sh:message " (DatasetShape): A dcat:distribution property must point to a dcat:Distribution."@en ; + ] ; + + sh:property [ + a sh:PropertyShape ; + sh:path dcat:keyword ; + sh:datatype xsd:string ; + sh:minCount 0; + sh:severity sh:Violation ; + sh:message " (DatasetShape): A dcat:keyword property must point to a xsd:string field."@en ; + ] ; + + sh:property [ + a sh:PropertyShape ; + sh:path dct:description ; + sh:datatype rdf:langString ; + sh:minCount 0; + sh:severity sh:Violation ; + sh:message " (DatasetShape): A dct:description property must point to a rdf:langString field."@en ; + ] ; + + sh:property [ + a sh:PropertyShape ; + sh:path dct:title ; + sh:datatype xsd:string ; + sh:minCount 0; + sh:severity sh:Violation ; + sh:message " (DatasetShape): A dct:title property must point to a xsd:string field."@en ; + ] ; + + sh:property [ + a sh:PropertyShape ; + sh:path odrl:hasPolicy ; + sh:class odrl:Policy ; + sh:severity sh:Violation ; + sh:minCount 0; + sh:message " (DatasetShape): An odrl:hasPolicy property must point to an odrl:Policy."@en ; + ] ; + +. \ No newline at end of file diff --git a/common/schema/context.json b/common/schema/context.json index 4c05fc14..9df740b9 100644 --- a/common/schema/context.json +++ b/common/schema/context.json @@ -36,6 +36,7 @@ "dspace:catalog": { "@container": "@set" }, "dspace:filter": { "@container": "@set" }, "dspace:timestamp": { "@type": "xsd:dateTime" }, + "dspace:callbackAddress": { "@type": "xsd:anyURI" }, "foaf:homepage": { "@type": "xsd:anyURI" }, diff --git a/negotiation/message/diagram/contract-agreement-message.puml b/negotiation/message/diagram/contract-agreement-message.puml index 20b357cd..cf7948b7 100644 --- a/negotiation/message/diagram/contract-agreement-message.puml +++ b/negotiation/message/diagram/contract-agreement-message.puml @@ -17,8 +17,10 @@ class "dspace:ContractAgreementMessage" { class odrl:Agreement { @type : "odrl:Agreement" @id: String + odrl:target : xsd:anyURI dspace:timestamp : xsd:dateTime - ... + dspace:consumerId : String + dspace:providerId : String } "dspace:ContractAgreementMessage" "1" *-- "1" "odrl:Agreement" : "odrl:agreement" diff --git a/negotiation/message/schema/contract-schema.json b/negotiation/message/schema/contract-schema.json index 612703f2..a6ef3f54 100644 --- a/negotiation/message/schema/contract-schema.json +++ b/negotiation/message/schema/contract-schema.json @@ -96,10 +96,7 @@ ] } ], - "required": [ - "@type", - "dspace:providerId" - ] + "required": [ "@type", "dspace:providerId" ] }, "Agreement": { "type": "object", @@ -114,8 +111,8 @@ "const": "odrl:Agreement" }, "dspace:timestamp": { - "type": "string", - "pattern": "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + "type": "string", + "pattern": "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" } } }, diff --git a/releases/v0.8/catalog/message/catalog.json b/releases/v0.8/catalog/message/catalog.json index 4be9a8e5..0694ad2c 100644 --- a/releases/v0.8/catalog/message/catalog.json +++ b/releases/v0.8/catalog/message/catalog.json @@ -61,4 +61,4 @@ } } ] -} +} \ No newline at end of file diff --git a/releases/v0.8/catalog/message/dataset-request-message.json b/releases/v0.8/catalog/message/dataset-request-message.json index e6a16d34..4e8c27c8 100644 --- a/releases/v0.8/catalog/message/dataset-request-message.json +++ b/releases/v0.8/catalog/message/dataset-request-message.json @@ -2,4 +2,4 @@ "@context": "https://w3id.org/dspace/v0.8/context.json", "@type": "dspace:DatasetRequestMessage", "dspace:dataset": "urn:uuid:3dd1add8-4d2d-569e-d634-8394a8836a88" -} +} \ No newline at end of file diff --git a/releases/v0.8/catalog/message/dataset.json b/releases/v0.8/catalog/message/dataset.json index a2d13ab8..70768a54 100644 --- a/releases/v0.8/catalog/message/dataset.json +++ b/releases/v0.8/catalog/message/dataset.json @@ -44,4 +44,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/releases/v0.8/negotiation/message/contract-agreement-message.json b/releases/v0.8/negotiation/message/contract-agreement-message.json index 58dfd737..57980694 100644 --- a/releases/v0.8/negotiation/message/contract-agreement-message.json +++ b/releases/v0.8/negotiation/message/contract-agreement-message.json @@ -21,4 +21,4 @@ }, "dspace:signature": {}, "dspace:callbackAddress": "https://......" -} +} \ No newline at end of file diff --git a/releases/v0.8/negotiation/message/contract-agreement-verification-message.json b/releases/v0.8/negotiation/message/contract-agreement-verification-message.json index e558addd..45add8d7 100644 --- a/releases/v0.8/negotiation/message/contract-agreement-verification-message.json +++ b/releases/v0.8/negotiation/message/contract-agreement-verification-message.json @@ -2,10 +2,5 @@ "@context": "https://w3id.org/dspace/v0.8/context.json", "@type": "dspace:ContractAgreementVerificationMessage", "dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab", - "dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833", - "dspace:hashedMessage": { - "dspace:digest": "some-hash", - "dspace:algorithm": "SHA-384" - }, - "dspace:signature": {} -} + "dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833" +} \ No newline at end of file diff --git a/releases/v0.8/negotiation/message/contract-negotiation-event-message.json b/releases/v0.8/negotiation/message/contract-negotiation-event-message.json index deb34a79..2ba7f9f2 100644 --- a/releases/v0.8/negotiation/message/contract-negotiation-event-message.json +++ b/releases/v0.8/negotiation/message/contract-negotiation-event-message.json @@ -4,4 +4,4 @@ "dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab", "dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833", "dspace:eventType": "dspace:ACCEPTED" -} +} \ No newline at end of file diff --git a/releases/v0.8/negotiation/message/contract-negotiation-termination-message.json b/releases/v0.8/negotiation/message/contract-negotiation-termination-message.json index fa2a3df8..ceb29687 100644 --- a/releases/v0.8/negotiation/message/contract-negotiation-termination-message.json +++ b/releases/v0.8/negotiation/message/contract-negotiation-termination-message.json @@ -10,4 +10,4 @@ "@language": "en" } ] -} +} \ No newline at end of file diff --git a/releases/v0.8/negotiation/message/contract-negotiation.json b/releases/v0.8/negotiation/message/contract-negotiation.json index 4069acb1..a3b60c80 100644 --- a/releases/v0.8/negotiation/message/contract-negotiation.json +++ b/releases/v0.8/negotiation/message/contract-negotiation.json @@ -1,7 +1,7 @@ { - "@context": "https://w3id.org/dspace/v0.8/context.json", - "@type": "dspace:ContractNegotiation", - "dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab", - "dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833", - "dspace:state": "dspace:REQUESTED" - } + "@context": "https://w3id.org/dspace/v0.8/context.json", + "@type": "dspace:ContractNegotiation", + "dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab", + "dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833", + "dspace:state": "dspace:REQUESTED" +} \ No newline at end of file diff --git a/releases/v0.8/negotiation/message/contract-offer-message.json b/releases/v0.8/negotiation/message/contract-offer-message.json index 77a6c918..01da410b 100644 --- a/releases/v0.8/negotiation/message/contract-offer-message.json +++ b/releases/v0.8/negotiation/message/contract-offer-message.json @@ -19,4 +19,4 @@ }] }, "dspace:callbackAddress": "https://......" -} +} \ No newline at end of file diff --git a/releases/v0.8/negotiation/message/contract-request-message_initial.json b/releases/v0.8/negotiation/message/contract-request-message_initial.json index 54626058..5f7958f9 100644 --- a/releases/v0.8/negotiation/message/contract-request-message_initial.json +++ b/releases/v0.8/negotiation/message/contract-request-message_initial.json @@ -9,4 +9,4 @@ "odrl:target": "urn:uuid:3dd1add8-4d2d-569e-d634-8394a8836a88" }, "dspace:callbackAddress": "https://......" -} +} \ No newline at end of file diff --git a/releases/v0.8/transfer/message/transfer-completion-message.json b/releases/v0.8/transfer/message/transfer-completion-message.json index 6ee3ef7e..2d18375a 100644 --- a/releases/v0.8/transfer/message/transfer-completion-message.json +++ b/releases/v0.8/transfer/message/transfer-completion-message.json @@ -3,4 +3,4 @@ "@type": "dspace:TransferCompletionMessage", "dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab", "dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833" -} +} \ No newline at end of file diff --git a/releases/v0.8/transfer/message/transfer-error.json b/releases/v0.8/transfer/message/transfer-error.json index 9c42f0bf..6d8b4ea8 100644 --- a/releases/v0.8/transfer/message/transfer-error.json +++ b/releases/v0.8/transfer/message/transfer-error.json @@ -8,4 +8,4 @@ {}, {} ] -} +} \ No newline at end of file diff --git a/releases/v0.8/transfer/message/transfer-start-message.json b/releases/v0.8/transfer/message/transfer-start-message.json index 04a6874b..84be5c8c 100644 --- a/releases/v0.8/transfer/message/transfer-start-message.json +++ b/releases/v0.8/transfer/message/transfer-start-message.json @@ -3,5 +3,16 @@ "@type": "dspace:TransferStartMessage", "dspace:providerPid": "urn:uuid:a343fcbf-99fc-4ce8-8e9b-148c97605aab", "dspace:consumerPid": "urn:uuid:32541fe6-c580-409e-85a8-8a9a32fbe833", - "dspace:dataAddress": "https://......" + "dspace:dataAddress": { + "@type": "dspace:DataAddress", + "dspace:endpointType": "https://w3id.org/idsa/v4.1/HTTP", + "dspace:endpoint": "http://example.com", + "dspace:endpointProperties": [ + { + "@type": "dspace:EndpointProperty", + "dspace:name": "Authorization", + "dspace:value": "Bearer TOKEN-ABCDEFG" + } + ] + } } diff --git a/releases/v0.8/transfer/message/transfer-suspension-message.json b/releases/v0.8/transfer/message/transfer-suspension-message.json index bb3fc945..591dcb21 100644 --- a/releases/v0.8/transfer/message/transfer-suspension-message.json +++ b/releases/v0.8/transfer/message/transfer-suspension-message.json @@ -8,4 +8,4 @@ {}, {} ] -} +} \ No newline at end of file diff --git a/releases/v0.8/transfer/message/transfer-termination-message.json b/releases/v0.8/transfer/message/transfer-termination-message.json index 967dfb14..440438c3 100644 --- a/releases/v0.8/transfer/message/transfer-termination-message.json +++ b/releases/v0.8/transfer/message/transfer-termination-message.json @@ -8,4 +8,4 @@ {}, {} ] -} +} \ No newline at end of file diff --git a/transfer/message/diagram/transfer-request-message.puml b/transfer/message/diagram/transfer-request-message.puml index 8e28d533..b7effcc7 100644 --- a/transfer/message/diagram/transfer-request-message.puml +++ b/transfer/message/diagram/transfer-request-message.puml @@ -13,12 +13,14 @@ class "dspace:TransferRequestMessage" { dspace:agreementId : String dct:format : String dspace:callbackAddress : String + dspace:dataAddress : dspace:DataAddress } class "dspace:DataAddress" { @type : "dspace:DataAddress" dspace:endpointType : String dspace:endpoint : String + dspace:endpointProperties : dspace:EndpointProperty } class "dspace:EndpointProperty" { diff --git a/transfer/message/diagram/transfer-start-message.puml b/transfer/message/diagram/transfer-start-message.puml index 4d43bbce..25b0d805 100644 --- a/transfer/message/diagram/transfer-start-message.puml +++ b/transfer/message/diagram/transfer-start-message.puml @@ -11,12 +11,14 @@ class "dspace:TransferStartMessage" { @type : "dspace:TransferStartMessage" dspace:providerPid : String dspace:consumerPid : String + dspace:dataAddress : dspace:DataAddress } class "dspace:DataAddress" { @type : "dspace:DataAddress" dspace:endpointType : String dspace:endpoint : String + dspace:endpointProperties : dspace:EndpointProperty } class "dspace:EndpointProperty" { diff --git a/transfer/message/schema/transfer-error-schema.json b/transfer/message/schema/transfer-error-schema.json index 1a68d79b..bbd98915 100644 --- a/transfer/message/schema/transfer-error-schema.json +++ b/transfer/message/schema/transfer-error-schema.json @@ -31,10 +31,7 @@ }, "dspace:reason": { "type": "array", - "minItems": 1, - "items": { - - } + "items": {} } }, "required": [ "@context", "@type", "dspace:providerPid", "dspace:consumerPid"] diff --git a/transfer/message/schema/transfer-process-schema.json b/transfer/message/schema/transfer-process-schema.json index 90455657..78ea74c8 100644 --- a/transfer/message/schema/transfer-process-schema.json +++ b/transfer/message/schema/transfer-process-schema.json @@ -37,7 +37,7 @@ ] } }, - "required": [ "@context", "@type", "dspace:providerPid", "dspace:consumerPid", "dspace:consumerPid", "dspace:state" ] + "required": [ "@context", "@type", "dspace:providerPid", "dspace:consumerPid", "dspace:state" ] } } } \ No newline at end of file diff --git a/transfer/message/schema/transfer-suspension-message-schema.json b/transfer/message/schema/transfer-suspension-message-schema.json index b27afb66..4d85fcfe 100644 --- a/transfer/message/schema/transfer-suspension-message-schema.json +++ b/transfer/message/schema/transfer-suspension-message-schema.json @@ -32,9 +32,7 @@ "dspace:reason": { "type": "array", "minItems": 1, - "items": { - - } + "items": {} } }, "required": [ "@context", "@type", "dspace:providerPid", "dspace:consumerPid" ] diff --git a/transfer/message/shape/transfer-completion-message-shape.ttl b/transfer/message/shape/transfer-completion-message-shape.ttl index 548552a3..c56058c1 100644 --- a/transfer/message/shape/transfer-completion-message-shape.ttl +++ b/transfer/message/shape/transfer-completion-message-shape.ttl @@ -13,7 +13,7 @@ @prefix sh: . -shapes: +dspace_shapes: a owl:Ontology ; sh:declare [ sh:prefix "rdf" ; @@ -25,9 +25,10 @@ shapes: ] ; . -shapes:TransferCompletionMessageShape +dspace_shapes:TransferCompletionMessageShape a sh:NodeShape ; sh:targetClass dspace:TransferCompletionMessage ; + rdfs:subClassOf dspace_shapes:MessageShape ; sh:property [ a sh:PropertyShape ; diff --git a/transfer/message/shape/transfer-error-shape.ttl b/transfer/message/shape/transfer-error-shape.ttl index cc9e21b5..188c8c54 100644 --- a/transfer/message/shape/transfer-error-shape.ttl +++ b/transfer/message/shape/transfer-error-shape.ttl @@ -13,7 +13,7 @@ @prefix sh: . -shapes: +dspace_shapes: a owl:Ontology ; sh:declare [ sh:prefix "rdf" ; @@ -25,7 +25,7 @@ shapes: ] ; . -shapes:TransferErrorShape +dspace_shapes:TransferErrorShape a sh:NodeShape ; sh:targetClass dspace:TransferError ; @@ -55,7 +55,7 @@ shapes:TransferErrorShape sh:datatype xsd:string ; sh:maxCount 1 ; sh:severity sh:Violation ; - sh:message " (TransferErrorShape): An dspace:code property must point from an dspace:TransferError to exactly one dspace:TerminationCode."@en ; + sh:message " (TransferErrorShape): An dspace:code property must point to exactly one xsd:string field."@en ; ] ; sh:property [ diff --git a/transfer/message/shape/transfer-process-shape.ttl b/transfer/message/shape/transfer-process-shape.ttl index 50036dfe..4d1d0ab3 100644 --- a/transfer/message/shape/transfer-process-shape.ttl +++ b/transfer/message/shape/transfer-process-shape.ttl @@ -13,7 +13,7 @@ @prefix sh: . -shapes: +dspace_shapes: a owl:Ontology ; sh:declare [ sh:prefix "rdf" ; @@ -25,9 +25,10 @@ shapes: ] ; . -shapes:TransferProcessShape +dspace_shapes:TransferProcessShape a sh:NodeShape ; sh:targetClass dspace:TransferProcess ; + rdfs:subClassOf dspace_shapes:MessageShape ; sh:property [ a sh:PropertyShape ; diff --git a/transfer/message/shape/transfer-request-message-shape.ttl b/transfer/message/shape/transfer-request-message-shape.ttl index 236fd192..6cf5a8af 100644 --- a/transfer/message/shape/transfer-request-message-shape.ttl +++ b/transfer/message/shape/transfer-request-message-shape.ttl @@ -13,7 +13,7 @@ @prefix sh: . -shapes: +dspace_shapes: a owl:Ontology ; sh:declare [ sh:prefix "rdf" ; @@ -25,10 +25,11 @@ shapes: ] ; . -shapes:TransferRequestMessageShape +dspace_shapes:TransferRequestMessageShape a sh:NodeShape ; sh:targetClass dspace:TransferRequestMessage ; + sh:property [ a sh:PropertyShape ; sh:path dspace:agreementId ; @@ -46,7 +47,7 @@ shapes:TransferRequestMessageShape sh:severity sh:Violation ; sh:maxCount 1 ; sh:minCount 1 ; - sh:message " (TransferRequestMessageShape): A dct:format property must point exactly one entity."@en ; + sh:message " (TransferRequestMessageShape): A dct:format property must point exactly one xsd:string field."@en ; ] ; sh:property [ @@ -78,4 +79,4 @@ shapes:TransferRequestMessageShape sh:minCount 1 ; sh:message " (TransferRequestMessageShape): An dspace:consumerPid property must point exactly one xsd:string field."@en ; ] ; -. \ No newline at end of file +. diff --git a/transfer/message/shape/transfer-start-message-shape.ttl b/transfer/message/shape/transfer-start-message-shape.ttl index e780e70a..53b1b3d1 100644 --- a/transfer/message/shape/transfer-start-message-shape.ttl +++ b/transfer/message/shape/transfer-start-message-shape.ttl @@ -13,7 +13,7 @@ @prefix sh: . -shapes: +dspace_shapes: a owl:Ontology ; sh:declare [ sh:prefix "rdf" ; @@ -25,7 +25,7 @@ shapes: ] ; . -shapes:TransferStartMessageShape +dspace_shapes:TransferStartMessageShape a sh:NodeShape ; sh:targetClass dspace:TransferStartMessage ; diff --git a/transfer/message/shape/transfer-suspension-message-shape.ttl b/transfer/message/shape/transfer-suspension-message-shape.ttl index 54743132..0867189a 100644 --- a/transfer/message/shape/transfer-suspension-message-shape.ttl +++ b/transfer/message/shape/transfer-suspension-message-shape.ttl @@ -13,7 +13,7 @@ @prefix sh: . -shapes: +dspace_shapes: a owl:Ontology ; sh:declare [ sh:prefix "rdf" ; @@ -25,7 +25,7 @@ shapes: ] ; . -shapes:TransferSuspensionMessageShape +dspace_shapes:TransferSuspensionMessageShape a sh:NodeShape ; sh:targetClass dspace:TransferSuspensionMessage ; diff --git a/transfer/message/shape/transfer-termination-message-shape.ttl b/transfer/message/shape/transfer-termination-message-shape.ttl index 9f9de1f2..1e80a40f 100644 --- a/transfer/message/shape/transfer-termination-message-shape.ttl +++ b/transfer/message/shape/transfer-termination-message-shape.ttl @@ -13,7 +13,7 @@ @prefix sh: . -shapes: +dspace_shapes: a owl:Ontology ; sh:declare [ sh:prefix "rdf" ; @@ -25,7 +25,7 @@ shapes: ] ; . -shapes:TransferTerminationMessageShape +dspace_shapes:TransferTerminationMessageShape a sh:NodeShape ; sh:targetClass dspace:TransferTerminationMessage ;