Skip to content

Commit 2e9bd66

Browse files
authored
Validating Manifest Schema (#239)
* 📦 Add jsonschema package * ✨ Add ElectionDescription Schema Add a method to validate schemas. This one works particularly for an ElectionManifest. * 🧹 Return an error message Add an error message to the return * ✨ Alter schema to be only loaded on function call
1 parent 932022c commit 2e9bd66

File tree

5 files changed

+776
-52
lines changed

5 files changed

+776
-52
lines changed

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ numpy = '>=1.18.2'
2525
jsons = '>=1.1.2'
2626
psutil = '>=5.7.2'
2727
cryptography = ">=3.2"
28+
jsonschema = ">=3.2"
2829

2930
[requires]
3031
python_version = "3.8"

Pipfile.lock

Lines changed: 124 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)