XML Schema - assignment of type to element with the given name

<xs:element name="ElementName"> 
... type definition - placed either right here (so called "local") or referenced one (so called "global")
</xs:element>