XML

Collection (JSON)

A collection of genealogical resources.

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

Properties

Name Type Description
lang string The language of this description of the collection. See http://www.w3.org/International/articles/language-tags/ FTU
title string A title for the collection. FTU
size int The size of the collection, in terms of the number of items in this collection. FTU
content array of CollectionContent Descriptions of the content of this collection. FTU
attribution Attribution Attribution metadata for this collection. 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 ID A local, context-specific id for the data.

Example

{
  "lang" : "...",
  "title" : "...",
  "size" : ...,
  "content" : [ {
    "completeness" : ...,
    "count" : ...,
    "resourceType" : "...",
    "links" : {
      "type1" : [ {
      }, ... ],
      "type2" : [ {
      }, ... ],
      "..." : ...
    },
    "id" : "..."
  }, ... ],
  "attribution" : {
    "contributor" : {
    },
    "modified" : "...",
    "changeMessage" : "...",
    "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" : "..."
}