Files
lincodex/api/core/components/schemas/common_schemas.yml
T

35 lines
1.1 KiB
YAML

schemas:
Timestamp:
type: string
format: date-time
description: >-
UTC instant in RFC 3339 format with the Z suffix, for example
2026-10-05T09:30:00Z. Servers always emit UTC. Every date-time field in
this contract uses this schema.
examples:
- "2026-10-05T09:30:00Z"
PageInfo:
type: object
description: >-
Cursor pagination state of a list response. Lists are ordered by a
stable server-defined key. To read the next page, repeat the request
with the same filters and `cursor` set to `next_cursor`.
additionalProperties: false
required:
- has_more
- next_cursor
properties:
has_more:
type: boolean
description: Whether another page follows this one.
next_cursor:
type:
- string
- "null"
minLength: 1
maxLength: 512
pattern: "^[A-Za-z0-9_-]+$"
description: >-
Opaque cursor of the next page, or null on the last page. Clients
must not parse, build, or store it beyond the current listing.