This XSD is a draft and is not yet tested.
<?xml version="1.0" encoding="utf-8" ?> <xs:schema id="CrmCustomAttributeCollection" targetNamespace="http://www.objectware.no/MicrosoftCrm/CrmCustomAttributeCollection.xsd" elementFormDefault="qualified" xmlns="http://www.objectware.no/MicrosoftCrm/CrmCustomAttributeCollection.xsd" xmlns:mstns="http://www.objectware.no/MicrosoftCrm/CrmCustomAttributeCollection.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="CrmCustomAttributes"> <xs:complexType> <xs:choice maxOccurs="unbounded"> <xs:element name="customAttribute"> <xs:complexType> <xs:sequence> <xs:element name="name" type="xs:string" minOccurs="1" /> <xs:element name="type" type="attributeType" minOccurs="1" /> <xs:element name="displayName" type="xs:string" minOccurs="1" /> <xs:element name="description" type="xs:string" minOccurs="1" /> <xs:element name="selectedValue" type="xs:string" minOccurs="1" /> <xs:element name="length" type="xs:int" minOccurs="0" /> <xs:element name="values" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="value" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:choice> </xs:complexType> </xs:element> <xs:simpleType name="attributeType"> <xs:restriction base="xs:string"> <xs:enumeration value="Integer" /> <xs:enumeration value="String" /> <xs:enumeration value="Memo" /> <xs:enumeration value="Picklist" /> <xs:enumeration value="Boolean" /> <xs:enumeration value="DateTime" /> <xs:enumeration value="Float" /> <xs:enumeration value="Currency" /> </xs:restriction> </xs:simpleType></xs:schema>
backlog on sharepoint, crm, office, .net development, architecture and more..