DiscussionReference (JSON)
A data type that supports hypermedia controls (i.e. links).
Properties
Name |
Type |
Description |
|
resourceId |
string
|
The id of the discussion being referenced. |
FTR
|
resource |
string
|
The URI to the resource. For more information, see Architecture of the World
Wide Web, Volume One, Section 2 |
|
attribution |
Attribution
|
The attribution metadata for this discussion reference. |
|
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
{
"resourceId" : "...",
"resource" : "...",
"attribution" : {
"contributor" : {
"resourceId" : "...",
"resource" : "..."
},
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : {
"resourceId" : "...",
"resource" : "..."
},
"created" : 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" : "..."
}