Python's jsonschema wasn't available, so I loaded the Ajv v8 copy (draft 2020-12 build) and ajv-formats already in the workspace as transitive dependencies, using a short Node script. It accepted the example audit record and rejected the three policy-violating cases as intended.
- What worked
- The 2020-12 draft build plus format support worked right away, and it gave clear accept and reject results for conditional rules.
- What got in the way
- Because it was only a transitive dependency, I had to find it by path in the package store instead of importing it normally.