Skip to content

Commit 89f3fcc

Browse files
bump schema version [skip actions]
1 parent 378b27d commit 89f3fcc

File tree

9 files changed

+70
-18
lines changed

9 files changed

+70
-18
lines changed

examples/bergamo_ophys_session.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3-
"schema_version": "1.1.1",
3+
"schema_version": "1.1.2",
44
"protocol_id": [],
55
"experimenter_full_name": [
66
"John Doe"

examples/ephys_session.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3-
"schema_version": "1.1.1",
3+
"schema_version": "1.1.2",
44
"protocol_id": [],
55
"experimenter_full_name": [
66
"Max Quibble",

examples/mri_session.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3-
"schema_version": "1.1.1",
3+
"schema_version": "1.1.2",
44
"protocol_id": [
55
"dx.doi.org/10.57824/protocols.io.bh7kl4n6"
66
],

examples/multiplane_ophys_session.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3-
"schema_version": "1.1.1",
3+
"schema_version": "1.1.2",
44
"protocol_id": [],
55
"experimenter_full_name": [
66
"John Doe"

examples/ophys_session.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3-
"schema_version": "1.1.1",
3+
"schema_version": "1.1.2",
44
"protocol_id": [],
55
"experimenter_full_name": [
66
"John Doe"

schemas/metadata_schema.json

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57247,8 +57247,8 @@
5724757247
"type": "string"
5724857248
},
5724957249
"schema_version": {
57250-
"const": "1.0.4",
57251-
"default": "1.0.4",
57250+
"const": "1.1.0",
57251+
"default": "1.1.0",
5725257252
"title": "Schema Version",
5725357253
"type": "string"
5725457254
},
@@ -62306,8 +62306,8 @@
6230662306
"type": "string"
6230762307
},
6230862308
"schema_version": {
62309-
"const": "1.1.1",
62310-
"default": "1.1.1",
62309+
"const": "1.1.2",
62310+
"default": "1.1.2",
6231162311
"title": "Schema Version",
6231262312
"type": "string"
6231362313
},
@@ -70874,6 +70874,21 @@
7087470874
"description": "Light sources for stimulation",
7087570875
"title": "Light source config"
7087670876
},
70877+
"objects_in_arena": {
70878+
"anyOf": [
70879+
{
70880+
"items": {
70881+
"type": "string"
70882+
},
70883+
"type": "array"
70884+
},
70885+
{
70886+
"type": "null"
70887+
}
70888+
],
70889+
"default": null,
70890+
"title": "Objects in arena"
70891+
},
7087770892
"output_parameters": {
7087870893
"$ref": "#/$defs/AindGeneric",
7087970894
"default": {},
@@ -70961,6 +70976,7 @@
7096170976
"description": "Types of stimulus modalities",
7096270977
"enum": [
7096370978
"Auditory",
70979+
"Free moving",
7096470980
"Olfactory",
7096570981
"Optogenetics",
7096670982
"None",
@@ -72341,11 +72357,21 @@
7234172357
"$ref": "#/$defs/SizeUnit",
7234272358
"default": "centimeter",
7234372359
"title": "Width unit"
72360+
},
72361+
"encoder": {
72362+
"$ref": "#/$defs/Device",
72363+
"title": "Encoder"
72364+
},
72365+
"pulse_per_revolution": {
72366+
"title": "Pulse per revolution",
72367+
"type": "integer"
7234472368
}
7234572369
},
7234672370
"required": [
7234772371
"name",
72348-
"treadmill_width"
72372+
"treadmill_width",
72373+
"encoder",
72374+
"pulse_per_revolution"
7234972375
],
7235072376
"title": "Treadmill",
7235172377
"type": "object"
@@ -107144,8 +107170,8 @@
107144107170
"type": "string"
107145107171
},
107146107172
"schema_version": {
107147-
"const": "1.1.2",
107148-
"default": "1.1.2",
107173+
"const": "1.2.0",
107174+
"default": "1.2.0",
107149107175
"title": "Schema Version",
107150107176
"type": "string"
107151107177
},

schemas/rig_schema.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12505,11 +12505,21 @@
1250512505
"$ref": "#/$defs/SizeUnit",
1250612506
"default": "centimeter",
1250712507
"title": "Width unit"
12508+
},
12509+
"encoder": {
12510+
"$ref": "#/$defs/Device",
12511+
"title": "Encoder"
12512+
},
12513+
"pulse_per_revolution": {
12514+
"title": "Pulse per revolution",
12515+
"type": "integer"
1250812516
}
1250912517
},
1251012518
"required": [
1251112519
"name",
12512-
"treadmill_width"
12520+
"treadmill_width",
12521+
"encoder",
12522+
"pulse_per_revolution"
1251312523
],
1251412524
"title": "Treadmill",
1251512525
"type": "object"
@@ -18777,8 +18787,8 @@
1877718787
"type": "string"
1877818788
},
1877918789
"schema_version": {
18780-
"const": "1.0.4",
18781-
"default": "1.0.4",
18790+
"const": "1.1.0",
18791+
"default": "1.1.0",
1878218792
"title": "Schema Version",
1878318793
"type": "string"
1878418794
},

schemas/session_schema.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27601,6 +27601,21 @@
2760127601
"description": "Light sources for stimulation",
2760227602
"title": "Light source config"
2760327603
},
27604+
"objects_in_arena": {
27605+
"anyOf": [
27606+
{
27607+
"items": {
27608+
"type": "string"
27609+
},
27610+
"type": "array"
27611+
},
27612+
{
27613+
"type": "null"
27614+
}
27615+
],
27616+
"default": null,
27617+
"title": "Objects in arena"
27618+
},
2760427619
"output_parameters": {
2760527620
"$ref": "#/$defs/AindGeneric",
2760627621
"default": {},
@@ -27688,6 +27703,7 @@
2768827703
"description": "Types of stimulus modalities",
2768927704
"enum": [
2769027705
"Auditory",
27706+
"Free moving",
2769127707
"Olfactory",
2769227708
"Optogenetics",
2769327709
"None",
@@ -58914,8 +58930,8 @@
5891458930
"type": "string"
5891558931
},
5891658932
"schema_version": {
58917-
"const": "1.1.1",
58918-
"default": "1.1.1",
58933+
"const": "1.1.2",
58934+
"default": "1.1.2",
5891958935
"title": "Schema Version",
5892058936
"type": "string"
5892158937
},

src/aind_data_schema/core/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ class Session(AindCoreModel):
539539

540540
_DESCRIBED_BY_URL = AindCoreModel._DESCRIBED_BY_BASE_URL.default + "aind_data_schema/core/session.py"
541541
describedBy: str = Field(default=_DESCRIBED_BY_URL, json_schema_extra={"const": _DESCRIBED_BY_URL})
542-
schema_version: SkipValidation[Literal["1.1.1"]] = Field(default="1.1.1")
542+
schema_version: SkipValidation[Literal["1.1.2"]] = Field(default="1.1.2")
543543
protocol_id: List[str] = Field(default=[], title="Protocol ID", description="DOI for protocols.io")
544544
experimenter_full_name: List[str] = Field(
545545
...,

0 commit comments

Comments
 (0)