<!--
====================================================================
registry.stanford.edu/Account.dtd
version .9a, 02/25/2002

DTD for the Account document type which contains basic owner/service data about an
account and a list of settings/status for each service.

Copyright  2002 by the Board of Trustees of Stanford University
====================================================================
-->

<!-- +++++++++++++++++++++++++ Account +++++++++++++++++++++++ -->

<!ELEMENT Account (owner, administrator*, service*)>
	<!ATTLIST Account
		id		CDATA #REQUIRED
		type		(functional|self) #REQUIRED
		status		(active|inactive|pending) #REQUIRED
		since		CDATA #IMPLIED>
		
<!-- +++++++++++++++++++++++++ Owner +++++++++++++++++++++++ -->

<!ELEMENT owner (reference)>
		
<!-- +++++++++++++++++++++++++ Administrator +++++++++++++++++++++++ -->

<!ELEMENT administrator (reference*)>

<!-- +++++++++++++++++++++++++ Reference +++++++++++++++++++++++ -->

<!ELEMENT reference (#PCDATA)*>
	<!ATTLIST reference
		roid		CDATA #REQUIRED
		name		CDATA #REQUIRED
		description	CDATA #IMPLIED>
		
<!-- +++++++++++++++++++++++++ Service +++++++++++++++++++++++ -->

<!ELEMENT service (setting*)>
	<!ATTLIST service
		id		(afs|autoreply|dialin|email|kerberos|leland|login|pts|seas) #REQUIRED
		status		(active|inactive|pending) #REQUIRED
		since		CDATA #IMPLIED>

<!-- +++++++++++++++++++++++++ Setting +++++++++++++++++++++++ -->

<!ELEMENT setting (value+)>
	<!ATTLIST setting
		name		CDATA #REQUIRED>

<!-- +++++++++++++++++++++++++ Setting +++++++++++++++++++++++ -->

<!ELEMENT value (#PCDATA)*>
