You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the metadata object below, running the validation command fails:
mlcroissant validate --jsonld croissant_minimal.jsonld
E0210 11:11:52.866241 126556827741056 validate.py:55] Found the following 1 error(s) during the validation:
- `content_size` should have type https://schema.org/Text, but got int
Integers are a reasonable type to describe file sizes and many systems output them as such. Text might make sense to provide a unit, but the spec states if no unit is provided bytes should be assumed so that should cover the use of ints.
File size in (mega/kilo/…)bytes. Defaults to bytes if a unit is not specified
With the metadata object below, running the validation command fails:
Integers are a reasonable type to describe file sizes and many systems output them as such. Text might make sense to provide a unit, but the spec states if no unit is provided bytes should be assumed so that should cover the use of ints.
The text was updated successfully, but these errors were encountered: