This represents an author (or agency). The entity may be the main content
on author pages or simply indicate the author of an Article.
Field name | Type | Description |
id | int64 | The unique identifier (cms id) of the author. |
type | Author.Type | The type of the author entity. |
fields | map[string, string] | The fields of the author. This is a map of key-value pairs. The keys are the field names and the values are the field values. |
elements | Article.Element[] | The elements of the author, e.g. the author's profile picture. |
work_history | Author.HistoryEntry[] | The career entries of the author. |
education | Reference[] | The education entries of the author. |
social_profiles | Reference[] | The social profiles of the author. |
areas_of_expertise | string[] | List of topics where the author possesses extraordinary knowledge |
references | Reference [] | References, e.g. URLs belonging to this article. |
message Author {
int64 id = 1;
Type type = 2;
map<string, string> fields = 3; // migrate from Asset[type=metadata]
repeated Article.Element elements = 4; // profile picture
repeated HistoryEntry work_history = 5;
repeated Reference education = 6;
repeated Reference social_profiles = 7;
repeated string areas_of_expertise = 8;
repeated Reference references = 9;
[~]
Enum value | Description |
TYPE_UNSPECIFIED | unspecified |
AUTHOR | The author is a person. |
AGENCY | The author is an agency or company. |
enum Type {
TYPE_UNSPECIFIED = 0;
AUTHOR = 1;
AGENCY = 2;
}
[~]
Lists previous jobs and details about the author's career.
Field name | Type | Description |
role | string | The role of the author for this occupation. |
description | string | A description of the author's role. |
message HistoryEntry {
string role = 1;
string description = 2;
}
[~]
{
"id": 100000001,
"type": "AUTHOR",
"fields": {
"flag:hidden": "true",
"role": "Hier steht ein Titel",
"academic_degree": "Prof.",
"last_name": "Doe",
"short_name": "jdoe",
"headline": "Autorenseite von John Doe",
"first_name": "John",
"ignore_vg_wort": "true",
"url": "/author/id_100000001/john-doe.html"
},
"elements": [
{ "//": "Author Image Element removed for better readability" }
],
"work_history": [
{
"role": "Dummy",
"description": "Hält nur als pseudo Autor her, John Doe eben ;)"
},
{
"role": "Chief Executive Officer of ACME",
"description": "Very important"
}
],
"education": [
{
"children": [],
"fields": {},
"type": "",
"label": "John Doe Acedamy",
"href": "https://www.john.doe.acedamy.com"
},
{
"children": [],
"fields": {},
"type": "",
"label": "ACME university",
"href": "https://www.acmemilano.it/"
}
],
"social_profiles": [
{
"children": [],
"fields": {},
"type": "",
"label": "MySpace",
"href": "https://myspace.com/johndoe"
},
{
"children": [],
"fields": {},
"type": "",
"label": "Instagram",
"href": "https://www.instagram.com/johndoe.x/?hl=en"
}
],
"areas_of_expertise": [
"Dummy",
"ACME",
"Example",
"no-op",
"Cyber",
"PDP-11-Assembly",
"Tetris"
]
}
[~]
[~]