SAA-SDT / eac-cpf-schema

https://eac.staatsbibliothek-berlin.de/
10 stars 4 forks source link

<relations> #210

Closed SJagodzinski closed 2 years ago

SJagodzinski commented 4 years ago

Relations

Creator of issue

  1. Silke Jagodzinski
  2. TS-EAS: EAC-CPF subgroup
  3. silkejagodzinski@gmail.com

Related issues / documents

Paper on Relation

EAD3 Reconciliation

Additional EAD 3 attributes: @altrender, @audience, @encodinganalog, @localtype, @script - all optional May occur within: archdesc, c, c01, c02, c03, c04, c05, c06, c07, c08, c09, c10, c11, c12 May contain: relation (0..n)

Context

Summary: A wrapper element for grouping one or more specific relations, each of them expressed by <cpfRelation>, <resourceRelation>, or <functionRelation>. May contain: cpfRelation, functionRelation, resourceRelation May occur within: cpfDescription Attributes: @xml:base, @xml:id, @xml:lang - all optional Availability: Optional, Non-repeatable

Solution documentation: agreed solution for TL and guidelines

Rephrasing Summary, Description and Usage and Attribute usage needed

May contain: <descriptiveNote> (0..1), <relation> (1..n) May occur within: <cpfDescription> Attributes: @audience - optional (values limited to: external, internal) @base - optional @conventationDeclarationReference - optional @id - optional @languageOfElement - optional @maintenanceEventReference - optional @scriptOfElement - optional @sourceReference - optional Availability: Optional, Non-repeatable

Example encoding

<relations audience="external" base="baseURI" conventionDeclarationReference="conventiondeclaration1" id="relations1" languageOfElement="en" maintenanceEventReference="maintenancevent1" scriptOfElement="lat" sourceReference="source1">
 <relation>
  <targetEntity targetType="person">
   <part>name or part of the name or term of the related entity</part>
  </targetEntity>
  <relationType>Family</relationType>
  <targetRole>Parent</targetRole>
  <dateSet>
   <date>1800</date>
   <dateRange>
    <fromDate>1900</fromDate>
    <toDate>1950</toDate>
   </dateRange>
  </dateSet>
 <place>
  <placeName>place of the relation</placeName>
  <placeRole>residence</placeRole>
  <date>1930</date>
  <descriptiveNote>
   <p>descriptive note to a place related with the target entity</p>
  </descriptiveNote>
  </place>
  <descriptiveNote>
   <p>note for this relation</p>
  </descriptiveNote>
  <objectXMLWrap>
   <anyelementofanynamespace/>
  </objectXMLWrap>
 </relation>
 <descriptiveNote>
  <p>note for all relations</p>
 </descriptiveNote>
</relations>
ailie-s commented 3 years ago

Tag Library Text:

Summary: An optional child element of <cpfDescription> that groups one or more <relation> elements, which identify external entities and characterize the nature of their relationships to the entity being described. May contain: descriptiveNote (0..1), relation (1..n) May occur within: cpfDescription Attributes: @audience - optional (values limited to: external, internal) @base - optional @conventationDeclarationReference - optional @id- optional @languageOfElement- optional @maintenanceEventReference- optional @scriptOfElement - optional @sourceReference - optional @target - optional Description and Usage: A wrapper element that groups together one or more <relation> elements, each of which encodes a specific relationship. Availability: Optional, Non-repeatable

karinbredenberg commented 3 years ago

Test of element relations: May contain: descriptiveNote (0..1), Ok in both schemas relation (1..n) Ok in both schemas May occur within: cpfDescription 0..1 Ok in both schemas Attributes: @audience - optional (values limited to: external, internal) Ok in both schemas @base - optional Ok in both schemas @conventationDeclarationReference - optional Ok in both schemas @id - optional Ok in both schemas @languageOfElement - optional Ok in both schemas @maintenanceEventReference - optional Ok in both schemas @scriptOfElement - optional Ok in both schemas @sourceReference - optional Ok in both schemas @target - optional Ok in both schemas

Result: element ready.