Indivo Account Schema
From Indivo
An Indivo Account represents a single user of the system, with their basic info and the ways in which they authenticate. It is separate from a record.
<schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified">
<element name="Account">
<complexType>
<sequence>
<element name="secret" type="string" minOccurs="0" maxOccurs="1" />
<element name="fullName" type="string" minOccurs="1" maxOccurs="1" />
<element name="contactEmail" type="string" minOccurs="1" maxOccurs="1" />
<element name="lastLoginAt" type="dateTime" minOccurs="1" maxOccurs="1" />
<element name="totalLoginCount" type="integer" minOccurs="1" maxOccurs="1" />
<element name="failedLoginCount" type="integer" minOccurs="1" maxOccurs="1" />
<element name="state" type="string" minOccurs="1" maxOccurs="1" />
<element name="lastStateChange" type="dateTime" minOccurs="1" maxOccurs="1" />
<element name="authSystem" minOccurs="0" maxOccurs="unbounded">
<complexType>
<attribute name="name" type="string" use="required" />
<attribute name="username" type="string" use="required" />
</complexType>
</element>
</sequence>
<attribute name="id" type="string" use="required" />
</complexType>
</element>
</schema>
Example:
<Account id="joeuser@indivo.example.org"> <fullName>Joe User</fullName> <contactEmail>joeuser@gmail.com</contactEmail> <lastLoginAt>2010-05-04T15:34:23Z</lastLoginAt> <totalLoginCount>43</totalLoginCount> <failedLoginCount>0</failedLoginCount> <state>active</state> <lastStateChange>2009-04-03T13:12:12Z</lastStateChange> <authSystem name="password" username="joeuser" /> <authSystem name="hospital_sso" username="Joe_User" /> </Account>
