2.4 KiB
Party contract
Contract: maximumdirect.party.v1. Schema.
The validation profile and compatibility rules
apply. See the example.
| Field | Required | Meaning |
|---|---|---|
schema_version |
Yes | Exactly maximumdirect.party.v1. |
characters |
Yes | Mapping from stable character IDs to roster entries; an empty mapping is valid. |
characters.<id>.character |
Yes | Character information. |
character.name |
Yes | Nonempty canonical display name. |
character.aliases |
No | Alternative names for the same character; omission, null, an empty list, or a list of nonempty strings. |
character.classes |
No | List of class objects, possibly empty. Each has a nonempty name and optional positive integer level. |
characters.<id>.player |
No | Player relationship. When present, an object with a required nonempty name. Multiple characters may have the same player. |
IDs are nonempty strings scoped to this party, independent of display names and application artifact names. They remain stable when a display name changes. Player names are display labels, not globally unique player identifiers. Equal character names and aliases do not establish identity; consumers decide how to handle ambiguity in a particular task. Strings are preserved as authored.
Every object permits additional fields. Classes are optional domain information
for campaigns that use them. Other character attributes may be extensions.
Known fields have the documented type even when other fields are present.
Optional objects and classes accept omission, not null. List order carries no
additional contract meaning; mapping order never establishes character order.
A consumer can derive a party glossary from this roster. It uses character IDs as entry IDs, canonical names and aliases, and its selected domain category. Operators need not maintain a duplicate party vocabulary document.
Differences from Narratio's existing party input
This contract uses a shared marker and aliases rather than alias. Player and
class information is optional. IDs follow domain identity rather than artifact
key syntax. Name uniqueness, class requirements, and mapping iteration order are
consumer decisions. Narratio's existing narratio.party.v1 format remains a
separate released interface until adoption is implemented.