Skip to content

inheritance principle fails on physio.json #1632

Open
@noah10

Description

@noah10

I have a dataset that includes physio (respiratory) data and eeg data. Per the inheritance principle I put all of the physio.json values that don’t change across subjects/sessions into a physio.json file that is a sibling to the subject directories, and put subject-/session-/task-specific *physio.json files that include the required StartTime parameter (which does vary by subject/session) into the subject/session directories. The validator complains that the top-level physio.json file is missing the required StartTime parameter.

This happened using bids-validator 1.10, both from the bids-validator npm package and https://bids-standard.github.io/bids-validator/ .

Here's the relevant portion of the log output:

bids-validator eeg-physio
[email protected]
	1: [ERR] Invalid JSON file. The file is not formatted according the schema. (code: 55 - JSON_SCHEMA_VALIDATION_ERROR)
		./physio.json
			Evidence:  should have required property 'StartTime'

Metadata

Metadata

Assignees

No one assigned

    Labels

    buginheritanceissues related to the inheritance principlejson-schemaAll issues that involve work with the JSON-schema fileslegacy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions