b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | #!/bin/sh |
2 | |||||
3 | [ "$1" = python3-jsonschema-specifications ] || exit 0 | ||||
4 | |||||
5 | python3 - << 'EOF' | ||||
6 | |||||
7 | from jsonschema_specifications import REGISTRY as SPECIFICATIONS | ||||
8 | |||||
9 | DRAFT202012_DIALECT_URI = "https://json-schema.org/draft/2020-12/schema" | ||||
10 | assert SPECIFICATIONS.contents(DRAFT202012_DIALECT_URI) != "" | ||||
11 | |||||
12 | EOF |