Description
For a top-level <token>
element, there can be many <attribute>
. Current schema (in the distinct
branch) allows any number of elements to have a boolean attribute distinct
which defaults to false,
If it is set to true, we say that the attribute is distinct.
That means potentially developers can create a tokenscript file with multiple distinct attributes, which is not supported (at least not in this year)
Can you
-
restrain it so that for all
<attribute>
under the<token>
only one can have the attributedistinct
with valuetrue
. -
for a TokenScript that didn't define
<origins>
under<token>
,, require at least one of the<attribute>
has distinct? -
distinct attribute is not allowed for attributes in
<card>
, only if it is directly in<token>
(the global element<token>
).