Open vedeja opened 4 years ago
The matching rule example for regex appears to be missing the "match": "regex" property, unless the specification actually allows for it to be omitted.
"match": "regex"
"$.body[0][*].id": { "regex": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" }
"match": "regex" is required, the example is wrong. But most implementations will probably work without it. Maybe.
The matching rule example for regex appears to be missing the
"match": "regex"
property, unless the specification actually allows for it to be omitted."$.body[0][*].id": { "regex": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" }