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.AccountField do
6 alias OpenApiSpex.Schema
11 title: "AccountField",
12 description: "Response schema for account custom fields",
15 name: %Schema{type: :string},
16 value: %Schema{type: :string, format: :html},
17 verified_at: %Schema{type: :string, format: :"date-time", nullable: true}
22 "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
23 "verified_at" => "2019-08-29T04:14:55.571+00:00"