X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Ffixtures%2Fprismo-url-map.json;h=4e2e2fd4a4a0662cfd45ccc65e46c9fa71a9a9ac;hb=ec1d903f2ee1a65ae539c3258b4406e81ca73055;hp=9088d01af71f106d88f7d75e87795d6f4ec7b6e2;hpb=c5f26f3ce2ef84a424a59498cc2d5e4ca9e1b525;p=akkoma diff --git a/test/fixtures/prismo-url-map.json b/test/fixtures/prismo-url-map.json index 9088d01af..4e2e2fd4a 100644 --- a/test/fixtures/prismo-url-map.json +++ b/test/fixtures/prismo-url-map.json @@ -1,52 +1,65 @@ { - "id": "https://prismo.news/posts/83", - "type": "Article", - "name": "Introducing: Federated follows!", - "published": "2018-11-01T07:10:05Z", - "content": "We are more than thrilled to announce that Prismo now supports federated follows! It means you ca...", - "url": { - "type": "Link", - "mimeType": "text/html", - "href": "https://prismo.news/posts/83" - }, - "votes": 12, - "attributedTo": [ - { - "type": "Person", - "id": "https://prismo.news/@mxb" + "id": "https://prismo.news/posts/83#Create", + "type": "Create", + "actor": [ + { + "type": "Person", + "id": "https://prismo.news/@mxb" + } + ], + "to": [ + "https://www.w3.org/ns/activitystreams#Public" + ], + "object": { + "id": "https://prismo.news/posts/83", + "type": "Article", + "name": "Introducing: Federated follows!", + "published": "2018-11-01T07:10:05Z", + "content": "We are more than thrilled to announce that Prismo now supports federated follows! It means you ca...", + "url": { + "type": "Link", + "mimeType": "text/html", + "href": "https://prismo.news/posts/83" + }, + "votes": 12, + "attributedTo": [ + { + "type": "Person", + "id": "https://prismo.news/@mxb" + } + ], + "to": [ + "https://www.w3.org/ns/activitystreams#Public" + ], + "tags": [ + { + "type": "Hashtag", + "href": "https://prismo.news/tags/prismo", + "name": "#prismo" + }, + { + "type": "Hashtag", + "href": "https://prismo.news/tags/prismodev", + "name": "#prismodev" + }, + { + "type": "Hashtag", + "href": "https://prismo.news/tags/meta", + "name": "#meta" + } + ], + "@context": [ + "https://www.w3.org/ns/activitystreams", + "https://w3id.org/security/v1", + { + "Hashtag": "as:Hashtag" + }, + { + "votes": { + "@id": "as:votes", + "@type": "@id" + } + } + ] } - ], - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "tags": [ - { - "type": "Hashtag", - "href": "https://prismo.news/tags/prismo", - "name": "#prismo" - }, - { - "type": "Hashtag", - "href": "https://prismo.news/tags/prismodev", - "name": "#prismodev" - }, - { - "type": "Hashtag", - "href": "https://prismo.news/tags/meta", - "name": "#meta" - } - ], - "@context": [ - "https://www.w3.org/ns/activitystreams", - "https://w3id.org/security/v1", - { - "Hashtag": "as:Hashtag" - }, - { - "votes": { - "@id": "as:votes", - "@type": "@id" - } - } - ] }