Skip to content

Fields

Every element carries the same base fields, then the fields of its own element type. Each element type’s own fields are listed on its page, for example Character.

Field Type Required Description
id string (uuid) No (server-assigned if omitted) Unique identifier, a UUID: new ones are UUIDv7, older UUIDv4 ids stay valid
name string Yes: the key must be present; an empty string is accepted Display name, up to 255 characters
world string (uuid) No (set by the API key; never sent in a body) The world this element belongs to
description string No Any kind of details about the element
supertype string No The top-level kind the element belongs to in its world, up to 128 characters
subtype string No A further classification within the supertype, up to 128 characters
image_url string (url) No Link to a representative image, up to 1024 characters

Ids are UUIDv7 when the server mints them, which makes them time-sortable. A client may supply its own id on create: any RFC 4122 UUID is accepted. On PUT and PATCH the path decides the id, and one in the body is ignored.

An element’s type is one of the 22; its supertype is the first sorting inside that type (a Character’s supertype might be Wizard), and its subtype sorts it further. Supertype and subtype are free text, so each world defines its own kinds. They sort elements within their element type and never add one. Conventions covers how to use them.

The API adds these to every element it returns. They are platform bookkeeping, not part of the standard.

Field Description
type The element’s type, as a lowercase slug (character), first key in every body
created_at, updated_at Timestamps
change_seq The world’s change sequence at the element’s last write
created_by The world membership that created the element, or null when the world’s owner did
changed_by, changed_via, changed_client Who made the last change, through which door, and the name its client gave (Agent writes); served to the world’s members only
doors Each tool that wrote the element, with the time of its last write there, at most 16; served to the world’s members only (Reads)
known_of Present, and true, only on an element the reader knows of but does not see whole: a guest’s or a player’s stub. Absent on a whole element. Never written (Known of)

A write body that carries type, created_at, updated_at or change_seq is rejected with 422. world, created_by, changed_by, changed_via, changed_client and doors are tolerated and ignored. hidden counts only on a create, where true creates the element hidden; it is ignored on PATCH, or a PUT that replaces.

Type What it holds On the API Example
text A string "…"; empty is "" A Character’s background
integer A whole number; some are bounded an integer or null A Character’s height
single link One element of a named element type a uuid or null A Character’s location (a Location)
multi link Any number of elements of a named element type an array of uuids; empty is [] A Character’s friends (Characters)
generic link One element of any element type two fields, element_type and element_id A Pin’s element
array A list of plain values a JSON array A world’s time_format_names

Link fields use their bare names in both directions: location, friends. There is no _id or _ids suffix on the v2 API.

Bounded numbers. Most numbers are open. These carry a range in the schema, as a hint for display (a slider’s range). The range is advisory: the API does not enforce it.

Range Fields
0 to 100 Character charisma, coercion, competence, compassion, creativity, courage · Ability potency · Relation intensity · Species aggression
-100 to 100 Trait charisma, coercion, competence, compassion, creativity, courage

Numbers are integers. The API truncates a decimal instead of rejecting it (7.9 is stored as 7), so scale values to whole units before writing.

Units. Dates are integers in the world’s time units (see Worlds). Some measurements name their unit kind in the schema: a Character’s height uses the world’s length units, weight its mass units.

On every element, only name is required: the key must be present on create and full replace, and an empty string is accepted. Markers, which mark the boundary points of a Zone, are often unnamed.

That includes the map element types. A Pin or Marker without a map or a position is valid, so an app can keep pins that are not on any map yet. Every other field accepts null.

That is the floor for a valid element, not what every use needs: a map view needs a Pin’s map, x and y before it can draw it, and a timeline needs dates.

Coordinates x and y are integers measured from the bottom left of the map; z is optional, for depth. A Marker’s order is its position in the sequence when Markers define a polygon or line (0 is the first point); without it, Markers keep the order they were made in.

Fields whose names start with a reserved prefix are accepted on write, stored as they are, and returned verbatim:

Prefix For
x_* The open namespace, for any tool or person
atlas_* Atlas
shadow_* The world folder format

An extension field can hold any JSON value up to 200 levels deep, the element itself as the first. The server does not index or filter extensions, and checks only a key’s prefix, a value’s depth and the extensions’ size. Each element can carry at most 64 KB of them, counted as compact UTF-8 JSON. A PATCH merges extension fields by key.

One x_ key is the server’s own: x_served_trimmed. The server adds it to a message or a lens it serves with parts hidden from the reader, and a write that carries it is rejected with 422 (served_trimmed_not_writable).

Any other unknown field is rejected with 422 naming the field, so a typo such as freinds fails loudly instead of being stored.

The base schema is what makes a world portable between tools. Data held in extension fields is read only by the tools that know those fields.

The same in all 22 element types: each key a body carries on POST, PUT or PATCH is stored, tolerated and ignored, or rejected with 422. Text longer than its cap is a 422, and so are extensions over 64 KB, and an element past 1 MB of text and links or 5,000 link ids (Writes).

Stored

  • id

    any RFC 4122 UUID is accepted

  • nameup to 255 characters

    the key must be present on create and full replace, and an empty string is accepted

  • description

    any kind of details about the element

  • supertypeup to 128 characters

    free text

  • subtypeup to 128 characters

    free text

  • image_urlup to 1024 characters

    link to a representative image

  • hidden

    counts only on a create, where true creates the element hidden

  • the fields of its own element type

    from 6 (Markers and Pins) to 33 (Characters); each element type's own fields are listed on its page

  • x_* atlas_* shadow_*

    extension fields: any JSON value, stored as they are, and returned verbatim; each element can carry at most 64 KB of them, counted as compact UTF-8 JSON; a PATCH merges extension fields by key

Tolerated and ignored

  • world

    the API-Key decides the world

  • created_by

    the server records who created an element

  • changed_by and changed_via

    the server records who last changed an element, and through which door

  • changed_client

    a client names itself in the X-OW-Client header, never in the body

  • doors

    the server records where an element has been

  • id on PUT and PATCH

    the path id wins

  • hidden on PATCH, or a PUT that replaces

    an existing element is hidden and unhidden through PUT and DELETE /{type}/{id}/hidden

Rejected with 422

  • type, created_at, updated_at and change_seq

    the API adds these to every element it returns

  • x_served_trimmed

    the server adds it to a message or a lens it serves: served_trimmed_not_writable

  • any other unknown field

    naming the field, so a typo such as freinds fails loudly

Generated from the API's own document (openapi.json): the 22 element types' write schemas for POST and PUT and their partial ones for PATCH, as read on 2026-11-28.

AI agents: start from llms.txt, this site's index, which links the whole documentation as plain text.