<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Robot"> <xs:complexType> <xs:sequence> <xs:element name="RobotNode"> <xs:complexType> <xs:sequence> <xs:element name="Child2" maxOccurs="unbounded"> <xs:complexType> <xs:attribute name="name" use="required" /> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="name" use="required" /> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="Type" use="required" /> <xs:attribute name="RootNode" use="required" /> </xs:complexType> </xs:element> </xs:schema>