|
917 | 917 | "type": "object" |
918 | 918 | }, |
919 | 919 | "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 | + }, |
920 | 930 | "oneOf": [ |
921 | 931 | { |
922 | 932 | "$ref": "#/$defs/BlockEndConditionDuration" |
|
3366 | 3376 | "type": "object" |
3367 | 3377 | }, |
3368 | 3378 | "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 | + }, |
3369 | 3389 | "oneOf": [ |
3370 | 3390 | { |
3371 | 3391 | "$ref": "#/$defs/PatchTerminatorOnRejection" |
|
3925 | 3945 | "type": "object" |
3926 | 3946 | }, |
3927 | 3947 | "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 | + }, |
3928 | 3957 | "oneOf": [ |
3929 | 3958 | { |
3930 | 3959 | "$ref": "#/$defs/PatchRewardFunction" |
|
5078 | 5107 | "type": "string" |
5079 | 5108 | }, |
5080 | 5109 | "VideoWriter": { |
| 5110 | + "discriminator": { |
| 5111 | + "mapping": { |
| 5112 | + "FFMPEG": "#/$defs/VideoWriterFfmpeg", |
| 5113 | + "OPENCV": "#/$defs/VideoWriterOpenCv" |
| 5114 | + }, |
| 5115 | + "propertyName": "video_writer_type" |
| 5116 | + }, |
5081 | 5117 | "oneOf": [ |
5082 | 5118 | { |
5083 | 5119 | "$ref": "#/$defs/VideoWriterFfmpeg" |
|
0 commit comments