<relation>

<relation> (relation) décrit tout type de relation ou de lien à l'intérieur d'un groupe donné de participants 15.2.2 The Participant Description
Modulenamesdates — 13 Names, Dates, People, and Places
Attributs att.datableatt.datable.w3c (@period, @when, @notBefore, @notAfter, @from, @to) att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso) att.editLike (@cert, @resp, @evidence, @source) att.naming (@key, @ref, @nymRef)
typecaractérise la relation sous un certain aspect, par exemple social, personnel ou autre
Statut Optionel
Type de données
data.enumerated
Les valeurs suggérées comprennent:
social
relationship concerned with social roles
personal
relationship concerned with personal roles, e.g. kinship, marriage, etc. [Valeur par défaut]
other
other kinds of relationship
namefournit un nom pour le type de relation dont elle est une instance.
Statut Requis
Type de données
data.enumerated
Valeurs an open list of application-dependent keywords
activeidentifies the ‘active’ participants in a non-mutual relationship, or all the participants in a mutual one.
Statut Optionel
Type de données 1–∞ occurrences of
data.pointer
séparé par un espace
Valeurs a list of identifier values for participant or participant groups
mutualsupplies a list of participants amongst all of whom the relationship holds equally.
Statut Obligatoire quand applicable
Type de données 1–∞ occurrences of
data.pointer
séparé par un espace
Valeurs a list of identifier values for participant or participant groups
passiveidentifie les participants ‘passifs’ dans une relation non mutuelle
Statut Optionel
Type de données 1–∞ occurrences of
data.pointer
séparé par un espace
Valeurs a list of identifier values for participant or participant groups
Utilisé parlistNym listOrg listPerson listPlace relationGrp
Peut contenir
core: desc
Declaration
element relation
{
   att.global.attributes,
   att.datable.w3c.attributes,
   att.datable.iso.attributes,
   att.editLike.attributes,
   att.naming.attributes,
   attribute type { "social" | "personal" | "other" | xsd:Name }?,
   attribute name { data.enumerated },
   (
      attribute active { list { data.pointer+ } }?
    | attribute mutual { list { data.pointer+ } }?
   ),
   attribute passive { list { data.pointer+ } }?,
   desc?
}
Exemple
<relation
  type="social"
  name="supervisor"
  active="#p1"
  passive="#p2 #p3 #p4"/>

This indicates that the person with identifier p1 is supervisor of persons p2, p3, and p4.

Exemple
<relation type="personalname="friendsmutual="#p2 #p3 #p4"/>

This indicates that p2, p3, and p4 are all friends.

Note
Only one of the attributes active and mutual may be supplied; the attribute passive may be supplied only if the attribute active is supplied. Not all of these constraints can be enforced in all schema languages.