Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make legalActor personLike #60

Open
AlinaOs opened this issue Jun 28, 2023 · 0 comments
Open

Make legalActor personLike #60

AlinaOs opened this issue Jun 28, 2023 · 0 comments

Comments

@AlinaOs
Copy link

AlinaOs commented Jun 28, 2023

Should the legalActor element belong to the class model.personLike, so that it can be used in elements where only personLike elements are allowed? This is, for example, the case in the element personList, used in the participant description to list persons occurring in the document and their relation to each other (see TEI guidelines). Currently, legalActor can only be used very unintuitively, leaving questions about where to put the corresp attribute:

<particDesc>
    <listPerson>
        <person corresp="#person1ID"> <!-- put @corresp here or... -->
            <legalActor type="issuer"/> <!-- here? -->
        </person>
        <person corresp="#person2ID">
            <legalActor type="recipient"/>
        </person>
         <listRelation>
             <relation type="personal" name="sibling" mutual="#person1ID #person2ID"/>
         </listRelation>
    </listPerson>
</particDesc>

If legalActor were personLike, it could be used easily and logically like this:

<particDesc>
    <listPerson>
        <legalActor type="issuer" corresp="#person1ID"/>
        <legalActor type="recipient" corresp="#person2ID"/>
         <listRelation>
             <relation type="personal" name="sibling" mutual="#person1ID #person2ID"/>
         </listRelation>
    </listPerson>
</particDesc>

The necessary change in the ODD would comprise only one line:

<elementSpec ident="legalActor" mode="add">
      <desc> Persons or organizations party to or otherwise mentioned in a an act or contract. </desc>
      <classes>
       <memberOf key="att.global"/>
       <memberOf key="att.typed"/>
       <memberOf key="model.inter"/>
       <memberOf key="model.pLike"/>
       <!-- change start -->
       <memberOf key="model.personLike"/>
       <!-- change end -->
      </classes>
       ...
</elementSpec>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant