blob: cdf2f5710400b2efbc5399614a86499d8d520150 [file] [log] [blame]
#!/bin/sh
[ "$1" = python3-jsonschema-specifications ] || exit 0
python3 - << 'EOF'
from jsonschema_specifications import REGISTRY as SPECIFICATIONS
DRAFT202012_DIALECT_URI = "https://json-schema.org/draft/2020-12/schema"
assert SPECIFICATIONS.contents(DRAFT202012_DIALECT_URI) != ""
EOF