File tree Expand file tree Collapse file tree 7 files changed +51
-23
lines changed
src/aind_data_schema/core Expand file tree Collapse file tree 7 files changed +51
-23
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"describedBy" : " https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/rig.py" ,
3
- "schema_version" : " 1.1.0 " ,
3
+ "schema_version" : " 1.1.1 " ,
4
4
"rig_id" : " 323_EPHYS1_20231003" ,
5
5
"modification_date" : " 2023-10-03" ,
6
6
"mouse_platform" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"describedBy" : " https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/rig.py" ,
3
- "schema_version" : " 1.1.0 " ,
3
+ "schema_version" : " 1.1.1 " ,
4
4
"rig_id" : " 447_FIP-Behavior_20000101" ,
5
5
"modification_date" : " 2000-01-01" ,
6
6
"mouse_platform" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"describedBy" : " https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/rig.py" ,
3
- "schema_version" : " 1.1.0 " ,
3
+ "schema_version" : " 1.1.1 " ,
4
4
"rig_id" : " 428_FIP1_20231003" ,
5
5
"modification_date" : " 2023-10-03" ,
6
6
"mouse_platform" : {
Original file line number Diff line number Diff line change 57247
57247
"type": "string"
57248
57248
},
57249
57249
"schema_version": {
57250
- "const": "1.1.0 ",
57251
- "default": "1.1.0 ",
57250
+ "const": "1.1.1 ",
57251
+ "default": "1.1.1 ",
57252
57252
"title": "Schema Version",
57253
57253
"type": "string"
57254
57254
},
@@ -72359,19 +72359,33 @@
72359
72359
"title": "Width unit"
72360
72360
},
72361
72361
"encoder": {
72362
- "$ref": "#/$defs/Device",
72362
+ "anyOf": [
72363
+ {
72364
+ "$ref": "#/$defs/Device"
72365
+ },
72366
+ {
72367
+ "type": "null"
72368
+ }
72369
+ ],
72370
+ "default": null,
72363
72371
"title": "Encoder"
72364
72372
},
72365
72373
"pulse_per_revolution": {
72366
- "title": "Pulse per revolution",
72367
- "type": "integer"
72374
+ "anyOf": [
72375
+ {
72376
+ "type": "integer"
72377
+ },
72378
+ {
72379
+ "type": "null"
72380
+ }
72381
+ ],
72382
+ "default": null,
72383
+ "title": "Pulse per revolution"
72368
72384
}
72369
72385
},
72370
72386
"required": [
72371
72387
"name",
72372
- "treadmill_width",
72373
- "encoder",
72374
- "pulse_per_revolution"
72388
+ "treadmill_width"
72375
72389
],
72376
72390
"title": "Treadmill",
72377
72391
"type": "object"
@@ -107170,8 +107184,8 @@
107170
107184
"type": "string"
107171
107185
},
107172
107186
"schema_version": {
107173
- "const": "1.2.0 ",
107174
- "default": "1.2.0 ",
107187
+ "const": "1.2.1 ",
107188
+ "default": "1.2.1 ",
107175
107189
"title": "Schema Version",
107176
107190
"type": "string"
107177
107191
},
Original file line number Diff line number Diff line change @@ -12507,19 +12507,33 @@
12507
12507
"title": "Width unit"
12508
12508
},
12509
12509
"encoder": {
12510
- "$ref": "#/$defs/Device",
12510
+ "anyOf": [
12511
+ {
12512
+ "$ref": "#/$defs/Device"
12513
+ },
12514
+ {
12515
+ "type": "null"
12516
+ }
12517
+ ],
12518
+ "default": null,
12511
12519
"title": "Encoder"
12512
12520
},
12513
12521
"pulse_per_revolution": {
12514
- "title": "Pulse per revolution",
12515
- "type": "integer"
12522
+ "anyOf": [
12523
+ {
12524
+ "type": "integer"
12525
+ },
12526
+ {
12527
+ "type": "null"
12528
+ }
12529
+ ],
12530
+ "default": null,
12531
+ "title": "Pulse per revolution"
12516
12532
}
12517
12533
},
12518
12534
"required": [
12519
12535
"name",
12520
- "treadmill_width",
12521
- "encoder",
12522
- "pulse_per_revolution"
12536
+ "treadmill_width"
12523
12537
],
12524
12538
"title": "Treadmill",
12525
12539
"type": "object"
18787
18801
"type": "string"
18788
18802
},
18789
18803
"schema_version": {
18790
- "const": "1.1.0 ",
18791
- "default": "1.1.0 ",
18804
+ "const": "1.1.1 ",
18805
+ "default": "1.1.1 ",
18792
18806
"title": "Schema Version",
18793
18807
"type": "string"
18794
18808
},
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ class Metadata(AindCoreModel):
72
72
73
73
_DESCRIBED_BY_URL = AindCoreModel ._DESCRIBED_BY_BASE_URL .default + "aind_data_schema/core/metadata.py"
74
74
describedBy : str = Field (default = _DESCRIBED_BY_URL , json_schema_extra = {"const" : _DESCRIBED_BY_URL })
75
- schema_version : SkipValidation [Literal ["1.2.0 " ]] = Field (default = "1.2.0 " )
75
+ schema_version : SkipValidation [Literal ["1.2.1 " ]] = Field (default = "1.2.1 " )
76
76
id : UUID = Field (
77
77
default_factory = uuid4 ,
78
78
alias = "_id" ,
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class Rig(AindCoreModel):
51
51
52
52
_DESCRIBED_BY_URL = AindCoreModel ._DESCRIBED_BY_BASE_URL .default + "aind_data_schema/core/rig.py"
53
53
describedBy : str = Field (default = _DESCRIBED_BY_URL , json_schema_extra = {"const" : _DESCRIBED_BY_URL })
54
- schema_version : SkipValidation [Literal ["1.1.0 " ]] = Field (default = "1.1.0 " )
54
+ schema_version : SkipValidation [Literal ["1.1.1 " ]] = Field (default = "1.1.1 " )
55
55
rig_id : str = Field (
56
56
...,
57
57
description = "Unique rig identifier, name convention: <room>-<apparatus name>-<date modified YYYYMMDD>" ,
You can’t perform that action at this time.
0 commit comments