JSON

SourceCitation (XML)

Represents a source citation.

Namespace:http://gedcomx.org/v1/
URI:http://gedcomx.org/v1/SourceCitation
Extends:HypermediaEnabledData

Attributes

Name Type Description
lang string The language of the citation. See http://www.w3.org/International/articles/language-tags/
Attributes inherited from ExtensibleData
id string A local, context-specific id for the data.

Elements

Name Type Occurs Description
citationTemplate ResourceReference 0..1 A reference to the citation template for this citation. FTU
field CitationField 0..* The list of citation fields. FTU
value string 0..1 A rendering (as a string) of a source citation. This rendering should be the most complete rendering available.
Elements inherited from HypermediaEnabledData
link Link 0..* The list of hypermedia links. Links are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.

Example

<?xml version="1.0" encoding="UTF-8"?>
<SourceCitation xmlns="http://gedcomx.org/v1/" id="..." xml:lang="...">
  <link template="..." allow="..." count="..." accept="..." type="..." hreflang="..." title="..." results="..." rel="..." offset="..." href="..." />
  <link template="..." allow="..." count="..." accept="..." type="..." hreflang="..." title="..." results="..." rel="..." offset="..." href="...">
    <!--...-->
  </link>
  <!--...more "link" elements...-->
  <citationTemplate resourceId="..." resource="..." />
  <field name="...">...</field>
  <field name="...">...</field>
  <!--...more "field" elements...-->
  <value>...</value>
</SourceCitation>