Skip to content

Commit

Permalink
update manifest
Browse files Browse the repository at this point in the history
Signed-off-by: jtdemer <[email protected]>
  • Loading branch information
jtdemer committed Oct 25, 2024
1 parent dd4ace9 commit 664a785
Show file tree
Hide file tree
Showing 8 changed files with 163 additions and 172 deletions.
32 changes: 25 additions & 7 deletions Shacls_and_Ontologies/EVES/manifest/manifest_shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,33 @@ manifest:DataShape a sh:NodeShape ;
sh:order 2 ;
sh:path manifest:assetData
],
[ skos:example "screenshot, video, routing, 3d preview" ;
sh:description "Reference to media data as relativePath"@en ;
sh:message "Validation of media failed!"@en ;
[ skos:example "license type" ;
sh:in ("OpenSource" "ProviderSpecific") ;
sh:message "Validation of license type failed!"@en ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:name "licenseType"@en ;
sh:order 3 ;
sh:path manifest:licenseType
],
[ skos:example "link to licenseData" ;
sh:description "link to licenseData as relativePath"@en ;
sh:message "Validation of licenseData failed!"@en ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:name "licenseData"@en ;
sh:node manifest:LinkShape ;
sh:order 4 ;
sh:path manifest:licenseData
],
[ skos:example "screenshot, video, routing, 3d preview" ;
sh:description "Reference to content data as relativePath"@en ;
sh:message "Validation of content failed!"@en ;
sh:name "contentData"@en ;
sh:node manifest:LinkShape ;
sh:order 3 ;
sh:order 5 ;
sh:path manifest:contentData
];

sh:targetClass manifest:Data .

manifest:LinkShape a sh:NodeShape ;
Expand All @@ -59,7 +77,7 @@ manifest:LinkShape a sh:NodeShape ;
sh:path manifest:accessRole
],
[ sh:datatype xsd:string ;
sh:in ("Document" "Image" "Model" "Routing" "Video" "3DPreview" "Asset" "Metadata" "License" "Validation" "AssetData") ;
sh:in ("Document" "Image" "Model" "Routing" "Video" "3DPreview" "Asset" "Metadata" "License" "Validation" "AssetData" "other") ;
sh:message "Validation of type failed!"@en ;
sh:description "Choose type of link." ;
sh:name "type"@en ;
Expand All @@ -69,7 +87,7 @@ manifest:LinkShape a sh:NodeShape ;
sh:path manifest:type
],
[ sh:datatype xsd:string ;
sh:in ("pdf" "png" "mp4" "geojson" "zip" "json" "txt" "xodr" "md") ;
sh:in ("pdf" "png" "mp4" "geojson" "zip" "json" "txt" "xodr" "md" "other") ;
sh:message "Validation of format failed!"@en ;
sh:description "Choose an format." ;
sh:name "format"@en ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
| Shape | Property prefix | Property | MinCount | MaxCount | Description | Datatype/NodeKind | Filename |
| --- | --- | --- | --- | --- | --- | --- | --- |
| GeneralShape | general | description | 1 | 1 | description object with property for name and description | | general_shacl.ttl |
| GeneralShape | general | data | 1 | 1 | data object with property for size, id and record time | | general_shacl.ttl |
| GeneralShape | general | data | 1 | 1 | data object with property for size and record time | | general_shacl.ttl |
| GeneralShape | general | range2D | | 1 | min and max value of range2D object | | general_shacl.ttl |
| DescriptionShape | general | name | 1 | 1 | A human readable name of the entity. | <http://www.w3.org/2001/XMLSchema#string> | general_shacl.ttl |
| DescriptionShape | general | description | 1 | 1 | A free text description of the entity. | <http://www.w3.org/2001/XMLSchema#string> | general_shacl.ttl |
| DataShape | general | size | 1 | 1 | Size of the file to be downloaded in MB. | <http://www.w3.org/2001/XMLSchema#float> | general_shacl.ttl |
| DataShape | general | contractId | 1 | 1 | Contract information in regards to the data exchange component. | <http://www.w3.org/2001/XMLSchema#string> | general_shacl.ttl |
| DataShape | general | recordingTime | | 1 | Time of data acquisition used to generate the asset, if partial measurement: oldest date | <http://www.w3.org/2001/XMLSchema#dateTime> | general_shacl.ttl |
| Range2DShape | general | max | | | | <http://www.w3.org/2001/XMLSchema#float> | general_shacl.ttl |
| Range2DShape | general | min | | | | <http://www.w3.org/2001/XMLSchema#float> | general_shacl.ttl |
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
"@value": "5.8",
"@type": "xsd:float"
},
"general:contractId": {
"@value": "ntract_zcdkr7kqd47y0w5b4tg91w1etw",
"@type": "xsd:string"
},
"general:recordingTime": {
"@value": "2024-04-01T00:00:00",
"@type": "xsd:dateTime"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ general:GeneralShape a sh:NodeShape ;
sh:minCount 1 ;
sh:node general:DataShape ;
sh:name "data object" ;
sh:description "data object with property for size, id and record time" ;
sh:description "data object with property for size and record time" ;
sh:order 2 ;
sh:path general:data ],
[ sh:maxCount 1 ;
Expand Down Expand Up @@ -55,23 +55,13 @@ general:DataShape a sh:NodeShape ;
sh:name "size" ;
sh:order 1 ;
sh:path general:size ],
# contractId ?
[ sh:datatype xsd:string ;
sh:description "Contract information in regards to the data exchange component." ;
skos:example "contract_zcdkr7kqd47y0w5b4tg91w1etw" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "contractId" ;
sh:order 2 ;
sh:path general:contractId ],
#
[ skos:example "2022-04-01 00:00:00" ;
sh:datatype xsd:dateTime ;
sh:description "Time of data acquisition used to generate the asset, if partial measurement: oldest date"@en ;
sh:maxCount 1 ;
sh:message "Validation of recordingTime failed!"@en ;
sh:name "recordingTime"@en ;
sh:order 3 ;
sh:order 2 ;
sh:path general:recordingTime ] ;
sh:targetClass general:Data .

Expand Down
14 changes: 2 additions & 12 deletions Shacls_and_Ontologies/used-shacls/domainMetadata_shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -309,24 +309,14 @@ general:DataShape a sh:NodeShape ;
sh:minCount 1 ;
sh:name "size" ;
sh:order 1 ;
sh:path general:size ],
# contractId ?
[ sh:datatype xsd:string ;
sh:description "Contract information in regards to the data exchange component." ;
skos:example "contract_zcdkr7kqd47y0w5b4tg91w1etw" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "contractId" ;
sh:order 2 ;
sh:path general:contractId ],
#
sh:path general:size ],
[ skos:example "2022-04-01 00:00:00" ;
sh:datatype xsd:dateTime ;
sh:description "Time of data acquisition used to generate the asset, if partial measurement: oldest date"@en ;
sh:maxCount 1 ;
sh:message "Validation of recordingTime failed!"@en ;
sh:name "recordingTime"@en ;
sh:order 3 ;
sh:order 2 ;
sh:path general:recordingTime ] ;
sh:targetClass general:Data .

Expand Down
2 changes: 1 addition & 1 deletion asset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This repo serves as a reference for onboarding an HD-Map asset into the data spa

A complete **`asset`** in a specific domain includes the data itself and all necessary files for describing, evaluating, and visualizing the dataset.

The **'asset'** has a specific following folder structure and the sample can be downloaded here in this repo from the lastest release (**`asset.zip`**).
The **`asset`** has a specific following folder structure and the sample can be downloaded here in this repo from the lastest release (**`asset.zip`**).


## Asset Folder Structure
Expand Down
Loading

0 comments on commit 664a785

Please sign in to comment.