Validate Contributor/Contribution details using json schema #30

Closed
opened 2018-04-19 10:12:53 +00:00 by bumi · 4 comments
bumi commented 2018-04-19 10:12:53 +00:00 (Migrated from github.com)

The Contributor/Operator class currently does not validate the data against the json schema from kosmos-schemas. To prevent storing invalid data we should validate those before uploading to ipfs and to the smart contract.

The Contributor/Operator class currently does not validate the data against the json schema from kosmos-schemas. To prevent storing invalid data we should validate those before uploading to ipfs and to the smart contract.
raucao commented 2018-04-19 10:25:04 +00:00 (Migrated from github.com)

¡Muy importante!

¡Muy importante!
raucao commented 2018-04-19 13:40:35 +00:00 (Migrated from github.com)

Btw, it's only one function call, documented nicely in the schemas doc: https://github.com/67P/kosmos-schemas#usage

Btw, it's only one function call, documented nicely in the schemas doc: https://github.com/67P/kosmos-schemas#usage
raucao commented 2018-06-15 11:15:59 +00:00 (Migrated from github.com)

Bumping this one. We already have some invalid documents in IPFS docs linked from the Kovan data.

Bumping this one. We already have some invalid documents in IPFS docs linked from the Kovan data.
raucao commented 2019-04-24 13:01:47 +00:00 (Migrated from github.com)

All done.

All done.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kredits/contracts#30
No description provided.