Icon class icon_class fas fa-quote-left icon_class_computed fas fa-quote-left Related content 39. Metadata: Metadata Example-1.sysml Source OMG Systems Modeling Language TM (SysML®) Version 2.0 formal/2025-09-03 (Sep 2025) Copyright information About Object Management Group copyright in text extracts quoted from OMG specifications for educational purposes Snippet kind INFO Keywords SysML2 Systems Modeling Language SysML Model-Based Systems Engineering MBSE Previous snippet Full quote A metadata definition can restrict the kind of elements that it can be applied to by subsetting Metaobject::annotatedElement and restricting its type. Next snippet If a metadata usage then inherits one or more concrete features that directly or indirectly subset annotatedElement, any annotated element of the metadata usage must conform to the type of at least one of these features. Related snippets Related snippets (backlinks) The restricted type should be one of the reflective metaclasses from the KerML ... or SysML ... abstract syntax models. If the metadata definition of a metadata usage is a direct or indirect specialization of KerML metaclass SemanticMetadata from the Metaobjects model in the Kernel Semantic Library ... then the annotated elements of the metadata usage must all be types ... ... and the inherited feature SemanticMetadata::baseType must be bound to a value of type KerML::Type (which is a generalization of SysML::Definition and SysML::Usage). Each annotated element is then considered to implicitly specialize a definition or usage determined from the baseType value ... A user-defined keyword is the (possibly qualified) name (or short name) of a metadata definition (or KerML metaclass) preceded by the symbol #. Such a keyword can be used in package, dependency, definition and usage declarations. The user-defined keyword is placed immediately before the language-defined (reserved) keyword for the declaration and specifies a metadata annotation of the declared element. If the named metadata definition is a kind of SemanticMetadata, then the implicit specialization rules given in 7.27.3 for semantic metadata also apply. In addition, a user-defined keyword for semantic metadata may also be used to declare a definition or usage without using any language-defined keyword. Visit also Visit also (backlinks) Flags