SCTA Community

Extracted from official github repo https://github.com/scta/tdf-schema on 2020-01-23

Transcription Description File Schema

This is a repository for the schema for Transcription Description Files, maintained by the SCTA community http://scta.info

The TDF-SCHEMA is used to associate Transcriptions (and Transcription version chains) with Text Editions at the structureItem level and associating transcriptions with Articles.

Description

List

A transcription file begins with <List> as the root element, which takes a list of <manifestations> elements to which transcriptions will be associated.

Manifestation

Each <manifestation> takes the following attributes and elements.

Transcriptions

<Transcriptions> is a wrapper element that MUST be present, even if there is only one transcription being listed, which will likely be the case with respect to Articles.

Transcription

The <Transcription> element contains a version chain. There will often only be one main transcription here (again especially in the case of articles).

Version

The <Version> element begins a version chain.

Examples

An example transcription file associating transcriptions of text editions with manifestations looks as follows:

An live example can be viewed here: https://github.com/scta-texts/graciliscommentary/blob/master/pg-b1q1/transcriptions.xml


<?xml version="1.0" encoding="UTF-8"?>
<list>
  <manifestation manifestationDefault="true">
    <name>critical</name>
    <title>Critical</title>
    <transcriptions>
      <transcription transcriptionDefault="true">
        <title>Critical</title>
        <type>critical</type>
        <version versionDefault="true">
          <hash>transcription</hash>
          <versionNo n="1.0.0-dev">Version 1.0.0-dev</versionNo>
          <url>pg-b1q1.xml</url>
        </version>
        <version>
          <hash>QmT6MXgMLCgXVehKQn76vc2hMAYS4yn5n1h48VRe81A3Rz</hash>
          <versionNo n="1.0.0-dev">Version 1.0.0-dev</versionNo>
          <url>https://gateway.scta.info/ipfs/QmT6MXgMLCgXVehKQn76vc2hMAYS4yn5n1h48VRe81A3Rz</url>
        </version>
      </transcription>
      <transcription>
        <title>Critical Alternative</title>
        <type>critical</type>
        <version versionDefault="true">
          <hash>transcription2</hash>
          <versionNo n="1.0.0-dev">Version 1.0.0-dev-t2</versionNo>
          <url>pg-b1q1.xml</url>
        </version>
        <version>
          <hash>QmT6MXgMLCgXVehKQn76vc2hMAYS4yn5n1h48VRe81A3Rz-t2</hash>
          <versionNo n="1.0.0-dev">Version 1.0.0-dev-tw</versionNo>
          <url>https://gateway.scta.info/ipfs/QmT6MXgMLCgXVehKQn76vc2hMAYS4yn5n1h48VRe81A3Rz</url>
        </version>
      </transcription>
    </transcriptions>
  </manifestation>
  <manifestation>
    <name>en</name>
    <title>English</title>
    <language>en</language>
    <transcriptions>
      <transcription transcriptionDefault="true">
        <type>translation</type>
        <version versionDefault="true">
          <hash>transcription</hash>
          <versionNo n="1.0.0-dev">Version 1.0.0-dev</versionNo>
          <url>en_pg-b1q1.xml</url>
        </version>
        <version>
          <hash>QmP4FPs1fhvTHDkbuRgEsYuKdSUXG1Dr2ApSCiDBYFW7K8</hash>
          <versionNo n="1.0.0-dev">Version 1.0.0-dev</versionNo>
          <url>https://gateway.scta.info/ipfs/QmP4FPs1fhvTHDkbuRgEsYuKdSUXG1Dr2ApSCiDBYFW7K8</url>
        </version>
      </transcription>
    </transcriptions>
  </manifestation>  
</list>

An example transcription file associating transcriptions with an Article looks as follows: Note that the @type=articles indicates that this list is for “articles” which allows the use of a view extra properties, most notably the isArticleOf element.

A live example can be viewed here https://github.com/scta/scta-articles/blob/master/plaoul-articles.xml


<list type="articles">
  <!-- Plaoul related articles -->
  <manifestation manifestationDefault="true">
    <name>pp-about</name>
    <title>About the Sentences Commentaries</title>
    <type>about</type>
    <isArticleOf>http://scta.info/resource/plaoulcommentary</isArticleOf>
    <isArticleOf>http://scta.info/resource/plaoulreportatio</isArticleOf>
    <isArticleOf>http://scta.info/resource/plaoulreportatioA</isArticleOf>
    <transcriptions>
      <transcription transcriptionDefault="true">
        <version versionDefault="true">
          <hash>head</hash>
          <versionNo n="1.0.0-dev">Version 1.0.0-dev</versionNo>
          <url>pp-about.xml</url>
        </version>
      </transcription>
    </transcriptions>
  </manifestation>
</list>