Tidigar Markdown specification
Try it in the Markdown import tool: edit the example and create an interactive roadmap in your browser.
Status: public pre-release specification, version 2. It defines a Markdown form of a complete Tidigar roadmap that people can read, write and review, and that converts to the JSON project and back without losing anything.
License: published by Hamacher Software AB under CC BY 4.0. Anyone may implement the formats it describes, in any software, without asking.
The keywords MUST, MUST NOT, SHOULD and MAY are normative. The roadmap model, its field rules and limits are defined in the Tidigar Roadmap Interoperability Specification; this document only defines the Markdown form. A document is valid when the project it describes is valid.
Why Markdown
- A roadmap can live next to the text it belongs to, in a repository, and changes show up as readable diffs.
- People and AI agents can write a roadmap by hand with short keys instead of UUIDs, and names instead of IDs.
- Every field of the model has a place, so converting a JSON project to Markdown and back gives the same project, and converting the Markdown a writer produced back and forth gives the same text.
Example
The roadmap below has two dimensions, three activities with dependencies, a milestone, a period, two saved views and an activity description.
---
format: tidigar-markdown
version: 2
projectId: website-relaunch
year: 2027
schedule: calendar-days
---
# Website relaunch
```text
A small plan from content audit to launch.
```
## Dimensions
| Dimension ID | Dimension | Value ID | Value | Color |
| ------------ | --------- | ----------- | ----------- | ------- |
| team | Team | design | Design | #3575e5 |
| | | development | Development | #16a34a |
| status | Status | planned | Planned | #94a3b8 |
| | | done | Done | #22c55e |
## Activities
| ID | Type | Activity | Start | End | Progress | Team | Status | After |
| ------ | --------- | -------------- | ---------- | ---------- | -------- | ----------- | ------- | ------ |
| audit | activity | Content audit | 2027-01-04 | 2027-01-15 | 100 | Design | Done | |
| visual | activity | New design | 2027-01-18 | 2027-02-12 | 50 | Design | Planned | audit |
| build | activity | Build and test | 2027-02-15 | 2027-03-26 | 0 | Development | - | visual |
| launch | milestone | Launch | 2027-03-29 | | 0 | | | build |
## Periods
| ID | Period | Start | End |
| ------ | ------ | ---------- | ---------- |
| easter | Easter | 2027-03-25 | 2027-03-29 |
## Views
### board
| Field | Value |
| ----- | ------------- |
| name | Board by team |
| col | Status |
| row | Team |
### plan
| Field | Value |
| ------------------------ | ------------ |
| name | Plan by team |
| view | timeline |
| group | Team |
| color | Team |
| timelineDependencyArrows | every |
| timelineStart | 2027-01-01 |
| timelineEnd | 2027-04-30 |
## Descriptions
### visual
```text
Two concepts, one review with the client.
```
It describes this project:
{
"manifest": {
"projectId": "2c97e3f7-49a9-5e59-b42f-abb427f7048f",
"formatVersion": 2,
"name": "Website relaunch",
"description": "A small plan from content audit to launch.",
"dimensions": [
{
"id": "c1335d68-c807-57b2-ab1d-f6049c04da2e",
"name": "Team",
"options": [
{
"id": "30e42f43-d994-5baf-8dd1-926427a4aa43",
"name": "Design",
"color": "#3575e5"
},
{
"id": "a7b044b4-6b44-584f-b7f6-e83a977840af",
"name": "Development",
"color": "#16a34a"
}
]
},
{
"id": "fc015fe9-21a9-5e13-99c9-47b57b41e473",
"name": "Status",
"options": [
{
"id": "7e95cfbc-93f3-5db8-a04e-e004103e08a5",
"name": "Planned",
"color": "#94a3b8"
},
{
"id": "48757e42-b696-520f-bae6-77a57b7838c4",
"name": "Done",
"color": "#22c55e"
}
]
}
],
"year": 2027,
"schedule": "calendar-days"
},
"items": [
{
"id": "9e13d792-910c-52ed-b1e2-83452b9ba6c8",
"projectId": "2c97e3f7-49a9-5e59-b42f-abb427f7048f",
"title": "Content audit",
"description": "",
"progress": 100,
"start": "2027-01-04",
"end": "2027-01-15",
"values": {
"c1335d68-c807-57b2-ab1d-f6049c04da2e": "30e42f43-d994-5baf-8dd1-926427a4aa43",
"fc015fe9-21a9-5e13-99c9-47b57b41e473": "48757e42-b696-520f-bae6-77a57b7838c4"
},
"dependsOn": []
},
{
"id": "01d963a6-4d45-51bb-87f5-8f7014560b23",
"projectId": "2c97e3f7-49a9-5e59-b42f-abb427f7048f",
"title": "New design",
"description": "Two concepts, one review with the client.",
"progress": 50,
"start": "2027-01-18",
"end": "2027-02-12",
"values": {
"c1335d68-c807-57b2-ab1d-f6049c04da2e": "30e42f43-d994-5baf-8dd1-926427a4aa43",
"fc015fe9-21a9-5e13-99c9-47b57b41e473": "7e95cfbc-93f3-5db8-a04e-e004103e08a5"
},
"dependsOn": ["9e13d792-910c-52ed-b1e2-83452b9ba6c8"]
},
{
"id": "877d07dd-4ac6-53d7-a4fa-351b630cf19d",
"projectId": "2c97e3f7-49a9-5e59-b42f-abb427f7048f",
"title": "Build and test",
"description": "",
"progress": 0,
"start": "2027-02-15",
"end": "2027-03-26",
"values": {
"c1335d68-c807-57b2-ab1d-f6049c04da2e": "a7b044b4-6b44-584f-b7f6-e83a977840af",
"fc015fe9-21a9-5e13-99c9-47b57b41e473": ""
},
"dependsOn": ["01d963a6-4d45-51bb-87f5-8f7014560b23"]
},
{
"id": "16eecb5f-205d-5e32-83c4-04410e23eefa",
"projectId": "2c97e3f7-49a9-5e59-b42f-abb427f7048f",
"type": "milestone",
"title": "Launch",
"description": "",
"progress": 0,
"start": "2027-03-29",
"values": {},
"dependsOn": ["877d07dd-4ac6-53d7-a4fa-351b630cf19d"]
},
{
"id": "49c26a40-ddf7-5d35-80fb-f66a18f338f8",
"projectId": "2c97e3f7-49a9-5e59-b42f-abb427f7048f",
"type": "period",
"title": "Easter",
"description": "",
"start": "2027-03-25",
"end": "2027-03-29",
"values": {}
}
],
"sharedViews": [
{
"id": "9b5cc976-30a0-5573-a829-2a1619bcb91b",
"projectId": "2c97e3f7-49a9-5e59-b42f-abb427f7048f",
"name": "Board by team",
"view": "grid",
"row": "c1335d68-c807-57b2-ab1d-f6049c04da2e",
"col": "fc015fe9-21a9-5e13-99c9-47b57b41e473",
"color": "",
"presentationStyle": "standard",
"colorOverrides": {},
"group": "",
"resolution": "month",
"timelineScaleRows": 2,
"timelineShowWeeks": true,
"timelineShowQuarters": true,
"timelineWeekNumbers": true,
"timelineShowToday": false,
"timelineShowPeriodNames": false,
"textMode": "beside",
"filters": {},
"query": "",
"hideEmptyRows": true,
"hideEmptyColumns": true,
"hideEmptyTimelineGroups": true,
"hideUnconnectedActivities": false,
"flowGroupMilestones": false,
"hideEmptyFlowGroups": false,
"flowHideDates": false,
"showAssignee": true,
"showRefs": false,
"timelineActivityRows": "single",
"timelineMilestoneMode": "label",
"timelineMilestonesBesideWork": false,
"timelineSummarizeBy": "",
"timelineWeekDays": "work",
"timelineDependencyArrows": "grouped",
"flowDirection": "auto",
"flowArrows": "curved",
"flowShapes": "capsules",
"flowGroup": "",
"timelineStart": "2027-01-01",
"timelineEnd": "2027-12-31",
"listColumns": [
"title",
"start",
"end",
"c1335d68-c807-57b2-ab1d-f6049c04da2e",
"fc015fe9-21a9-5e13-99c9-47b57b41e473"
],
"listColumnOrder": [
"title",
"start",
"end",
"c1335d68-c807-57b2-ab1d-f6049c04da2e",
"fc015fe9-21a9-5e13-99c9-47b57b41e473"
],
"listSort": "",
"listSortDescending": false
},
{
"id": "a49042f2-ea81-57c9-9b7d-6ea1abeb2a39",
"projectId": "2c97e3f7-49a9-5e59-b42f-abb427f7048f",
"name": "Plan by team",
"view": "timeline",
"row": "",
"col": "",
"color": "c1335d68-c807-57b2-ab1d-f6049c04da2e",
"presentationStyle": "standard",
"colorOverrides": {},
"group": "c1335d68-c807-57b2-ab1d-f6049c04da2e",
"resolution": "month",
"timelineScaleRows": 2,
"timelineShowWeeks": true,
"timelineShowQuarters": true,
"timelineWeekNumbers": true,
"timelineShowToday": false,
"timelineShowPeriodNames": false,
"textMode": "beside",
"filters": {},
"query": "",
"hideEmptyRows": true,
"hideEmptyColumns": true,
"hideEmptyTimelineGroups": true,
"hideUnconnectedActivities": false,
"flowGroupMilestones": false,
"hideEmptyFlowGroups": false,
"flowHideDates": false,
"showAssignee": true,
"showRefs": false,
"timelineActivityRows": "single",
"timelineMilestoneMode": "label",
"timelineMilestonesBesideWork": false,
"timelineSummarizeBy": "",
"timelineWeekDays": "work",
"timelineDependencyArrows": "every",
"flowDirection": "auto",
"flowArrows": "curved",
"flowShapes": "capsules",
"flowGroup": "",
"timelineStart": "2027-01-01",
"timelineEnd": "2027-04-30",
"listColumns": [
"title",
"start",
"end",
"c1335d68-c807-57b2-ab1d-f6049c04da2e",
"fc015fe9-21a9-5e13-99c9-47b57b41e473"
],
"listColumnOrder": [
"title",
"start",
"end",
"c1335d68-c807-57b2-ab1d-f6049c04da2e",
"fc015fe9-21a9-5e13-99c9-47b57b41e473"
],
"listSort": "",
"listSortDescending": false
}
]
}
Document structure
A document is UTF-8 text with lines separated by LF; a CR before an LF is ignored outside text blocks. In this order it holds:
- The front matter.
- The name as a level-one heading,
# Name. - Optionally the project description as a text block.
- Sections, each a level-two heading followed by its content:
## Dimensions,## Activities,## Baselines,## Baseline,## Periods,## Viewsand## Descriptions. A writer emits them in this order and leaves out empty ones; a reader accepts any order. A missing section is an empty collection. A section MUST NOT appear twice.
Blank lines and single-line HTML comments (<!-- … -->) may appear between these parts. Any other content is an error, so a mistake is not silently dropped.
Front matter
The document starts with a line ---, then one key: value per line, then ---.
| Key | Required | Value |
|---|---|---|
format | yes | tidigar-markdown |
version | yes | 2. Readers MUST reject other versions. |
projectId | yes | The project ID, or a key (see IDs and keys) |
year | yes | The project year, four digits |
shareLinkCreatedAt | no | UTC ISO 8601 YYYY-MM-DDTHH:mm:ssZ; omitted when unknown |
schedule | no | calendar-days or work-days; calendar-days when left out |
refPrefix | no | The prefix of reference keys, such as LPP; none when left out |
timeZone | no | A named time zone such as Europe/Stockholm; none when left out |
costUnit | no | thousands displays costs in thousands of the plan currency; stored estimates still use minor units |
costCurrency | no | The plan currency (SEK, EUR, USD, GBP, NOK or DKK); required when any activity or baseline row has a cost |
nightHours | no | Shaded night hours such as 22:00-06:00; none when left out |
The model format version is the Markdown version. The Start and End of an activity and the Start of a milestone are each a date YYYY-MM-DD or a local time YYYY-MM-DDTHH:mm, as the model holds them; a timed End is the last minute an activity occupies. Leave both Start and End empty for an undated activity. Its After cell still holds predecessor links, without overlap shares. Periods keep dates. Every record of the document belongs to the project, so no record repeats the project ID.
Text
Names, titles and other short text are written in table cells and headings with these escapes, so any text survives:
\\is a backslash.\|is a vertical bar.\nis a line feed,\ra carriage return and\ta tab.\sis a space; a writer uses it for spaces at the start or end.\#is a number sign; a writer uses it for one that ends the name.\u{hex}is any character by its code point; a writer uses it for other control characters.
Any other backslash sequence is an error. A reader trims spaces and tabs at both ends of every cell and list entry, so a writer escapes spaces there with \s and tabs with \t.
A text block holds a description exactly as it is, over any number of lines. It is a fenced code block with the info string text: a fence of at least three backticks, longer than any run of backticks in the text, then the text, then the same fence on its own line. Both fence lines may end with CRLF; the carriage return on a fence line is ignored. Carriage returns inside the text are preserved.
IDs and keys
Every record has an ID column or heading. It holds either a UUID, used as it is, or a key of 1 to 64 letters, digits, _ and -, starting with a letter or digit. A key becomes a name-based version 5 UUID (RFC 9562):
- The project key's namespace is
e9291c6b-93e5-4d37-825b-64a84857a6b6. - A record key's namespace is the project ID.
- The name is the key in UTF-8.
So the same document always gives the same IDs. In the example, the project key website-relaunch becomes 2c97e3f7-49a9-5e59-b42f-abb427f7048f and the activity key audit becomes 9e13d792-910c-52ed-b1e2-83452b9ba6c8. IDs, keys included, MUST be unique across the whole document. A writer emits UUIDs.
References
Cells that point at a dimension or a value hold a reference: the record's ID or key, or its name. A reader first matches IDs and keys, then names; a name MUST belong to exactly one record among the candidates.
A writer uses the name only when nothing else could be meant: it is not empty, is unique, has no spaces at either end, contains none of \ | , = . + ! or control characters, is not a UUID, and is not, in any letter case, -, title, duration, start, end, dependsOn, description or a fixed column of the Activities table. Otherwise it writes the ID.
In cells that hold a value, an empty cell and - differ: an empty cell leaves the field out, while - sets it to no value ("" in JSON).
Dimensions
One table, with one row per value. A row with a Dimension ID starts a dimension; the rows after it with an empty Dimension ID and Dimension add values to it. A dimension without values is a row with only Dimension ID and Dimension.
| Column | Holds |
|---|---|
Dimension ID | The dimension's ID or key |
Dimension | Its name, as text; may be empty |
Value ID | The value's ID or key |
Value | The value's name, as text; may be empty |
Color | The value's color, #rrggbb |
Activities
One row per activity or milestone, in the project's order.
| Column | Required | Holds |
|---|---|---|
ID | yes | The record's ID or key |
Ref | no | The record's reference key, as text; none when empty or left out |
Type | no | activity or milestone; activity when empty or left out |
Activity | yes | The title, as text |
Start | yes | An activity's first day or a milestone's moment; empty for an undated record |
End | yes | An activity's last day; empty for a milestone |
Estimated Cost (minor units) | no | An activity estimate as an integer in the plan currency’s minor units. Blank means unestimated. |
Progress | no | 0, 25, 50, 75 or 100, for a milestone 0 or 100; 0 when empty or left out |
After | no | The records it depends on: IDs or keys of any activity, milestone or period, separated by commas; an activity may be followed by a share such as (50%) |
Fixed | no | yes for a fixed milestone; empty or no otherwise |
Source | no | An incoming milestone's source as plan ID/milestone ID; none when empty or left out |
Every other column is a dimension: its heading is a reference to the dimension, and its cells are references to values of that dimension, - or empty. A writer emits a column for every dimension between the progress and cost columns and After. The cost column appears only when an activity has an estimate. It emits Ref after ID only when a record has a reference key, Type only when the table holds a milestone, Fixed only when a milestone is fixed and Source last, only when a milestone has one.
A dependency on an activity may be followed by (0%), (25%), (50%) or (75%): how much of that activity’s planned duration has passed when this one may start, as in a (50%). Without a share, or with (100%), this activity starts after the other one ends. This is independent of reported Progress. Scheduling counts the chosen share of inclusive days (work days in a work-day roadmap), rounded up; 0% permits the same start. The latest threshold applies to multiple dependencies. Stored dates must not precede the predecessor’s start for a partial share. Milestones and periods cannot have a partial share.
A milestone is a moment, so its End is empty. A fixed milestone keeps its date. A milestone with a Source is an incoming milestone: a copy of the named plan's milestone, and always fixed. In this table only a milestone may be fixed or have a Source.
Baselines
A plan with baselines has a Baselines table and a Baseline table. The Baselines table has one row per baseline, the active one first, with the columns ID, Name, Captured At, Cost Currency and Active. ID is the baseline's ID or a key. Captured At is UTC ISO 8601 YYYY-MM-DDTHH:mm:ssZ. Cost Currency is the plan currency at capture, empty for none. Exactly one row has yes in Active. An empty Name means the capture date.
Baseline
The Baseline table holds every baseline's rows, with columns Baseline, ID, Type, Start, End and Estimated Cost (minor units), plus optional Progress, Values, Title and Ref columns. Baseline names the baseline by its ID or key. Use the normal table text escapes for titles and reference keys. Empty cells mean absent. Emit the table even for baselines with no work. A row's ID can refer to current or removed work. It has no effect on the live record. Use activity or milestone in Type. A milestone uses Start for its planned moment and leaves End and the estimate blank. An activity's blank amount is unestimated. The number 0 is an explicit zero budget.
Progress and Values hold the record's status at capture. Values lists dimension.value entries separated by commas, named as in a view's colorOverrides, with - for an explicit empty value. A dimension or value removed since capture is written by its ID.
Periods
| Column | Required | Holds |
|---|---|---|
ID | yes | The period's ID or key |
Ref | no | The period's reference key, as text; none when empty or left out |
Period | yes | The title, as text |
Start | yes | The first day, YYYY-MM-DD |
End | yes | The last day |
Source | no | An incoming period's source as plan ID/period ID; none when empty or left out |
Every other column is a dimension, as in the activities table; a writer emits a column for every dimension after End, and Source last, only when a period has one. A period with a Source is an incoming period: a copy of the named plan's period. A period is time off, and its value in the view's color dimension gives its band color. It has no progress or dependencies of its own. In the project, periods follow the activities and milestones; a document keeps their order within each table, so a project whose periods come between other records reads back with its periods last.
Views
Each saved view is a level-three heading with its ID or key, followed by a table with the columns Field and Value, one row per field. name is required; every other field takes the model's default when left out, and a writer leaves out fields that equal their default.
| Field | Value |
|---|---|
name, query | Text |
row, col, group | A dimension reference, assignee for the assignee axis, progress for Board rows or columns, or - for none |
color | A dimension reference, assignee, progress, follow-up-status, or - for none |
flowGroup, timelineSummarizeBy | A dimension reference, or - for none |
view, resolution, textMode, timelineActivityRows, timelineMilestoneMode, timelineWeekDays, timelineDependencyArrows, flowDirection, flowArrows, flowShapes | The value as in JSON |
presentationStyle | standard, minimal, airy, contrast or terminal |
timelineScaleRows | 1, 2 or 3 |
timelineShowWeeks, timelineShowQuarters, timelineWeekNumbers, timelineShowToday, timelineShowPeriodNames, timelineShowBaseline, hideEmptyRows, hideEmptyColumns, hideEmptyTimelineGroups, hideUnconnectedActivities, flowGroupMilestones, hideEmptyFlowGroups, flowHideDates, showAssignee, showRefs, showCostSummary, timelineMilestonesBesideWork, listSortDescending | yes or no |
timelineStart, timelineEnd | YYYY-MM-DD |
timelineFrameStart, timelineFrameEnd | YYYY-MM-DD or YYYY-MM-DDTHH:mm, both of one shape |
filters | dimension=value entries separated by commas, as described below |
colorOverrides | dimension.value=#rrggbb entries separated by commas |
listColumns, listColumnOrder | Column keys or dimension references, separated by commas; - for none |
listCostGroup | Dimension reference, assignee, or - for total only |
listSort | One of the same column keys or a dimension reference |
A filters entry names one value, or - to filter nothing, as in Phase=Design. Several values are joined with +, as in Phase=Design+Build, and != shows all values except the listed ones, as in Scenario!=If we are late. A reader that predates + and != rejects them rather than reading another filter. progress filters on completion by the steps 0, 25, 50, 75 and 100, as in progress!=100.
The column keys are title, duration, start, end, dependsOn, description, progress, estimatedCostMinor, baselineStart, currentStart, currentStartVariance, baselineFinish, currentFinish, currentFinishVariance, budgetMinor, currentEstimateMinor and currentCostVarianceMinor.
A dimension whose name is assignee or progress is referenced by its ID. The assignee axis and showAssignee are meaningful only in a plan stored in Tidigar Business; the document never holds assignments or people.
Descriptions
Each activity, milestone or period with a description is a level-three heading with its ID or key, followed by a text block holding the description, activities and milestones first. For an activity, put its Markdown source inside the text fence. It is copied verbatim. Headings, fences, line breaks and unsupported syntax inside it belong to the description. A record without a description is left out.
Writing
A writer SHOULD produce exactly what this specification describes, in the order shown, so that its output converts back to the same text: tables padded to their widest cell, UUIDs as IDs, names as references where allowed, default view fields left out, and a final line feed. Alignment and spacing have no meaning to a reader.
Tools that reformat Markdown can change text. A document converted to JSON and back, rather than reformatted, keeps every character.