|
|
JSON Stereotypes |
This custom JSON object is for creating stereotypes (typically in a read-write profile but may also be in packages) rather than applying stereotypes to other model elements.

Json stereotypes have the follow attributes:
· type = “Stereotype”
· appliesTo = [comma separated list of metaclasses]
· isNewTerm (Boolean, optional) *
*If isNewTerm is used then appliesTo should be a single metaclass. Rhapsody does not allow new terms to be applicable t more than one metaclass.

To apply a stereotype to an element, the element should have an appliedStereotypes array. These elements have the following attributes:
·
type = “Stereotype”
· fullPathName = full path to the stereotype to apply