34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
components:
|
|
schemas:
|
|
AccountPublic:
|
|
description: Public account profile data exposed in API responses.
|
|
allOf:
|
|
- $ref: ../storable.yaml#/components/schemas/Storable
|
|
- $ref: ../common/describable.yaml#/components/schemas/Describable
|
|
- type: object
|
|
description: Account-specific public attributes.
|
|
additionalProperties: false
|
|
required:
|
|
- login
|
|
- locale
|
|
- lastName
|
|
- isArchived
|
|
properties:
|
|
login:
|
|
description: Account login identifier represented as an email address.
|
|
type: string
|
|
format: email
|
|
locale:
|
|
description: Preferred locale used for account-facing content.
|
|
type: string
|
|
lastName:
|
|
description: Account holder last name.
|
|
type: string
|
|
avatarUrl:
|
|
description: Optional URL of the account avatar image.
|
|
type: string
|
|
nullable: true
|
|
isArchived:
|
|
description: Indicates whether the account is archived and inactive.
|
|
type: boolean
|