We're not perfect [citation needed], but we're working on it. We like to think of this as a startup of soon to haves.

Currently we support most of the element types and all of the data types. It should be enough for you're use. Below, we're listed all the elements we support (with examples and how they are displayed in diagram). Some of the element features are not displayed in diagram, bet we add them to generated documentation of your schema (for example, list of enumerators, restrictions e.t.c.).

XSD Elements

Element / Example Diagram
schema
Defines the root element of a schema
IMAGES
IMAGES
element
element definition
IMAGES
IMAGES
simpleType
Defines a simple type and specifies the constraints and information about the values of attributes or text-only elements
IMAGES
IMAGES
complexType
complex type element definition
A complex type can contain only one of the following elements:
all
Specifies that the child elements can appear in any order. Each child element can occur 0 or 1 time
IMAGES
IMAGES
choice
Allows only one of the elements contained in the choice declaration to be present within the containing element
IMAGES
IMAGES
sequence
Specifies that the child elements must appear in a sequence. Each child element can occur from 0 to any number of times
IMAGES
IMAGES
attribute
Defines an attribute
IMAGES
Currently attributes is not displayed in diagram, they’re listed in documentation table.
IMAGES
any
Enables the author to extend the XML document with elements not specified by the schema
IMAGES
IMAGES
restriction
Defines restrictions on a simpleType, simpleContent, or a complexContent
IMAGES
Currently restrictions is not displayed in diagram, they’re listed in documentation table.
IMAGES
extension
Extends an existing simpleType or complexType element
simpleContent
Contains extensions or restrictions on a text-only complex type or on a simple type as content and contains no elements
IMAGES
complexContent
Defines extensions or restrictions on a complex type that contains mixed content or elements only
IMAGES
IMAGES

XSD datatype restrictions (facets)

Currently restrictions is not displayed in diagram, they’re listed in documentation table.

Constraint Description
enumeration constrains a data type to the specified set of values
fractionDigits maximum number of decimal places allowed
length units of length dependant of the data type
maxExclusive upper bound of element value
maxInclusive maximum value
maxLength maximum number of units of length dependant of the data type
minExclusive lower bound value
minInclusive minimum value
minLength minimum number of units of length dependant of the data type
pattern patter (regular expression), that data type's value must match
totalDigits value with specific maximum number of decimal digits
whiteSpace possible values:
  • preserve - XML processor will not remove any white space characters;
  • replace - XML processor will replace all white space characters with spaces;
  • collapse - XML processor will remove all white space characters.

Currently working on

annotation:
Specifies the top-level element for schema comments
appinfo:
Specifies information to be used by the application (must go inside annotation)
documentation:
Defines text comments in a schema (must go inside annotation)

Things to come

unique:
Specifies that an attribute or element value (or a combination of attribute or element values) must be unique within the specified scope. The value must be unique or nil.
union:
Defines a simple type as a collection (union) of values from specified simple data types
selector:
Specifies an XPath expression that selects a set of elements for an identity constraint (unique, key, and keyref elements)
redefine:
Redefines simple and complex types, groups, and attribute groups from an external schema
notation:
Describes the format of non-XML data within an XML document
list:
Defines a simple type element as a list of values of a specified data type
keyref:
Specifies that an attribute or element value correspond to those of the specified key or unique element
key:
specifies an attribute or element value as a key (unique, non-nullable, and always present) within the containing element in an instance document
include:
Element is used to add multiple schemas with the same target namespace to a document
import:
Adds multiple schemas with different target namespace to a document
group:
Defines a group of elements to be used in complex type definitions
field:
Specifies an XPath expression that specifies the value used to define an identity constraint
anyAttribute:
Extends the XML document with attributes not specified by the schema
attributeGroup:
Defines an attribute group to be used in complex type definitions