Skip to content

Commit 7ecea26

Browse files
updates schemas [skip actions]
1 parent a18ed50 commit 7ecea26

File tree

4 files changed

+39
-27
lines changed

4 files changed

+39
-27
lines changed

schemas/instrument_schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7341,8 +7341,8 @@
73417341
"type": "string"
73427342
},
73437343
"schema_version": {
7344-
"const": "0.10.10",
7345-
"default": "0.10.10",
7344+
"const": "0.10.11",
7345+
"default": "0.10.11",
73467346
"title": "Schema Version"
73477347
},
73487348
"instrument_id": {
@@ -7355,7 +7355,7 @@
73557355
}
73567356
],
73577357
"default": null,
7358-
"description": "Unique identifier for this instrument. Naming convention: <room>-<apparatus>-<version>",
7358+
"description": "Unique identifier for this instrument. Naming convention: <room>-<apparatus>-<date modified>",
73597359
"title": "Instrument ID"
73607360
},
73617361
"modification_date": {

schemas/metadata_schema.json

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8007,9 +8007,13 @@
80078007
"title": "Core diameter (um)"
80088008
},
80098009
"core_diameter_unit": {
8010-
"default": "um",
8011-
"title": "Core diameter unit",
8012-
"type": "string"
8010+
"allOf": [
8011+
{
8012+
"$ref": "#/$defs/SizeUnit"
8013+
}
8014+
],
8015+
"default": "micrometer",
8016+
"title": "Core diameter unit"
80138017
},
80148018
"numerical_aperture": {
80158019
"anyOf": [
@@ -10867,8 +10871,8 @@
1086710871
"type": "string"
1086810872
},
1086910873
"schema_version": {
10870-
"const": "0.10.10",
10871-
"default": "0.10.10",
10874+
"const": "0.10.11",
10875+
"default": "0.10.11",
1087210876
"title": "Schema Version"
1087310877
},
1087410878
"instrument_id": {
@@ -10881,7 +10885,7 @@
1088110885
}
1088210886
],
1088310887
"default": null,
10884-
"description": "Unique identifier for this instrument. Naming convention: <room>-<apparatus>-<version>",
10888+
"description": "Unique identifier for this instrument. Naming convention: <room>-<apparatus>-<date modified>",
1088510889
"title": "Instrument ID"
1088610890
},
1088710891
"modification_date": {
@@ -19778,8 +19782,8 @@
1977819782
"type": "string"
1977919783
},
1978019784
"schema_version": {
19781-
"const": "0.12.4",
19782-
"default": "0.12.4",
19785+
"const": "0.12.5",
19786+
"default": "0.12.5",
1978319787
"description": "schema version",
1978419788
"title": "Version"
1978519789
},
@@ -21638,12 +21642,12 @@
2163821642
"type": "string"
2163921643
},
2164021644
"schema_version": {
21641-
"const": "0.2.15",
21642-
"default": "0.2.15",
21645+
"const": "0.2.16",
21646+
"default": "0.2.16",
2164321647
"title": "Schema Version"
2164421648
},
2164521649
"rig_id": {
21646-
"description": "room_stim apparatus_version",
21650+
"description": "room_rig name_date modified",
2164721651
"title": "Rig ID",
2164821652
"type": "string"
2164921653
},
@@ -27688,8 +27692,8 @@
2768827692
"type": "string"
2768927693
},
2769027694
"schema_version": {
27691-
"const": "0.1.30",
27692-
"default": "0.1.30",
27695+
"const": "0.1.31",
27696+
"default": "0.1.31",
2769327697
"title": "Schema Version"
2769427698
},
2769527699
"_id": {

schemas/procedures_schema.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,9 +2029,13 @@
20292029
"title": "Core diameter (um)"
20302030
},
20312031
"core_diameter_unit": {
2032-
"default": "um",
2033-
"title": "Core diameter unit",
2034-
"type": "string"
2032+
"allOf": [
2033+
{
2034+
"$ref": "#/$defs/SizeUnit"
2035+
}
2036+
],
2037+
"default": "micrometer",
2038+
"title": "Core diameter unit"
20352039
},
20362040
"numerical_aperture": {
20372041
"anyOf": [
@@ -8922,8 +8926,8 @@
89228926
"type": "string"
89238927
},
89248928
"schema_version": {
8925-
"const": "0.12.4",
8926-
"default": "0.12.4",
8929+
"const": "0.12.5",
8930+
"default": "0.12.5",
89278931
"description": "schema version",
89288932
"title": "Version"
89298933
},

schemas/rig_schema.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5121,9 +5121,13 @@
51215121
"title": "Core diameter (um)"
51225122
},
51235123
"core_diameter_unit": {
5124-
"default": "um",
5125-
"title": "Core diameter unit",
5126-
"type": "string"
5124+
"allOf": [
5125+
{
5126+
"$ref": "#/$defs/SizeUnit"
5127+
}
5128+
],
5129+
"default": "micrometer",
5130+
"title": "Core diameter unit"
51275131
},
51285132
"numerical_aperture": {
51295133
"anyOf": [
@@ -14533,12 +14537,12 @@
1453314537
"type": "string"
1453414538
},
1453514539
"schema_version": {
14536-
"const": "0.2.15",
14537-
"default": "0.2.15",
14540+
"const": "0.2.16",
14541+
"default": "0.2.16",
1453814542
"title": "Schema Version"
1453914543
},
1454014544
"rig_id": {
14541-
"description": "room_stim apparatus_version",
14545+
"description": "room_rig name_date modified",
1454214546
"title": "Rig ID",
1454314547
"type": "string"
1454414548
},

0 commit comments

Comments
 (0)