Comment (JSON)
A data type that supports hypermedia controls (i.e. links).
Properties
Name |
Type |
Description |
|
text |
string
|
Get the text of the comment |
|
created |
number
|
Get the date of comment creation |
|
contributor |
ResourceReference
|
Get the contributor who submitted this comment |
|
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
{
"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" : "..."
}
Comment (JSON)
A data type that supports hypermedia controls (i.e. links).
Properties
Example