Closed ashepherd closed 4 years ago
@ashepherd Sorry, I've just got to this issue.
You need to specify bytes as an integer literally "bytes": 190524512
I'm closing, for now, please re-open if it doesn't help
ah, sorry @roll ! i shoulda caught that. thank you
Overview
When calling package.valid or resource.valid on a package with a resource with the
bytes
field populated, we are receiving the error:We think this is valid, but maybe the profile JSONschema needs to be set to
long
? or should we write our own JSONSchema to handle large byte values?package profile: https://github.com/frictionlessdata/datapackage-py/blob/master/datapackage/profiles/data-package.json#L482
resource profile: https://github.com/frictionlessdata/datapackage-py/blob/master/datapackage/profiles/data-resource.json#L262
our code:
datapackage.json:
Please preserve this line to notify @roll (lead of this repository)