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.AccountAttributeField do
6 alias OpenApiSpex.Schema
11 title: "AccountAttributeField",
12 description: "Request schema for account custom fields",
15 name: %Schema{type: :string},
16 value: %Schema{type: :string}
18 required: [:name, :value],
22 "value" => "https://pleroma.com"