Если контент не отображается, включите VPN.
Продолжаю формировать новый формат Историй для ProstoDiary. Понял, что необходимо будет формировать для каждого сообщения ссылку на отправителя. Вначале решил полностью скопировать такой функционал из FHIR R4, но потом вспомнил что существует такая классная спецификация JSON-LD.
{
"@context": "https://schema.org",
"@graph": [
{
"@type": [
"Person",
"Organization"
],
"@id": "https://baskovsky.ru/#/schema/person/3b3d789111fee23857429928830a5274",
"name": "Baskovsky",
"image": {
"@type": "ImageObject",
"@id": "https://baskovsky.ru/#personlogo",
"inLanguage": "ru-RU",
"url": "https://baskovsky.ru/wp-content/uploads/2021/05/cropped-watermark_1.png",
"contentUrl": "https://baskovsky.ru/wp-content/uploads/2021/05/cropped-watermark_1.png",
"width": 512,
"height": 512,
"caption": "Baskovsky"
},
"logo": {
"@id": "https://baskovsky.ru/#personlogo"
},
"description": "\\u0424\\u0438\\u043b\\u043e\\u0441\\u043e\\u0444, \\u0438\\u0437\\u043e\\u0431\\u0440\\u0435\\u0442\\u0430\\u0442\\u0435\\u043b\\u044c \\u0438 \\u043f\\u043e\\u044d\\u0442",
"sameAs": [
"https://baskovsky.ru",
"https://facebook.com/baskovsky",
"https://lnkd.in/W4pQhG",
"https://www.youtube.com/c/DenisBaskovsky",
"https://soundcloud.com/denis-baskovsky"
]
},
{
"@type": "WebSite",
"@id": "https://baskovsky.ru/#website",
"url": "https://baskovsky.ru/",
"name": "Baskovsky",
"description": "Keep moving forward",
"publisher": {
"@id": "https://baskovsky.ru/#/schema/person/3b3d789111fee23857429928830a5274"
},
"potentialAction": [
{
"@type": "SearchAction",
"target": "https://baskovsky.ru/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
],
"inLanguage": "ru-RU"
},
{
"@type": "ImageObject",
"@id": "https://baskovsky.ru/about/#primaryimage",
"inLanguage": "ru-RU",
"url": "https://baskovsky.ru/wp-content/uploads/2021/05/me-scaled.jpg",
"contentUrl": "https://baskovsky.ru/wp-content/uploads/2021/05/me-scaled.jpg",
"width": 1920,
"height": 2560,
"caption": "Denis Baskovsky"
},
{
"@type": [
"WebPage",
"ProfilePage"
],
"@id": "https://baskovsky.ru/about/#webpage",
"url": "https://baskovsky.ru/about/",
"name": "\\u0414\\u0435\\u043d\\u0438\\u0441 \\u0411\\u0430\\u0441\\u043a\\u043e\\u0432\\u0441\\u043a\\u0438\\u0439: \\u0444\\u0438\\u043b\\u043e\\u0441\\u043e\\u0444, \\u0438\\u0437\\u043e\\u0431\\u0440\\u0435\\u0442\\u0430\\u0442\\u0435\\u043b\\u044c \\u0438 \\u043f\\u043e\\u044d\\u0442\\u2026",
"isPartOf": {
"@id": "https://baskovsky.ru/#website"
},
"primaryImageOfPage": {
"@id": "https://baskovsky.ru/about/#primaryimage"
},
"datePublished": "2020-11-17T07:29:59+00:00",
"dateModified": "2021-06-06T08:30:59+00:00",
"description": "\\u0414\\u0435\\u043d\\u0438\\u0441 \\u0411\\u0430\\u0441\\u043a\\u043e\\u0432\\u0441\\u043a\\u0438\\u0439 \\u043e \\u0441\\u0435\\u0431\\u0435: \\u0438\\u0441\\u0442\\u043e\\u0440\\u0438\\u044f, \\u043a\\u0430\\u0440\\u044c\\u0435\\u0440\\u0430, \\u043f\\u0440\\u043e\\u0435\\u043a\\u0442\\u044b, \\u0443\\u0432\\u043b\\u0435\\u0447\\u0435\\u043d\\u0438\\u044f",
"breadcrumb": {
"@id": "https://baskovsky.ru/about/#breadcrumb"
},
"inLanguage": "ru-RU",
"potentialAction": [
{
"@type": "ReadAction",
"target": [
"https://baskovsky.ru/about/"
]
}
]
},
{
"@type": "BreadcrumbList",
"@id": "https://baskovsky.ru/about/#breadcrumb",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "https://baskovsky.ru/about/#webpage"
}
}
]
}
]
}