1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.ApiSpec.Schemas.Emoji do
6 alias OpenApiSpex.Schema
12 description: "Response schema for an emoji",
15 shortcode: %Schema{type: :string},
16 url: %Schema{type: :string, format: :uri},
17 static_url: %Schema{type: :string, format: :uri},
18 visible_in_picker: %Schema{type: :boolean}
21 "shortcode" => "fatyoshi",
23 "https://files.mastodon.social/custom_emojis/images/000/023/920/original/e57ecb623faa0dc9.png",
25 "https://files.mastodon.social/custom_emojis/images/000/023/920/static/e57ecb623faa0dc9.png",
26 "visible_in_picker" => true