The following XML schemas are applied to UML elements for a variety of purposes:
- Defined stereotypes
- Attribute
- Element
- ComplexType
- AttributeGroup
- SimpleType
- Restriction
- List
- Union
- MinExclusive
- MaxExclusive
- MinInclusive
- MaxInclusive
- TotalDigits
- FractionDigits
- Length
- MinLength
- MaxLength
- WhiteSpace
- Pattern
- Enumeration
- Unique
- Key
- Keyref
- Selector and field
- Annotation
- Compositors
- Group
- Any and anyAttribute
- Schema
- Notation
- Redefine
- Import
- Include
- XML schema namespaces