In the current logic of the validate function, it may be the case that schema.org type checking is not applied to sidecars that don't apply to any datafile. For instance, in this directory:
The directory metadata file "file_metadata.json" is not in a position where its content would apply to any valid data files, so it would not be checked for schema compatibility.
This is definitely not a pressing issue, and it may just be a reasonable feature in reality, but this is just to note it.
Description
In the current logic of the validate function, it may be the case that schema.org type checking is not applied to sidecars that don't apply to any datafile. For instance, in this directory:
The directory metadata file "file_metadata.json" is not in a position where its content would apply to any valid data files, so it would not be checked for schema compatibility.
This is definitely not a pressing issue, and it may just be a reasonable feature in reality, but this is just to note it.