JSON

Discussion (XML)

A discussion.

Namespace:http://familysearch.org/v1/
URI:http://familysearch.org/v1/Discussion
Extends:HypermediaEnabledData

Attributes

Name Type Description
Attributes inherited from ExtensibleData
id string A local, context-specific id for the data.

Elements

Name Type Occurs Description
title string 0..1 get the one-line summary or "subject" of the discussion
details string 0..1 Get detailed text of the discussion
created dateTime 0..1 Get the date of discussion creation
contributor ResourceReference 0..1 Get the contributor who submitted this discussion
modified dateTime 0..1 Last date of any change to comments or discussion details
numberOfComments int 0..1 Get the number of comments associated with this discussion
comment Comment 0..* The comments on this discussion.
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"?>
<Discussion xmlns="http://familysearch.org/v1/" id="...">
  <gx:link xmlns:gx="http://gedcomx.org/v1/" template="..." allow="..." count="..." accept="..." type="..." hreflang="..." title="..." results="..." rel="..." offset="..." href="..." />
  <gx:link xmlns:gx="http://gedcomx.org/v1/" template="..." allow="..." count="..." accept="..." type="..." hreflang="..." title="..." results="..." rel="..." offset="..." href="...">
    <!--...-->
  </gx:link>
  <!--...more "link" elements...-->
  <title>...</title>
  <details>...</details>
  <created>...</created>
  <contributor resourceId="..." resource="..." />
  <modified>...</modified>
  <numberOfComments>...</numberOfComments>
  <comment id="...">
    <gx:link xmlns:gx="http://gedcomx.org/v1/" template="..." allow="..." count="..." accept="..." type="..." hreflang="..." title="..." results="..." rel="..." offset="..." href="..." />
    <gx:link xmlns:gx="http://gedcomx.org/v1/" template="..." allow="..." count="..." accept="..." type="..." hreflang="..." title="..." results="..." rel="..." offset="..." href="...">
      <!--...-->
    </gx:link>
    <!--...more "link" elements...-->
    <text>...</text>
    <created>...</created>
    <contributor resourceId="..." resource="..." />
  </comment>
  <comment>
    <!--...-->
  </comment>
  <!--...more "comment" elements...-->
</Discussion>