|
|
JSON Tags |
Tags may be:
· Tags defined on stereotypes
· Local tags (that is they are tags locally defined on model elements rather than tags that are present because a stereotype is applied)
· Tags present because a stereotype is applied
All types of tag use the same custom JSON objects which has the following attributes:
· type = “Tag”
· tagType = [type of tag] *
· tagValue (Optional)
· tagValues (Optional, only for tags with multiplicity)
· tagMultiplicity (multiplicity of tag, optional – default is 1)
*Could be primitive types or references to other model elements such as types or new term stereotypes. Only the full path is required, the importer will check that location for either a stereotype or a type with that name.




For tags that have multiplicity, there are two ways to specify the values:
If the tag is typed by a model element, then create a tagValues array. The array should contain strings which are references to model elements (metaclass is not required as this is taken from the tagType).

For non-model element tags (or tags typed by Enumerated Types) simply use a comma separated list of values:

