In accordance with embodiments of the invention, local metadata is
embedded into, and extracted from, an embedded interaction code document.
A plurality of local-metadata values are assigned, in accordance with a
set of local-metadata conflict-resolution rules, via a plurality of
respective partial-share channels, to a plurality of respective
local-metadata fields. The local metadata is decoded by decoding the
partial-share channels and by resolving potentially conflicting decoded
local-metadata values according to the set of local-metadata
conflict-resolution rules. A local metadata value of a region to the left
may be smaller than a local metadata value of a potentially conflicting
region to the right, and the values may be non-continuous. A local
metadata value of an upper region may be smaller than a local metadata
value of a potentially conflicting lower region, and the values may be
continuous.