# The format

> The open Sypnia Cases format, case files, the map file, the JSON Schema, and the map generated from code.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://cases.docs.sypnia.com/format/

For agents: Sypnia Cases format v1: a cases/ folder with map.yaml (app, actors, areas with public outcomes, journeys, promises, waivers), navigation.yaml (roots, places, shortcuts) and one <area>/<id>.case.yaml per use case. YAML (JSON accepted). Versioned with `format: 1` in map.yaml. JSON Schemas at https://cases.sypnia.com/schema/v1/map.json, case.json and navigation.json. Pages: files, json-schema, from-code.

The map is plain files, so it belongs to you: readable without Sypnia, reviewable in any pull request, and usable by any tool.

```text
cases/
├── map.yaml                     the app, actors, areas (with their public outcomes), journeys, promises, waivers
├── navigation.yaml              the tree of places: roots, places, shortcuts
├── plan.md                      optional: the plan's milestones
├── orders/
│   ├── place-order.case.yaml
│   ├── order-for-tomorrow.case.yaml
│   └── rappi-order.case.yaml
├── weather/
│   └── check-weather.case.yaml
└── pickup/
    └── pick-up-order.case.yaml
```
