Description
In the new annotation test suite, we have the following test.
JSON-Schema-Test-Suite/annotations/tests/applicators.json
Lines 76 to 99 in 9f256c8
However, it's not entirely clear whether property names can have annotations. The reason being that a JSON Pointer can't point to a property name. The pointer in this test technically points to the property value, not the property name.
Implementations could just use the standard pointer and users/tooling just need to know that it's a special case, but special cases make programmatic use of annotations problematic and implementations might choose to avoid that. Implementations could choose also use a custom pointer syntax or flag to indicate that the pointer points to the property name, but that wouldn't be interoperable.
Since there's no interoperable and accepted solution to this problem, I suggest we remove this test. That would mean the test suite would be ambiguous about whether property names can have annotations or how they are implemented if they do.
What do you think?