-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding DCAT into JSON schema * catalog schema DCAT fix * fix catalog schema - DCAT * fix catalog schema type error - DCAT * DCAT catalog-shape added for Catalog class * fix typo in DCAT of catalog schema * fix type of dct:modified in DCAT of catalog schema * DCAT dcat:CatalogRecord class added to catalog shape * fix DCAT referecen in Resource catalog * DCAT wrong property of Resource removed * Fix DCAT catalog property of Resource * ResourceShape added to catalog-shape.ttl * RelationshipShape added to catalog-shape.ttl * DCAT fix issue in skos:Concept * DCAT ConceptShape ConceptSchemeShape and AgentShape added * DCAT fix of Dataset property * DCAT DatasetShape added * DCAT DataServiceShape added * DCAT Distribution catalog issue in type * DCAT typo in property * DCAT DataServiceShape added * add references for reused classes & datatypes * clean up on schema * properties changed * refactoring * refactoring * change dct:issued from string to dateTime * fix dct:language from xsd:string to referencing a resource * correcting hasPolicy declarations * reviewing the catalog json schema * refactor catalog json schema * add odrl policy json schema * fix syntax bugs in catalog json schema and adding foaf to the context.json * fix bugs in catalog and contract json schemas * fix examples to match to the catalog and contract json schemas * replace relative reference to the contract-schema.json with an absolute url * fix findings from mkollenstart's review * testing negotiation-subtask-1.1 branch * removing the test change * unwnated characters * Task #1: fix schemas and examples in "negotiation" * correct references to GitHub raw files * making 'required' field compatible to json 2019-09 * changes suggested by Sebastian * changes to processId, correcting ref, removing Sec * chnages since last review * left over change * missing s in dspace * removing RightOperand property * chnage in Permission, Json validated * catalog subtask changes * reverting dspace:filter type to object * re-introducing updates to the json schemas * fix filter in contract-request-message-schema * fixing schema in "Transfer" * Trying Shapes validation with Json-LD * debugging catalog shapes * fixing shapes in Catalog * Negotaitaion Shapes validation * Remove the ContractAgreement shape * add the AgreementShape * Negotiation shapes correction * conflict merge * schema and shapes re-validating after merge * change assigner and assignee to string * introduve verifiable credential structure to agreement msg * adjust agreement msg example to vc pattern * comment error * Catalog shapes changes * Shapes and schema validation for Transfer * Introduce sh:IRI pattern for agreementId * correction for dspace:reason and others * dataset schema and puml * Update catalog-error-schema.json - remove "dspace:code" and "dspace:reason" as mandatory * Update dataset-schema.json - remove "dct:title" and "dct:description" as mandatory * agreement verification change * Transfer Messages - shapes and schema validation * removing "@id" from transfer messages * correction for catalog schema * error handling * pull request #11 changes * pull request changes * new chnages to editorial-rework * merge editorial-rework to shapes-and-schemas * fix last findings --------- Co-authored-by: Thomas Ryborz <[email protected]> Co-authored-by: tr-sap <[email protected]> Co-authored-by: SimantVerma-Bcone <[email protected]> Co-authored-by: simantvermasap <[email protected]>
- Loading branch information
1 parent
815aedc
commit 11cb69e
Showing
35 changed files
with
152 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,5 @@ dspace_shapes:CatalogRequestMessageShape | |
a sh:PropertyShape ; | ||
sh:path dspace:filter ; | ||
] ; | ||
|
||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix dcat: <http://www.w3.org/ns/dcat#> . | ||
@prefix odrl: <http://www.w3.org/ns/odrl/2/> . | ||
@prefix cred: <https://www.w3.org/2018/credentials#> . | ||
@prefix sec: <https://w3id.org/security#> . | ||
@prefix prov: <http://www.w3.org/ns/prov#> . | ||
|
||
@prefix dspace: <https://w3id.org/dspace/v0.8/> . | ||
@prefix dspace_shapes: <https://w3id.org/dspace/shapes/v0.8/> . | ||
|
||
@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
|
||
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 "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/dataset-shape.ttl> (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 "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/dataset-shape.ttl> (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 "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/dataset-shape.ttl> (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 "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/dataset-shape.ttl> (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 "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/dataset-shape.ttl> (DatasetShape): An odrl:hasPolicy property must point to an odrl:Policy."@en ; | ||
] ; | ||
|
||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,4 +61,4 @@ | |
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
}, | ||
"dspace:signature": {}, | ||
"dspace:callbackAddress": "https://......" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ | |
"@language": "en" | ||
} | ||
] | ||
} | ||
} |
12 changes: 6 additions & 6 deletions
12
releases/v0.8/negotiation/message/contract-negotiation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ | |
}] | ||
}, | ||
"dspace:callbackAddress": "https://......" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
"odrl:target": "urn:uuid:3dd1add8-4d2d-569e-d634-8394a8836a88" | ||
}, | ||
"dspace:callbackAddress": "https://......" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ | |
{}, | ||
{} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ | |
{}, | ||
{} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ | |
{}, | ||
{} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.