Skip to content

Commit 019838f

Browse files
committed
Add variant of StimulusPresentation metadata for bep020 requirements.
1 parent a6768a4 commit 019838f

File tree

2 files changed

+44
-6
lines changed

2 files changed

+44
-6
lines changed

src/schema/objects/metadata.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3878,6 +3878,48 @@ StimulusPresentation:
38783878
$ref: objects.metadata.SoftwareVersion
38793879
Code:
38803880
$ref: objects.metadata.Code
3881+
StimulusPresentation__eyetrack__required:
3882+
name: StimulusPresentation
3883+
display_name: Stimulus Presentation
3884+
description: |
3885+
Object containing key-value pairs related to the software used to present
3886+
the stimuli during the experiment.
3887+
type: object
3888+
required:
3889+
- ScreenDistance
3890+
- ScreenOrigin
3891+
- ScreenResolution
3892+
- ScreenSize
3893+
recommended:
3894+
- OperatingSystem
3895+
- ScreenRefreshRate
3896+
- SoftwareName
3897+
- SoftwareRRID
3898+
- SoftwareVersion
3899+
- Code
3900+
- HeadStabilization
3901+
properties:
3902+
OperatingSystem:
3903+
$ref: objects.metadata.OperatingSystem
3904+
ScreenDistance:
3905+
$ref: objects.metadata.ScreenDistance
3906+
ScreenOrigin:
3907+
$ref: objects.metadata.ScreenOrigin
3908+
ScreenRefreshRate:
3909+
$ref: objects.metadata.ScreenRefreshRate
3910+
ScreenResolution:
3911+
$ref: objects.metadata.ScreenResolution
3912+
ScreenSize:
3913+
$ref: objects.metadata.ScreenSize
3914+
SoftwareName:
3915+
$ref: objects.metadata.SoftwareName
3916+
SoftwareRRID:
3917+
$ref: objects.metadata.SoftwareRRID
3918+
SoftwareVersion:
3919+
$ref: objects.metadata.SoftwareVersion
3920+
Code:
3921+
$ref: objects.metadata.Code
3922+
38813923
StopTime_eyetrack:
38823924
name: StopTime
38833925
display_name: Eye-tracking recording stop time

src/schema/rules/sidecars/events.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,9 @@ StimulusPresentation:
1313
StimulusPresentation: recommended
1414
VisionCorrection: optional
1515

16-
StimulusPresentation_for_eyetracking:
16+
StimulusPresentationEyetrack:
1717
selectors:
1818
- suffix == "events"
1919
- associations.physio.sidecar.PhysioType == "eyetrack"
2020
fields:
21-
StimulusPresentation.ScreenDistance: required
22-
StimulusPresentation.ScreenOrigin: required
23-
StimulusPresentation.ScreenRefreshRate: recommended
24-
StimulusPresentation.ScreenResolution: required
25-
StimulusPresentation.ScreenSize: required
21+
StimulusPresentation__eyetrack__required: required

0 commit comments

Comments
 (0)