Closed thomas-fossati closed 3 years ago
maybe it is historical. The element-name is the 'key' in key-value pair. So, it plays an important role in matching claims. The Endorsement spec section 6 now has an improved algorithm section that helps describe matching. The schema can be more flexible in terms of optionality, but the normative might be tighten it up.
We have a couple of cases where it is redundant - as it just replicates the "outer" module name - which may benefit from elision.
(Besides, this seems to also apply to the reference-claim-map
.)
So the semantics would be that if there is a claim without an element-name it defaults to the module-name context?
So the semantics would be that if there is a claim without an element-name it defaults to the module-name context?
yes
I can't recall why in
endorsed-value-map
we madeelement-name-map
mandatory?I.e., could we have instead: