|
1 | 1 | # Using the web validator |
| 2 | + |
| 3 | +The web validator is the primary interface to the validator, |
| 4 | +hosted at <https://bids-standard.github.io/bids-validator/> |
| 5 | + |
| 6 | +{.only-dark .no-scaled-link width="50%" align=center} |
| 8 | +{.only-light .no-scaled-link width="50%" align=center} |
| 10 | + |
| 11 | +To validate a dataset, click the "Select Dataset Files" and select a directory to validate. |
| 12 | +The directory must contain a `dataset_description.json` to be identified as a BIDS dataset. |
| 13 | + |
| 14 | +When you select a directory, you will get a permission prompt, |
| 15 | +verifying that you want to provide access to the directory. |
| 16 | + |
| 17 | +::::{tab-set} |
| 18 | + |
| 19 | +:::{tab-item} Firefox permission prompt |
| 20 | + |
| 21 | +{.only-dark width="50%" align=center} |
| 22 | +{.only-light width="50%" align=center} |
| 23 | + |
| 24 | +::: |
| 25 | +:::{tab-item} Chrome permission prompt |
| 26 | +:sync: install |
| 27 | + |
| 28 | +{.only-dark width="50%" align=center} |
| 29 | +{.only-light width="50%" align=center} |
| 30 | + |
| 31 | +::: |
| 32 | +:::: |
| 33 | + |
| 34 | +At present (November 2024), Firefox browsers present the request to "Upload" data, |
| 35 | +while Chromium-based browsers (Google Chrome, Microsoft Edge, and others) request permission |
| 36 | +to "view files". |
| 37 | +In both cases, confirming allows the Javascript application to read the files and perform validation, |
| 38 | +but those files are never sent to a remote server. |
| 39 | + |
| 40 | +## The Legacy Validator |
| 41 | + |
| 42 | +The current BIDS Validator is a complete rewrite of the original BIDS Validator, |
| 43 | +based on the [BIDS Schema]. |
| 44 | +The original validator, now called the "legacy validator", can be found at |
| 45 | +<https://bids-standard.github.io/legacy-validator/>. |
| 46 | + |
| 47 | +It is not recommended to use this validator, as it will become increasingly out-of-date, |
| 48 | +but it may be useful for comparative purposes. |
| 49 | + |
| 50 | +[BIDS Schema]: https://bidsschematools.readthedocs.io |
0 commit comments