# Pleroma: A lightweight social networking server # Copyright © 2017-2022 Pleroma Authors # SPDX-License-Identifier: AGPL-3.0-only defmodule Pleroma.Web.ApiSpec.Schemas.Announcement do alias OpenApiSpex.Schema alias Pleroma.Web.ApiSpec.Schemas.FlakeID require OpenApiSpex OpenApiSpex.schema(%{ title: "Account", description: "Response schema for an account", type: :object, properties: %{ id: FlakeID, content: %Schema{type: :string}, published_at: %Schema{type: :string, format: "date-time"}, updated_at: %Schema{type: :string, format: "date-time"} } }) end