Discussion (JSON)

A discussion.

URI:Discussion
Extends:HypermediaEnabledData

Properties

Name Type Description
title string get the one-line summary or "subject" of the discussion
details string Get detailed text of the discussion
created number Get the date of discussion creation
contributor ResourceReference Get the contributor who submitted this discussion
modified number Last date of any change to comments or discussion details
numberOfComments number Get the number of comments associated with this discussion
comments array of Comment The comments on this discussion.
Properties inherited from HypermediaEnabledData
links map 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

{
  "title" : "...",
  "details" : "...",
  "created" : 12345,
  "contributor" : {
    "resourceId" : "...",
    "resource" : "..."
  },
  "modified" : 12345,
  "numberOfComments" : 12345,
  "comments" : [ {
    "text" : "...",
    "created" : 12345,
    "contributor" : {
      "resourceId" : "...",
      "resource" : "..."
    },
    "links" : {
      "property1" : {
        "href" : "...",
        "template" : "...",
        "title" : "...",
        "type" : "...",
        "accept" : "...",
        "allow" : "...",
        "hreflang" : "...",
        "count" : 12345,
        "offset" : 12345,
        "results" : 12345
      },
      "property2" : {
        "href" : "...",
        "template" : "...",
        "title" : "...",
        "type" : "...",
        "accept" : "...",
        "allow" : "...",
        "hreflang" : "...",
        "count" : 12345,
        "offset" : 12345,
        "results" : 12345
      }
    },
    "id" : "..."
  }, {
    "text" : "...",
    "created" : 12345,
    "contributor" : {
      "resourceId" : "...",
      "resource" : "..."
    },
    "links" : {
      "property1" : {
        "href" : "...",
        "template" : "...",
        "title" : "...",
        "type" : "...",
        "accept" : "...",
        "allow" : "...",
        "hreflang" : "...",
        "count" : 12345,
        "offset" : 12345,
        "results" : 12345
      },
      "property2" : {
        "href" : "...",
        "template" : "...",
        "title" : "...",
        "type" : "...",
        "accept" : "...",
        "allow" : "...",
        "hreflang" : "...",
        "count" : 12345,
        "offset" : 12345,
        "results" : 12345
      }
    },
    "id" : "..."
  } ],
  "links" : {
    "property1" : {
      "href" : "...",
      "template" : "...",
      "title" : "...",
      "type" : "...",
      "accept" : "...",
      "allow" : "...",
      "hreflang" : "...",
      "count" : 12345,
      "offset" : 12345,
      "results" : 12345
    },
    "property2" : {
      "href" : "...",
      "template" : "...",
      "title" : "...",
      "type" : "...",
      "accept" : "...",
      "allow" : "...",
      "hreflang" : "...",
      "count" : 12345,
      "offset" : 12345,
      "results" : 12345
    }
  },
  "id" : "..."
}

Change Language

Feedback

Sending...

Feedback was sent.

Can't send feedback. Retry in 5 seconds.