This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
expression/xml/schema/User.xsd

113 lines
3.9 KiB
XML

<?xml version="1.0"?>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://www.entrouvert.org/namespaces/expression/0.0"
xmlns="http://www.entrouvert.org/namespaces/expression/0.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<xsd:annotation>
<xsd:documentation xml:lang="en">
Person, User and Session Type Schema for Expression.
By: Frederic Peters &lt;fpeters@entrouvert.com&gt;
Emmanuel Raviart &lt;eraviart@entrouvert.com&gt;
Copyright (C) 2004 Entr'ouvert, Frederic Peters &amp; Emmanuel Raviart
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
</xsd:documentation>
</xsd:annotation>
<xsd:include schemaLocation="http://www.entrouvert.org/expression/schemas/EmailAddress.xsd"/>
<xsd:include schemaLocation="http://www.entrouvert.org/expression/schemas/Thing.xsd"/>
<!-- Use of "Identity" is Deprecated: renamed to "User" -->
<xsd:element name="identity" type="User"/>
<xsd:complexType name="Identity">
<xsd:complexContent>
<xsd:extension base="User"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="user" type="User"/>
<xsd:complexType name="User">
<xsd:complexContent>
<xsd:extension base="Thing">
<xsd:sequence>
<xsd:element name="identifications">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="identification" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="localNameIdentifier" type="xsd:string"/>
<xsd:element name="peerNameIdentifier" type="xsd:string"/>
<xsd:element name="providerId" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="person" type="Person"/>
<xsd:element name="language" type="xsd:language"/>
<xsd:element name="session" type="Session"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="session" type="Session"/>
<xsd:complexType name="Session">
<xsd:complexContent>
<xsd:extension base="Thing">
<xsd:sequence>
<xsd:element name="authenticationMethod" type="xsd:string"/>
<xsd:element name="clientHostName" type="xsd:string"/>
<xsd:element name="clientIpAddress" type="xsd:string"/>
<xsd:element name="clientPort" type="xsd:string"/>
<xsd:element name="peerProviderId" type="xsd:anyURI"/>
<xsd:element name="publishToken" type="xsd:boolean"/>
<xsd:element name="account">
<xsd:complexType>
<xsd:attribute name="src" type="xsd:anyURI"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="libertyAllianceAuthenticationResponse"
type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="person" type="Person"/>
<xsd:complexType name="Person">
<xsd:complexContent>
<xsd:extension base="Thing">
<xsd:sequence>
<xsd:element name="fullName" type="xsd:string"/>
<xsd:element name="email" type="EmailAddress"/>
<xsd:element name="language" type="xsd:language"/>
<xsd:element name="authorizations" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>