Skip to content

Commit ca929b4

Browse files
committed
Unify SHACL shapes indentation
1 parent 9eeb9ac commit ca929b4

16 files changed

Lines changed: 56 additions & 56 deletions

fixtures/0200_metadata-schemas_resource.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"version": "1.0.0",
1313
"name": "Resource",
1414
"description": "",
15-
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix dash: <http://datashapes.org/dash#> .\n@prefix dcat: <http://www.w3.org/ns/dcat#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:ResourceShape a sh:NodeShape ;\n sh:targetClass dcat:Resource ;\n sh:property [\n sh:path dct:title ;\n sh:nodeKind sh:Literal ;\n sh:minCount 1 ;\n sh:maxCount 1 ;\n dash:editor dash:TextFieldEditor ;\n sh:order 1 ;\n ], [\n sh:path dct:description ;\n sh:nodeKind sh:Literal ;\n sh:maxCount 1 ;\n dash:editor dash:TextAreaEditor ;\n sh:order 2 ;\n ], [\n sh:path dct:publisher ;\n sh:node :AgentShape ;\n sh:minCount 1 ;\n sh:maxCount 1 ;\n dash:editor dash:BlankNodeEditor ;\n sh:order 3 ;\n ], [\n sh:path dcat:version ;\n sh:name \"version\" ;\n sh:nodeKind sh:Literal ;\n sh:minCount 1 ;\n sh:maxCount 1 ;\n dash:editor dash:TextFieldEditor ;\n dash:viewer dash:LiteralViewer ;\n sh:order 4 ;\n ], [\n sh:path dct:language ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n sh:defaultValue <http://id.loc.gov/vocabulary/iso639-1/en> ;\n sh:order 5 ;\n ], [\n sh:path dct:license ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n sh:defaultValue <http://purl.org/NET/rdflicense/cc-zero1.0> ;\n sh:order 6 ;\n ], [\n sh:path dct:rights ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n sh:order 7 ;\n ] .\n\n:AgentShape a sh:NodeShape ;\n sh:targetClass foaf:Agent ;\n sh:property [\n sh:path foaf:name ;\n sh:nodeKind sh:Literal ;\n sh:minCount 1 ;\n sh:maxCount 1 ;\n dash:editor dash:TextFieldEditor ;\n ] .\n",
15+
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix dash: <http://datashapes.org/dash#> .\n@prefix dcat: <http://www.w3.org/ns/dcat#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:ResourceShape a sh:NodeShape ;\n sh:targetClass dcat:Resource ;\n sh:property [\n sh:path dct:title ;\n sh:nodeKind sh:Literal ;\n sh:minCount 1 ;\n sh:maxCount 1 ;\n dash:editor dash:TextFieldEditor ;\n ], [\n sh:path dct:description ;\n sh:nodeKind sh:Literal ;\n sh:maxCount 1 ;\n dash:editor dash:TextAreaEditor ;\n ], [\n sh:path dct:publisher ;\n sh:node :AgentShape ;\n sh:minCount 1 ;\n sh:maxCount 1 ;\n dash:editor dash:BlankNodeEditor ;\n ], [\n sh:path dcat:version ;\n sh:name \"version\" ;\n sh:nodeKind sh:Literal ;\n sh:minCount 1 ;\n sh:maxCount 1 ;\n dash:editor dash:TextFieldEditor ;\n dash:viewer dash:LiteralViewer ;\n ], [\n sh:path dct:language ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n ], [\n sh:path dct:license ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n ], [\n sh:path dct:rights ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n ] .\n\n:AgentShape a sh:NodeShape ;\n sh:targetClass foaf:Agent ;\n sh:property [\n sh:path foaf:name;\n sh:nodeKind sh:Literal ;\n sh:minCount 1 ;\n sh:maxCount 1 ;\n dash:editor dash:TextFieldEditor ;\n ] .\n",
1616
"targetClasses": ["http://www.w3.org/ns/dcat#Resource"],
1717
"type": "INTERNAL",
1818
"origin": null,

fixtures/0210_metadata-schemas_data-service.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"version": "1.0.0",
1313
"name": "Data Service",
1414
"description": "",
15-
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix dash: <http://datashapes.org/dash#> .\n@prefix dcat: <http://www.w3.org/ns/dcat#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:DataServiceShape a sh:NodeShape ;\n sh:targetClass dcat:DataService ;\n sh:property [\n sh:path dcat:endpointURL ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n sh:order 20 ;\n ] , [\n sh:path dcat:endpointDescription ;\n sh:nodeKind sh:Literal ;\n sh:maxCount 1 ;\n dash:editor dash:TextAreaEditor ;\n dash:viewer dash:LiteralViewer ;\n sh:order 21 ;\n ] .\n",
15+
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix dash: <http://datashapes.org/dash#> .\n@prefix dcat: <http://www.w3.org/ns/dcat#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:DataServiceShape a sh:NodeShape ;\n sh:targetClass dcat:DataService ;\n sh:property [\n sh:path dcat:endpointURL ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n ] , [\n sh:path dcat:endpointDescription ;\n sh:nodeKind sh:Literal ;\n sh:maxCount 1 ;\n dash:editor dash:TextAreaEditor ;\n dash:viewer dash:LiteralViewer ;\n] .\n",
1616
"targetClasses": [
1717
"http://www.w3.org/ns/dcat#Resource",
1818
"http://www.w3.org/ns/dcat#DataService"

fixtures/0220_metadata-schemas_metadata-service.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"version": "1.0.0",
1313
"name": "Metadata Service",
1414
"description": "",
15-
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix fdp: <https://w3id.org/fdp/fdp-o#> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n\n:MetadataServiceShape a sh:NodeShape ;\n sh:targetClass fdp:MetadataService .\n",
15+
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix fdp: <https://w3id.org/fdp/fdp-o#> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n\n:MetadataServiceShape a sh:NodeShape ;\n sh:targetClass fdp:MetadataService .\n",
1616
"targetClasses": [
1717
"http://www.w3.org/ns/dcat#Resource",
1818
"http://www.w3.org/ns/dcat#DataService",

fixtures/0230_metadata-schemas_fdp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"version": "1.0.0",
1313
"name": "FAIR Data Point",
1414
"description": "",
15-
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix dash: <http://datashapes.org/dash#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix fdp: <https://w3id.org/fdp/fdp-o#> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:FDPShape a sh:NodeShape ;\n sh:targetClass fdp:FAIRDataPoint ;\n sh:property [\n sh:path fdp:startDate ;\n sh:datatype xsd:date ;\n sh:maxCount 1 ;\n dash:editor dash:DatePickerEditor ;\n dash:viewer dash:LiteralViewer ;\n sh:order 40 ;\n ] , [\n sh:path fdp:endDate ;\n sh:datatype xsd:date ;\n sh:maxCount 1 ;\n dash:editor dash:DatePickerEditor ;\n dash:viewer dash:LiteralViewer ;\n sh:order 41 ;\n ] , [\n sh:path fdp:uiLanguage ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n sh:defaultValue <http://id.loc.gov/vocabulary/iso639-1/en>;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n sh:order 42 ;\n ] , [\n sh:path fdp:metadataIdentifier ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n sh:order 43 ;\n ] .\n",
15+
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix dash: <http://datashapes.org/dash#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix fdp: <https://w3id.org/fdp/fdp-o#> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:FDPShape a sh:NodeShape ;\n sh:targetClass fdp:FAIRDataPoint ;\n sh:property [\n sh:path fdp:startDate ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:editor dash:DatePickerEditor ;\n dash:viewer dash:LiteralViewer ;\n ] , [\n sh:path fdp:endDate ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:editor dash:DatePickerEditor ;\n dash:viewer dash:LiteralViewer ;\n ] , [\n sh:path fdp:uiLanguage ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n sh:defaultValue <http://id.loc.gov/vocabulary/iso639-1/en>;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n ] , [\n sh:path fdp:metadataIdentifier ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n ] , [\n sh:path fdp:metadataIssued ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:editor dash:DatePickerEditor ;\n dash:viewer dash:LiteralViewer ;\n ] , [\n sh:path fdp:metadataModified ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:editor dash:DatePickerEditor ;\n dash:viewer dash:LiteralViewer ;\n ] .\n",
1616
"targetClasses": [
1717
"http://www.w3.org/ns/dcat#Resource",
1818
"http://www.w3.org/ns/dcat#DataService",

fixtures/0240_metadata-schemas_catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"version": "1.0.0",
1313
"name": "Catalog",
1414
"description": "",
15-
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix dash: <http://datashapes.org/dash#> .\n@prefix dcat: <http://www.w3.org/ns/dcat#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:CatalogShape a sh:NodeShape ;\n sh:targetClass dcat:Catalog ;\n sh:property [\n sh:path dct:issued ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:viewer dash:LiteralViewer ;\n sh:order 20 ;\n ], [\n sh:path dct:modified ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:viewer dash:LiteralViewer ;\n sh:order 21 ;\n ], [\n sh:path foaf:homePage ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n sh:order 22 ;\n ], [\n sh:path dcat:themeTaxonomy ;\n sh:nodeKind sh:IRI ;\n dash:viewer dash:LabelViewer ;\n sh:order 23 ;\n ] .\n",
15+
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix dash: <http://datashapes.org/dash#> .\n@prefix dcat: <http://www.w3.org/ns/dcat#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:CatalogShape a sh:NodeShape ;\n sh:targetClass dcat:Catalog ;\n sh:property [\n sh:path dct:issued ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:viewer dash:LiteralViewer ;\n ], [\n sh:path dct:modified ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:viewer dash:LiteralViewer ;\n ], [\n sh:path foaf:homePage ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n ], [\n sh:path dcat:themeTaxonomy ;\n sh:nodeKind sh:IRI ;\n dash:viewer dash:LabelViewer ;\n ] .\n",
1616
"targetClasses": [
1717
"http://www.w3.org/ns/dcat#Resource",
1818
"http://www.w3.org/ns/dcat#Catalog"

fixtures/0250_metadata-schemas_dataset.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"version": "1.0.0",
1313
"name": "Dataset",
1414
"description": "",
15-
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix dash: <http://datashapes.org/dash#> .\n@prefix dcat: <http://www.w3.org/ns/dcat#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:DatasetShape a sh:NodeShape ;\n sh:targetClass dcat:Dataset ;\n sh:property [\n sh:path dct:issued ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:editor dash:DateTimePickerEditor ;\n dash:viewer dash:LiteralViewer ;\n sh:order 20 ;\n ], [\n sh:path dct:modified ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:editor dash:DateTimePickerEditor ;\n dash:viewer dash:LiteralViewer ;\n sh:order 21 ;\n ], [\n sh:path dcat:theme ;\n sh:nodeKind sh:IRI ;\n sh:minCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n sh:order 22 ;\n ], [\n sh:path dcat:contactPoint ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n sh:order 23 ;\n ], [\n sh:path dcat:keyword ;\n sh:nodeKind sh:Literal ;\n dash:editor dash:TextFieldEditor ;\n dash:viewer dash:LiteralViewer ;\n sh:order 24 ;\n ], [\n sh:path dcat:landingPage ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n sh:order 25 ;\n ] .\n",
15+
"definition": "@prefix : <http://fairdatapoint.org/> .\n@prefix dash: <http://datashapes.org/dash#> .\n@prefix dcat: <http://www.w3.org/ns/dcat#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n:DatasetShape a sh:NodeShape ;\n sh:targetClass dcat:Dataset ;\n sh:property [\n sh:path dct:issued ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:editor dash:DatePickerEditor ;\n dash:viewer dash:LiteralViewer ;\n ], [\n sh:path dct:modified ;\n sh:datatype xsd:dateTime ;\n sh:maxCount 1 ;\n dash:editor dash:DatePickerEditor ;\n dash:viewer dash:LiteralViewer ;\n ], [\n sh:path dcat:theme ;\n sh:nodeKind sh:IRI ;\n sh:minCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n ], [\n sh:path dcat:contactPoint ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n ], [\n sh:path dcat:keyword ;\n sh:nodeKind sh:Literal ;\n dash:editor dash:TextFieldEditor ;\n dash:viewer dash:LiteralViewer ;\n ], [\n sh:path dcat:landingPage ;\n sh:nodeKind sh:IRI ;\n sh:maxCount 1 ;\n dash:editor dash:URIEditor ;\n dash:viewer dash:LabelViewer ;\n ] .\n",
1616
"targetClasses": [
1717
"http://www.w3.org/ns/dcat#Resource",
1818
"http://www.w3.org/ns/dcat#Dataset"

0 commit comments

Comments
 (0)