104 lines
3.7 KiB
JSON
104 lines
3.7 KiB
JSON
{ldelim}
|
|
"@context":[
|
|
"https://www.w3.org/ns/activitystreams",
|
|
"https://w3id.org/security/v1",
|
|
{ldelim}
|
|
"manuallyApprovesFollowers":"as:manuallyApprovesFollowers",
|
|
"toot":"http://joinmastodon.org/ns#",
|
|
"featured":{ldelim}
|
|
"@id":"toot:featured",
|
|
"@type":"@id"
|
|
{rdelim},
|
|
"featuredTags":{ldelim}
|
|
"@id":"toot:featuredTags",
|
|
"@type":"@id"
|
|
{rdelim},
|
|
"alsoKnownAs":{ldelim}
|
|
"@id":"as:alsoKnownAs",
|
|
"@type":"@id"
|
|
{rdelim},
|
|
"movedTo":{ldelim}
|
|
"@id":"as:movedTo",
|
|
"@type":"@id"
|
|
{rdelim},
|
|
"schema":"http://schema.org#",
|
|
"PropertyValue":"schema:PropertyValue",
|
|
"value":"schema:value",
|
|
"discoverable":"toot:discoverable",
|
|
"Device":"toot:Device",
|
|
"Ed25519Signature":"toot:Ed25519Signature",
|
|
"Ed25519Key":"toot:Ed25519Key",
|
|
"Curve25519Key":"toot:Curve25519Key",
|
|
"EncryptedMessage":"toot:EncryptedMessage",
|
|
"publicKeyBase64":"toot:publicKeyBase64",
|
|
"deviceId":"toot:deviceId",
|
|
"claim":{ldelim}
|
|
"@type":"@id",
|
|
"@id":"toot:claim"
|
|
{rdelim},
|
|
"fingerprintKey":{ldelim}
|
|
"@type":"@id",
|
|
"@id":"toot:fingerprintKey"
|
|
{rdelim},
|
|
"identityKey":{ldelim}
|
|
"@type":"@id",
|
|
"@id":"toot:identityKey"
|
|
{rdelim},
|
|
"devices":{ldelim}
|
|
"@type":"@id",
|
|
"@id":"toot:devices"
|
|
{rdelim},
|
|
"messageFranking":"toot:messageFranking",
|
|
"messageType":"toot:messageType",
|
|
"cipherText":"toot:cipherText",
|
|
"suspended":"toot:suspended",
|
|
"focalPoint":{ldelim}
|
|
"@container":"@list",
|
|
"@id":"toot:focalPoint"
|
|
{rdelim}
|
|
{rdelim}
|
|
],
|
|
"id":"https://{$fqdn}/{$username}",
|
|
"type":"{$type}",
|
|
"following":"https://{$fqdn}/{$username}/following",
|
|
"followers":"https://{$fqdn}/{$username}/followers",
|
|
"inbox":"https://{$fqdn}/{$username}/inbox",
|
|
"outbox":"https://{$fqdn}/{$username}/outbox",
|
|
"featured":"https://{$fqdn}/{$username}/collections/featured",
|
|
"featuredTags":"https://{$fqdn}/{$username}/collections/tags",
|
|
"preferredUsername":"{$username}",
|
|
"name":"{$name}",
|
|
"summary":"{$summary}",
|
|
"url":"https://{$fqdn}/@{$username}",
|
|
"manuallyApprovesFollowers":false,
|
|
"discoverable":true,
|
|
"published":"{$registered}",
|
|
"publicKey":{ldelim}
|
|
"id":"https://{$fqdn}/{$username}#main-key",
|
|
"owner":"https://{$fqdn}/{$username}",
|
|
"publicKeyPem":"{$publickey}"
|
|
{rdelim},
|
|
"tag":[],
|
|
"attachment":[
|
|
{if $type==='group'}{ldelim}
|
|
"type":"PropertyValue",
|
|
"name":"website",
|
|
"value":"\u003ca href=\"https://{$fqdn}/@{$username}\" target=\"_blank\" rel=\"nofollow noopener noreferrer me\"\u003e\u003cspan class=\"invisible\"\u003ehttps://\u003c/span\u003e\u003cspan class=\"\"\u003e{$fqdn}/@{$username}\u003c/span\u003e\u003cspan class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e"
|
|
{rdelim}{/if}
|
|
],
|
|
"endpoints":{ldelim}
|
|
"sharedInbox":"https://{$fqdn}/inbox"
|
|
{rdelim},
|
|
{if $iconURL !== ''} "icon":{ldelim}
|
|
"type":"Image",
|
|
"mediaType":"{$iconMediaType}",
|
|
"url":"{$iconURL}"
|
|
{rdelim},
|
|
{/if}
|
|
{if $imageURL !== ''} "image":{ldelim}
|
|
"type":"Image",
|
|
"mediaType":"{$imageMediaType}",
|
|
"url":"{$imageURL}"
|
|
{rdelim}
|
|
{/if}
|
|
{rdelim}
|