Skip to content

Commit 5559c9d

Browse files
committed
Regenerate schemas
1 parent 39b7cd4 commit 5559c9d

File tree

3 files changed

+448
-724
lines changed

3 files changed

+448
-724
lines changed

src/DataSchemas/aind_behavior_vr_foraging.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,16 @@
917917
"type": "object"
918918
},
919919
"BlockEndCondition": {
920+
"discriminator": {
921+
"mapping": {
922+
"Choice": "#/$defs/BlockEndConditionChoice",
923+
"Distance": "#/$defs/BlockEndConditionDistance",
924+
"Duration": "#/$defs/BlockEndConditionDuration",
925+
"PatchCount": "#/$defs/BlockEndConditionPatchCount",
926+
"Reward": "#/$defs/BlockEndConditionReward"
927+
},
928+
"propertyName": "condition_type"
929+
},
920930
"oneOf": [
921931
{
922932
"$ref": "#/$defs/BlockEndConditionDuration"
@@ -3366,6 +3376,16 @@
33663376
"type": "object"
33673377
},
33683378
"PatchTerminator": {
3379+
"discriminator": {
3380+
"mapping": {
3381+
"OnChoice": "#/$defs/PatchTerminatorOnChoice",
3382+
"OnDistance": "#/$defs/PatchTerminatorOnDistance",
3383+
"OnRejection": "#/$defs/PatchTerminatorOnRejection",
3384+
"OnReward": "#/$defs/PatchTerminatorOnReward",
3385+
"OnTime": "#/$defs/PatchTerminatorOnTime"
3386+
},
3387+
"propertyName": "terminator_type"
3388+
},
33693389
"oneOf": [
33703390
{
33713391
"$ref": "#/$defs/PatchTerminatorOnRejection"
@@ -3925,6 +3945,15 @@
39253945
"type": "object"
39263946
},
39273947
"RewardFunction": {
3948+
"discriminator": {
3949+
"mapping": {
3950+
"OnThisPatchEntryRewardFunction": "#/$defs/OnThisPatchEntryRewardFunction",
3951+
"OutsideRewardFunction": "#/$defs/OutsideRewardFunction",
3952+
"PatchRewardFunction": "#/$defs/PatchRewardFunction",
3953+
"PersistentRewardFunction": "#/$defs/PersistentRewardFunction"
3954+
},
3955+
"propertyName": "function_type"
3956+
},
39283957
"oneOf": [
39293958
{
39303959
"$ref": "#/$defs/PatchRewardFunction"
@@ -5078,6 +5107,13 @@
50785107
"type": "string"
50795108
},
50805109
"VideoWriter": {
5110+
"discriminator": {
5111+
"mapping": {
5112+
"FFMPEG": "#/$defs/VideoWriterFfmpeg",
5113+
"OPENCV": "#/$defs/VideoWriterOpenCv"
5114+
},
5115+
"propertyName": "video_writer_type"
5116+
},
50815117
"oneOf": [
50825118
{
50835119
"$ref": "#/$defs/VideoWriterFfmpeg"

0 commit comments

Comments
 (0)