Format reference
Metadata
Version 1 has no type for scene context such as a background image, character animation, camera angle or music, and no free-form metadata on nodes. So this page has no OSF, YAML or JSON example.
Until then, a game can key its own scene data by node: every node is identified by its dialogue and node id, for example Dialogue.01_intro_scene and node_03.
Not in v1
These were open questions in earlier drafts. Version 1 leaves them out; a later plugin version can add them without changing what v1 files mean. The list is in spec §6.
- Document content: description and other text, parent document, tags, relations to other documents, images, and whether a Character should point at its Document.
- Grammatical agreement (gender, plural, case) for references. Write the variants as separate texts chosen with a variable and
requires. - Inline media (images) in text. Games attach media by node id.
- Generated ids (UUIDs). Ids are the stable identity of nodes and translations; a rename is a deliberate change.
- Engine export.
osf convertwrites the resources as JSON or YAML, and a game engine reads them directly. There is no engine-specific output format.