1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.ApiSpec.Schemas.AccountEmoji do
6 alias OpenApiSpex.Schema
11 title: "AccountEmoji",
12 description: "Response schema for account custom fields",
15 shortcode: %Schema{type: :string},
16 url: %Schema{type: :string},
17 static_url: %Schema{type: :string},
18 visible_in_picker: %Schema{type: :boolean}
22 "shortcode" => "fatyoshi",
24 "https://files.mastodon.social/custom_emojis/images/000/023/920/original/e57ecb623faa0dc9.png",
26 "https://files.mastodon.social/custom_emojis/images/000/023/920/static/e57ecb623faa0dc9.png",
27 "visible_in_picker" => true