diff --git a/ap_user_test/akkoma.json b/ap_user_test/akkoma.json new file mode 100644 index 0000000..443f92c --- /dev/null +++ b/ap_user_test/akkoma.json @@ -0,0 +1,99 @@ +{ + "@context": [ + "https://www.w3.org/ns/activitystreams", + "https://donotsta.re/schemas/litepub-0.1.jsonld", + { + "@language": "und" + } + ], + "alsoKnownAs": [ + "https://catcatnya.com/users/riedler" + ], + "attachment": [ + { + "name": "Languages", + "type": "PropertyValue", + "value": "Austrian (native), English (fluent), Standard German (fluent)" + }, + { + "name": "Website", + "type": "PropertyValue", + "value": "https://riedler.wien/" + }, + { + "name": "programming (order: familiarity)", + "type": "PropertyValue", + "value": "Python, PHP, JS, C99, Java" + }, + { + "name": "webdev (order: random)", + "type": "PropertyValue", + "value": "HTML5, CSS3, SVG" + }, + { + "name": "pronounciation (approx)", + "type": "PropertyValue", + "value": "reedluh" + }, + { + "name": "pronounciation (IPA)", + "type": "PropertyValue", + "value": "ʁiːdlä" + }, + { + "name": "personal info :3", + "type": "PropertyValue", + "value": "https://pronouns.cc/@Riedler" + }, + { + "name": "age", + "type": "PropertyValue", + "value": "adult" + } + ], + "capabilities": {}, + "discoverable": true, + "endpoints": { + "oauthAuthorizationEndpoint": "https://donotsta.re/oauth/authorize", + "oauthRegistrationEndpoint": "https://donotsta.re/api/v1/apps", + "oauthTokenEndpoint": "https://donotsta.re/oauth/token", + "sharedInbox": "https://donotsta.re/inbox" + }, + "featured": "https://donotsta.re/users/Riedler/collections/featured", + "followers": "https://donotsta.re/users/Riedler/followers", + "following": "https://donotsta.re/users/Riedler/following", + "icon": { + "type": "Image", + "url": "https://asdf.donotsta.re/media/c5671c1d2d6eec83124b00dc2eb010cef7b4d9734074a27feff0cd2b9eac91dc.png" + }, + "id": "https://donotsta.re/users/Riedler", + "image": { + "type": "Image", + "url": "https://asdf.donotsta.re/media/397f19d2f61853b9cba4f63aa7d4235225a4744a188279f6095b3cfbdf19a1eb.png" + }, + "inbox": "https://donotsta.re/users/Riedler/inbox", + "manuallyApprovesFollowers": true, + "name": "Riedler (2004) [E] [!]", + "outbox": "https://donotsta.re/users/Riedler/outbox", + "preferredUsername": "Riedler", + "publicKey": { + "id": "https://donotsta.re/users/Riedler#main-key", + "owner": "https://donotsta.re/users/Riedler", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4rUBqCAMMSDjuiepr+3R\nZMLZ1qF4ybsAI1iOcMU+l7YLkZao8KpfYb7NI5AoXUiR8OhCaFFLgbnQQOBuXzzT\nmMa5KOMEiCUwTCSN7nHrAcULWuT9RPA8Uo/itin2Q5rLkGQHWu04IuBZSrLyql4E\nvnRIybaFaNx/uYIsVD6UI/9Gmp1HSYn1hfzSVywZy1umeo7dimRN8joaAy4VTBgl\nyA5TgFsEWKF//4JUtdPCIRMnRgUnihwNPk0dkWa7fPt4syFWEg1smjulFKJ4hSB6\nJ9oqQJ0Wj0i+K+x+hS68PG38Ofj+BTlF0os2MmEcSXG9859W7hAhA0TzoQQsEXDM\nHwIDAQAB\n-----END PUBLIC KEY-----\n\n" + }, + "summary": "Austrian Musician and Programmer. From Linz, living in Vienna.

Several people have told me that not all of this bio federates to other software properly, so please open my profile externally, to read the whole thing. Thanks, and sorry for the inconvenience!

In uwus with @Autumn_Maxime@tech.lgbt, @domi@donotsta.re, she who bangs outside of fedi, @phos@not.an.evilcyberhacker.net, @darkphoenix@not.an.evilcyberhacker.net and @lili@donotsta.re :3

Professional Reviews™:
   @benaryorg@catcatnya.com - "suspiciously knowledgeable tech person with inspiring Thoughts™ and Opinions™"
   shebang - "bsdhdkshhejeeh riedler whaaa eirurjrjrkeikwwbebrufyfirjrhjwnedj"
   @heatherhorns_lite@plush.city - "Riedler's got the moves"
   @keyboardsmash@tech.lgbt - "i know them from the internet and they are nice. also dad jokes."
   @Ak1ra - "You are very caring Riedler"
   @domi - "God's biggest eeper"
   @april - "I meowed at you, why u don respond🥺"
   @Lili - "someday I'll think about something"

I accept follow requests if you pass the vibe check. Try it out :meowmlem: To check that you read my bio, tell me your favourite food.

Profile picture is a very stylized version of a capital R. It's a pink-white-blue sine wave with a softened nail thing poking through the left side. Yes, trans colors.
Header is a very stylized version of "Riedler". The shape of the Rs are similar to my profile picture, just without the nail thing. Various shapes have lines exending throughout the rest of the image, creating a nice pattern between the pink, white and blue.", + "tag": [ + { + "icon": { + "type": "Image", + "url": "https://donotsta.re/emoji/meow/meowmlem.png" + }, + "id": "https://donotsta.re/emoji/meow/meowmlem.png", + "name": ":meowmlem:", + "type": "Emoji", + "updated": "1970-01-01T00:00:00Z" + } + ], + "type": "Person", + "url": "https://donotsta.re/users/Riedler" +} \ No newline at end of file diff --git a/src/objects/person.rs b/src/objects/person.rs index c84990a..1e59b4b 100644 --- a/src/objects/person.rs +++ b/src/objects/person.rs @@ -106,7 +106,7 @@ pub struct Person { #[serde(skip_serializing_if = "Option::is_none")] pub attachment: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub also_known_as: Option, + pub also_known_as: Option>, } #[derive(Clone, Debug, Deserialize, Serialize)] pub struct TagType {