<?xml version="1.0" encoding="utf-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:simpleType name="GUID"> <xsd:annotation> <xsd:documentation xml:lang="en"> The representation of a GUID, generally the id of an element. </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:pattern value="\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}" /> </xsd:restriction> </xsd:simpleType> <xsd:element name="User"> <xsd:complexType> <xsd:sequence> <xsd:element name="Id" type="GUID" /> <xsd:element name="EntityName" type="xsd:string" /> <xsd:element name="Name" type="xsd:string" /> <xsd:element name="Description" type="xsd:string" /> <xsd:element name="Role" type="GUID" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)