Simple Type

An «XSDsimpleType» stereotype is applied to a generic UML Class, to tailor the generation of a simpleType definition in the Schema. You can create an «XSDsimpleType» Class by dragging the Simple Type icon from the XML Schema Toolbox and dropping it directly onto a diagram.

Toolbox Icon

Access Drag icon onto diagram, or

Project Browser | Double-click on «XSDsimpleType» stereotyped element, or

Diagram | right-click on «XSDsimpleType» stereotyped element | Properties

Define Properties



See also


If you do not want to use the default name of the simpleType element, overtype it with another name.



  • Type the name of a data type, or
  • Click on the drop-down arrow and select an XSD built-in dataType from the list, or
  • Click on the button and browse for an existing «XSDsimpleType» element as a classifier


Select this radio button to restrict the value of this simpleType to that of the selected Type.

The various restrictions (facets) on the simpleType are available as Tagged Values on this Class.

Tagged Values


Select this radio button to specify this simpleType as a list of values of the selected Type.


(Optional) Type any notes you need for this element.


Click on this button to save the simpleType data entered and close the XSD simpleType 'Properties' dialog.


Click on this button to discard the simpleType data entered and close the XSD simpleType 'Properties' dialog.


Click on this button to display this Help topic.


This button is displayed when you are editing existing XSD simpleType information.

Click on the button to open the UML element 'Properties' dialog for the simpleType Class.



  • A simpleType:
  • Cannot contain any «XSDelement» or «XSDattribute» stereotyped UML attributes
  • Cannot contain any child Classes
  • Cannot be the source of an Association connector
  • Can be the target of a Generalization connector
  • Can have at the most one Generalization connector to another simpleType Class

Learn more