Zelestra

Zelestra Standards

AgentType

An AgentType is an XML schema element type used to define a virtual presence of a principal in virtual space. AgentType extends DefinitionElementType by adding elements particular to agents.

Example
<Agent>
  <Name>Agent One</Name>
  <Description>This is an agent.</Description>
  <HomePage>http://www.zelestra.com/agents/agent01.html</HomePage>
  <Services>http://www.zelestra.com/agents/agent01.wsdl</Services>
  <Image>http://www.zelestra.com/agents/agent01.jpg</Image>
  <Principal>http://www.zelestra.com/principals/principal01.xml</Principal>
  <VirtualSpace>http://www.zelestra.com/virtualspace.xml</VirtualSpace>
  <Realm>http://www.zelestra.com/realms/realm01.xml</Realm>
</Agent>

Definition

In addition to the elements supplied by DefinitionElementType:

The User element MAY contain an Image element. This element provides a URL to an image of the agent. The image must be of MIME type image/jpeg, image/gif, or image/png.

The Agent element MUST contain a Principal element. This element is a URI  reference to the principal that controls the agent.

The Agent element MAY contain a VirtualSpace element. This element is a URI reference to the virtual space which currently contains the virtual presence defined by the agent. If no element is specified, then the virtual presence is currently not contained by any virtual space.

The Agent element MAY contain a Realm element. This element is a URI reference to the realm which currently contains the virtual presence defined by the agent. If no element is specified, then the virtual presence is currently not contained by any realm. If this element is specified, then the VirtualSpace element must also be specified.

AgentType is a chameleon schema document that takes on the XML namespace of the including schema document. The appropriate schema location designation is http://zlst.org/schemas/2001/AgentType/AgentType.xsd.