VocabTranslation (JSON)
A data type that supports hypermedia controls (i.e. links).
Properties
Name |
Type |
Description |
|
lang |
string
|
Get the language of the vocabulary translation. See
http://www.w3.org/International/articles/language-tags/ |
|
text |
string
|
Get the text for this vocabulary translation. |
|
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
{
"lang" : "...",
"text" : "...",
"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" : "..."
}