From 058bddfe3a5ee720f8ce290c137a225b7618cf2f Mon Sep 17 00:00:00 2001 From: sebbader-sap <107036549+sebbader-sap@users.noreply.github.com> Date: Thu, 18 Jan 2024 10:25:13 +0100 Subject: [PATCH] remove the dcat distribution examples (#200) --- .../example/dcat.distribution.example.json | 101 ----------- .../dcat.distribution.example.option1.json | 153 ---------------- .../dcat.distribution.example.option2.json | 171 ------------------ 3 files changed, 425 deletions(-) delete mode 100644 catalog/message/example/dcat.distribution.example.json delete mode 100644 catalog/message/example/dcat.distribution.example.option1.json delete mode 100644 catalog/message/example/dcat.distribution.example.option2.json diff --git a/catalog/message/example/dcat.distribution.example.json b/catalog/message/example/dcat.distribution.example.json deleted file mode 100644 index 64ceb3d1..00000000 --- a/catalog/message/example/dcat.distribution.example.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "@context": "https://w3id.org/dspace/v0.8/context.json", - "@id": "http://provider.com/catalog1/dataset1/", - "@type": "dcat:Dataset", - "dct:title": "Dataset #1", - "dct:description": [ - { - "@language": "en", - "@value": "This is the number 1 dataset. The consumer must be a TRUST_PLUS certified connector." - }, - { - "@language": "de", - "@value": "Dies ist das Nummer 1 dataset. Der Consumer muss ein TRUST_PLUS zertifizierter Connector sein." - } - ], - "dcat:keyword": [ - "high value data", - "example" - ], - "odrl:hasPolicy": [ - { - "@id": "https://provider.com/edc/offer/1", - "@type": "odrl:Offer", - "odrl:permission": [ - { - "odrl:action": "odrl:use", - "odrl:constraint": [ - { - "odrl:leftOperand": "idsc:SECURITY_LEVEL", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": "idsc:TRUST_SECURITY_PROFILE" - } - ] - } - ], - "odrl:prohibition": [ - { - "odrl:action": "odrl:distribute" - } - ] - } - ], - "dcat:distribution": [ - { - "@type": "dcat:Distribution", - "dct:title": "Distribution#1", - "dct:description": [ - "This is a distribution which provides the data via a HTTP REST API." - ], - "dcat:keyword": [ - "HTTP", - "REST" - ], - "dspace:transportType": "dspace:HTTP_REST", - "dcat:accessService": [ - { - "@type": [ - "dcat:DataService", - "dspace:NEGOTIATION_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/negotiation" - }, - { - "@type": [ - "dcat:DataService", - "dspace:TRANSFER_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/transfer" - } - ] - }, - { - "@type": "dcat:Distribution", - "dct:title": "Distribution#2", - "dct:description": [ - "This is another distribution using an S3 API." - ], - "dcat:keyword": [ - "S3", - "public" - ], - "dcat:accessService": [ - { - "@type": [ - "dcat:DataService", - "dspace:NEGOTIATION_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/negotiation" - }, - { - "@type": [ - "dcat:DataService", - "dspace:TRANSFER_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/transfer" - } - ], - "dspace:transportType": "dspace:S3" - } - ] - } \ No newline at end of file diff --git a/catalog/message/example/dcat.distribution.example.option1.json b/catalog/message/example/dcat.distribution.example.option1.json deleted file mode 100644 index 749ee86d..00000000 --- a/catalog/message/example/dcat.distribution.example.option1.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "@context": "https://w3id.org/dspace/v0.8/context.json", - "@id": "http://provider.com/catalog1/dataset1/", - "@type": "dcat:Dataset", - "dct:title": "Dataset Collection", - "dct:description": [ - { - "@language": "en", - "@value": "This dataset includes all datasets which identifiers comply to the pattern 'urn:guid:[A-F0-9]{8}\\-[A-F0-9]{4}\\-[A-F0-9]{4}\\-[A-F0-9]{4}\\-[A-F0-9]{12}'. A download via a S3 transfer costs 5 EUR, while the HTTP_REST transfer option costs only 2 EUR. The consumer must be a TRUST_PLUS certfified connector. No further distribution is allowed." - }, - { - "@language": "de", - "@value": "Dieses Dataset bezeichnet alle Datasets, deren Identifier dem Pattern 'urn:guid:[A-F0-9]{8}\\-[A-F0-9]{4}\\-[A-F0-9]{4}\\-[A-F0-9]{4}\\-[A-F0-9]{12}' folgen. Ein Transfer via S3 kostet etwa 5 Euro, wohingegen der Transfer via HTTP_RESt nur mit etwa 2 Euro zu Buche schlägt. Der Consumer muss ein TRUST_PLUS zertifizierter Connetor sein. Eine Weiterverbreitung ist nicht gestattet." - } - ], - "dcat:keyword": [ - "dataspace", - "dcat dataset", - "collection" - ], - "dcat:distribution": [ - { - "@type": "dcat:Distribution", - "dct:title": "Distribution#1", - "dct:description": [ - "This is a distribution everyone can see." - ], - "dcat:keyword": [ - "HTTP", - "REST" - ], - "dspace:transportType": "dspace:HTTP_REST", - "dcat:accessService": [ - { - "@type": [ - "dcat:DataService", - "dspace:NEGOTIATION_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/negotiation" - }, - { - "@type": [ - "dcat:DataService", - "dspace:TRANSFER_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/transfer" - } - ] - }, - { - "@type": "dcat:Distribution", - "dct:title": "Distribution#2", - "dct:description": [ - "This is another distribution." - ], - "dcat:keyword": [ - "S3", - "public" - ], - "dspace:transportType": "dspace:S3", - "dcat:accessService": [ - { - "@type": [ - "dcat:DataService", - "dspace:NEGOTIATION_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/negotiation" - }, - { - "@type": [ - "dcat:DataService", - "dspace:TRANSFER_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/transfer" - } - ] - } - ], - "odrl:hasPolicy": [ - { - "@type": "odrl:Offer", - "@id": "https://provider.com/connector/offer/1", - "odrl:permission": [ - { - "odrl:action": "odrl:use", - "odrl:constraint": [ - { - "odrl:leftOperand": "idsc:SECURITY_LEVEL", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": "idsc:TRUST_PLUS_SECURITY_PROFILE" - } - ], - "odrl:duty": [ - { - "odrl:action": "odrl:compensate", - "odrl:constraint": [ - { - "odrl:xone": [ - { - "odrl:and": [ - { - "odrl:leftOperand": "dspace:TRANSPORT", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": "dspace:S3" - }, - { - "odrl:leftOperand": "odrl:payAmount", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": { - "@type": "xsd:decimal", - "@value": "5.0" - }, - "odrl:unit": { - "@id": "http://dbpedia.org/resource/Euro" - } - } - ] - }, - { - "odrl:and": [ - { - "odrl:leftOperand": "dspace:TRANSPORT", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": "dspace:HTTP_REST" - }, - { - "odrl:leftOperand": "odrl:payAmount", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": { - "@type": "xsd:decimal", - "@value": "2.0" - }, - "odrl:unit": { - "@id": "http://dbpedia.org/resource/Euro" - } - } - ] - } - ] - } - ] - } - ] - } - ], - "odrl:prohibition": [ - { - "odrl:action": "odrl:distribute" - } - ] - } - ] -} diff --git a/catalog/message/example/dcat.distribution.example.option2.json b/catalog/message/example/dcat.distribution.example.option2.json deleted file mode 100644 index a5400689..00000000 --- a/catalog/message/example/dcat.distribution.example.option2.json +++ /dev/null @@ -1,171 +0,0 @@ -{ - "@context": "https://w3id.org/dspace/v0.8/context.json", - "@id": "http://provider.com/catalog1/dataset1/", - "@type": "dcat:Dataset", - "dct:title": "Dataset Collection", - "dct:description": [ - { - "@language": "en", - "@value": "This dataset includes all datasets which identifiers comply to the pattern 'urn\\:guid\\:[A-F0-9]{8}\\-[A-F0-9]{4}\\-[A-F0-9]{4}\\-[A-F0-9]{4}\\-[A-F0-9]{12}'. A download via an S3 transfer costs 5 EUR, while the HTTP_REST transfer option costs only 2 EUR. The consumer must be a TRUST_PLUS certfified connector. No further distribution is allowed." - }, - { - "@language": "de", - "@value": "Dieses Dataset bezeichnet alle Datasets, deren Identifier dem Pattern 'urn:guid:[A-F0-9]{8}\\-[A-F0-9]{4}\\-[A-F0-9]{4}\\-[A-F0-9]{4}\\-[A-F0-9]{12}' folgen. Ein Transfer via S3 kostet etwa 5 Euro, wohingegen der Transfer via HTTP_RESt nur mit etwa 2 Euro zu Buche schlägt.. Der Consumer muss ein TRUST_PLUS zertifizierter Connetor sein. Eine Weiterverbreitung ist nicht gestattet." - } - ], - "dcat:keyword": [ - "dataspace", - "dcat dataset", - "collection" - ], - "dcat:distribution": [ - { - "@type": "dcat:Distribution", - "dct:title": "Distribution#1", - "dct:description": [ - "This is a distribution everyone can see." - ], - "dcat:keyword": [ - "HTTP", - "REST" - ], - "dspace:transportType": "dspace:HTTP_REST", - "odrl:hasPolicy": [ - { - "@type": "odrl:Offer", - "@id": "https://provider.com/edc/offer/1", - "odrl:permission": [ - { - "odrl:action": "odrl:use", - "odrl:constraint": [ - { - "odrl:leftOperand": "idsc:SECURITY_LEVEL", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": "idsc:TRUST_PLUS_SECURITY_PROFILE" - } - ], - "odrl:duty": [ - { - "odrl:action": "odrl:compensate", - "odrl:constraint": [ - { - "odrl:leftOperand": "dspace:TRANSPORT", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": "dspace:HTTP_REST" - }, - { - "odrl:leftOperand": "odrl:payAmount", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": { - "@type": "xsd:decimal", - "@value": "2.0" - }, - "odrl:unit": { - "@id": "http://dbpedia.org/resource/Euro" - } - } - ] - } - ] - } - ], - "odrl:prohibition": [ - { - "odrl:action": "odrl:distribute" - } - ] - } - ], - "dcat:accessService": [ - { - "@type": [ - "dcat:DataService", - "dspace:NEGOTIATION_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/negotiation" - }, - { - "@type": [ - "dcat:DataService", - "dspace:TRANSFER_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/transfer" - } - ] - }, - { - "@type": "dcat:Distribution", - "dct:description": [ - "This is another distribution." - ], - "dct:title": "Distribution#2", - "dcat:accessService": [ - { - "@type": [ - "dcat:DataService", - "dspace:NEGOTIATION_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/negotiation" - }, - { - "@type": [ - "dcat:DataService", - "dspace:TRANSFER_SERVICE" - ], - "dcat:endpointURL": "https://provider.com/connector/transfer" - } - ], - "dcat:keyword": [ - "S3", - "public" - ], - "odrl:hasPolicy": [ - { - "@id": "https://provider.com/edc/offer/1", - "@type": "odrl:Offer", - "odrl:permission": [ - { - "odrl:action": "odrl:use", - "odrl:constraint": [ - { - "odrl:leftOperand": "idsc:SECURITY_LEVEL", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": "idsc:TRUST_PLUS_SECURITY_PROFILE" - } - ], - "odrl:duty": [ - { - "odrl:action": "odrl:compensate", - "odrl:constraint": [ - { - "odrl:leftOperand": "dspace:TRANSPORT", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": "dspace:S3" - }, - { - "odrl:leftOperand": "odrl:payAmount", - "odrl:operator": "odrl:eq", - "odrl:rightOperand": { - "@type": "xsd:decimal", - "@value": "5.0" - }, - "odrl:unit": { - "@id": "http://dbpedia.org/resource/Euro" - } - } - ] - } - ] - } - ], - "odrl:prohibition": [ - { - "odrl:action": "odrl:distribute" - } - ] - } - ], - "dspace:transportType": "dspace:S3" - } - ] - } \ No newline at end of file