XML

CollectionContent (JSON)

A description of the content of a collection by resource type.

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

Properties

Name Type Description
completeness float A completeness factor for this content; i.e. what percentage of the total number of items in the collection is included in this content aspect. The completeness factor is a value between 0 and 1. FTU
count int The count of the items applicable to this content aspect. FTU
resourceType string The type of resource being covered in 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

{
  "completeness" : ...,
  "count" : ...,
  "resourceType" : "...",
  "links" : {
    "type1" : [ {
      "hreflang" : "...",
      "template" : "...",
      "title" : "...",
      "allow" : "...",
      "accept" : "...",
      "rel" : "...",
      "type" : "...",
      "href" : ...
    }, ... ],
    "type2" : [ {
      "hreflang" : "...",
      "template" : "...",
      "title" : "...",
      "allow" : "...",
      "accept" : "...",
      "rel" : "...",
      "type" : "...",
      "href" : ...
    }, ... ],
    "..." : ...
  },
  "id" : "..."
}