Skip to content

Commit 027f4df

Browse files
authored
Removed unused schemas in commons (#23)
Removed unused schemas in commons: - activitywithprotocol: the hadProtocolValueShape is embeded in commons/protocol - experiment - measurement Removed target declarations in commons for: - person - organization
1 parent 0612536 commit 027f4df

File tree

10 files changed

+17
-104
lines changed

10 files changed

+17
-104
lines changed

modules/atlas/src/main/resources/schemas/neurosciencegraph/atlas/atlasconstruction/v0.1.0.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77
],
88
"imports": [
9-
"{{base}}/schemas/neurosciencegraph/commons/activitywithprotocol/v0.1.0",
9+
"{{base}}/schemas/neurosciencegraph/commons/activity/v0.1.0",
1010
"{{base}}/schemas/neurosciencegraph/commons/typedlabeledontologyterm/v0.1.0"
1111
],
1212
"@type": "nxv:Schema",
@@ -19,7 +19,7 @@
1919
"targetClass": "nsg:AtlasConstruction",
2020
"and": [
2121
{
22-
"node": "{{base}}/schemas/neurosciencegraph/commons/activitywithprotocol/v0.1.0/shapes/ActivityShape"
22+
"node": "{{base}}/schemas/neurosciencegraph/commons/activity/v0.1.0/shapes/ActivityShape"
2323
},
2424
{
2525
"property": [

modules/atlas/src/test/resources/data/neurosciencegraph/atlas/atlasconstruction/v0.1.0/all-fields-generated.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,30 @@
77
"generated": [
88
{
99
"@type": [
10-
"nsg:ParcellationImageData"
10+
"nsg:ParcellationImageData",
11+
"prov:Entity"
1112
],
1213
"@id": "{{base}}/data/neurosciencegraph/atlas/parcellationimagedata/v0.1.21/fd80b57a-9333-4aa2-9d59-7f7dd3a25a92"
1314
},
1415
{
1516
"@type": [
16-
"nsg:ParcellationLabel"
17+
"nsg:ParcellationLabel",
18+
"prov:Entity"
1719
],
1820
"@id": "{{base}}/data/neurosciencegraph/atlas/parcellationlabel/v0.1.0/cf43d997-b012-486f-bd4b-1b2cc70b3454"
1921
},
2022
{
2123
"@type": [
22-
"nsg:TemplateImageData"
24+
"nsg:TemplateImageData",
25+
"prov:Entity"
2326
],
2427
"@id": "{{base}}/data/neurosciencegraph/atlas/templateimagedata/v0.1.0/df43d997-b012-486f-bd4b-1b2cc70b3454"
2528
}
2629
],
2730
"used": {
2831
"@type": [
29-
"nsg:Collection"
32+
"nsg:Collection",
33+
"prov:Entity"
3034
],
3135
"@id": "{{base}}/data/neurosciencegraph/experiment/subjectcollection/v0.1.0/5fdad89d-bb70-40f3-a5ea-cd2555395b7d"
3236
}

modules/atlas/src/test/resources/data/neurosciencegraph/atlas/atlasconstruction/v0.1.0/min-fields.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
"generated": [
88
{
99
"@type": [
10-
"nsg:ParcellationImageData"
10+
"nsg:ParcellationImageData",
11+
"prov:Entity"
1112
],
1213
"@id": "{{base}}/data/neurosciencegraph/atlas/parcellationimagedata/v0.1.21/fd80b57a-9333-4aa2-9d59-7f7dd3a25a92"
1314
},
1415
{
1516
"@type": [
16-
"nsg:ParcellationLabel"
17+
"nsg:ParcellationLabel",
18+
"prov:Entity"
1719
],
1820
"@id": "{{base}}/data/neurosciencegraph/atlas/parcellationlabel/v0.1.0/cf43d997-b012-486f-bd4b-1b2cc70b3454"
1921
}

modules/commons/src/main/resources/schemas/neurosciencegraph/commons/activitywithprotocol/v0.1.0.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

modules/commons/src/main/resources/schemas/neurosciencegraph/commons/experiment/v0.1.0.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

modules/commons/src/main/resources/schemas/neurosciencegraph/commons/measurement/v0.1.0.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

modules/commons/src/main/resources/schemas/neurosciencegraph/commons/organization/v0.1.0.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"http://schema.org/Organization",
2121
"https://www.grid.ac"
2222
],
23-
"targetClass": "nsg:Organization",
2423
"nodeKind": "sh:BlankNodeOrIRI",
2524
"and": [
2625
{

modules/commons/src/main/resources/schemas/neurosciencegraph/commons/person/v0.1.0.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"@id": "this:PersonShape",
1717
"@type": "sh:NodeShape",
1818
"label": "Schema.org person specification is used as a vocabulary to describe a person.",
19-
"targetClass": "nsg:Person",
2019
"nodeKind": "sh:BlankNodeOrIRI",
2120
"and": [
2221
{

modules/commons/src/main/resources/schemas/neurosciencegraph/commons/quantitativevalue/v0.1.0.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464
{
6565
"property": [
6666
{
67-
"path": "schema:repetions",
67+
"path": "schema:repetitions",
6868
"name": "Repetitions",
6969
"description": "Number of repetitions of an activity (a measurement for example).",
70-
"or": [
70+
"xone": [
7171
{
7272
"datatype": "xsd:integer"
7373
},

modules/electrophysiology/src/main/resources/schemas/neurosciencegraph/electrophysiology/tracegeneration/v0.1.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"path": "nsg:measuredHoldingPotential",
7373
"name": "Measured holding potential",
7474
"description": "Measured holding potential of patched cell.",
75-
"node": "{{base}}/schemas/neurosciencegraph/commons/quantitativevalue/v0.1.0/shapes/RepeatedQuantitativeMeasurementShape",
75+
"node": "{{base}}/schemas/neurosciencegraph/commons/quantitativevalue/v0.1.0/shapes/RepeatedQuantitativeValueShape",
7676
"maxCount": 1
7777
},
7878
{

0 commit comments

Comments
 (0)