Bump jsonschema from 3.2.0 to 4.4.0

The big breaking change for our code (not mentioned in the changelog) is
that the built-in validator for the `date-time` format now requires the
`rfc3339-validator` package instead of the `strict-rfc3339` package.
This updates the requirements file to use `rfc3339-validator`. Without
this change, wrong `date-time` formats would always silently pass validation.
This commit is contained in:
Katie Smith
2022-04-12 18:13:20 +01:00
parent b440f3f904
commit 5feb38f50a
5 changed files with 9 additions and 11 deletions

View File

@@ -6,5 +6,5 @@ post_letter_branding_schema = {
"name": {"type": ["string", "null"]},
"filename": {"type": ["string", "null"]},
},
"required": ("name", "filename")
"required": ["name", "filename"]
}