XML

RecordDescriptor (JSON)

A descriptor for a common set of records.

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

Properties

Name Type Description
lang string The language of this record description. See http://www.w3.org/International/articles/language-tags/ FTU
fields array of FieldDescriptor Descriptors of the fields that are applicable to this record. FTU
Properties inherited from HypermediaEnabledData
links array of Link The list of hypermedia links. Links are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
Properties inherited from ExtensibleData
id string A local, context-specific id for the data.

Example

{
  "lang" : "...",
  "fields" : [ {
    "originalLabel" : "...",
    "descriptions" : [ {
    }, ... ],
    "values" : [ {
      "links" : {
        "type1" : [ {
        }, ... ],
        "type2" : [ {
        }, ... ],
        "..." : ...
      }
    }, ... ],
    "links" : {
      "type1" : [ {
      }, ... ],
      "type2" : [ {
      }, ... ],
      "..." : ...
    },
    "id" : "..."
  }, ... ],
  "links" : {
    "type1" : [ {
      "template" : "...",
      "allow" : "...",
      "count" : ...,
      "accept" : "...",
      "type" : "...",
      "hreflang" : "...",
      "title" : "...",
      "results" : ...,
      "rel" : "...",
      "offset" : ...,
      "href" : ...
    }, ... ],
    "type2" : [ {
      "template" : "...",
      "allow" : "...",
      "count" : ...,
      "accept" : "...",
      "type" : "...",
      "hreflang" : "...",
      "title" : "...",
      "results" : ...,
      "rel" : "...",
      "offset" : ...,
      "href" : ...
    }, ... ],
    "..." : ...
  },
  "id" : "..."
}