With collect_anntotations => 1 and annotate_unknown_keywords => 1, unknown keywords will be collected as annotations. We can have a annotations filter method on the result object to return all of these and their locations, which is helpful for diagnosing schema authoring errors.
We would have to store the vocabularies in the result object (or perhaps on the annotation node itself, since the metaschema can change midway), in order to know what the known keywords are.
With
collect_anntotations => 1
andannotate_unknown_keywords => 1
, unknown keywords will be collected as annotations. We can have a annotations filter method on the result object to return all of these and their locations, which is helpful for diagnosing schema authoring errors.We would have to store the vocabularies in the result object (or perhaps on the annotation node itself, since the metaschema can change midway), in order to know what the known keywords are.