Skip to content
Snippets Groups Projects
Commit de849d9e authored by Moul's avatar Moul
Browse files

bma.blockain.DIFFICULTIES_SCHEMA: Switch to prefixItems (#204)

Which fixes the issue with 2020-12 draft set as default
since jsonschema v4

JSON 2020-12 draft changes tuple from 'items' to 'prefixItems'
https://json-schema.org/draft/2020-12/release-notes.html#changes-to-items-and-additionalitems
parent 41b60ea4
No related branches found
No related tags found
No related merge requests found
Pipeline #32571 passed
......@@ -201,7 +201,7 @@ DIFFICULTIES_SCHEMA = {
"block": {"type": "number"},
"levels": {
"type": "array",
"items": [
"prefixItems": [
{
"type": "object",
"properties": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment