STXT - Semantic Text
Built for humans. Reliable for machines.

Use cases — Corporate documents

Corporate documents often live in an awkward middle ground: they need to be readable and editable by people, but they also must be consistent, reviewable, and processable for automation.

STXT fits especially well when a “document” is at the same time:

What kind of documents

Common examples:

Why STXT here

In a corporate environment these problems tend to show up:

STXT provides:

Example 1 — Meeting minutes

Realistic document: mix of metadata, agenda, decisions, and actions. Free text lives in blocks, and what’s processable remains as nodes.

Minutes (@com.acme.corp.minutes):
	Title: Weekly sync — Platform
	Date: 2026-01-09
	Time: 10:00
	Duration minutes: 45
	Meeting id: PLAT-2026-01-09
	Location: Google Meet
	Confidential: false

	Attendees:
		Attendee: Joan Costa
		Attendee: Mery Adams
		Attendee: Keyla Brown

	Agenda:
		Item:
			Title: Q1 roadmap status
		Item:
			Title: Incidents and risks
		Item:
			Title: Pending decisions

	Notes >>
		Executive summary:
		- Roadmap is green, but team capacity still needs to be finalized.
		- Main risk: dependency on an external vendor in module X.

		Observations:
		- It is agreed to move Friday’s deployment to Monday.
		- The cost of option B will be reviewed.

	Decisions:
		Decision:
			Id: DEC-0142
			Title: Move deployment window to Monday
			Status: Approved
			Owner: Platform Team
			Rationale >>
				We reduce operational risk and make support easier on Monday.

		Decision:
			Id: DEC-0143
			Title: Freeze non-critical changes in module X
			Status: Proposed
			Owner: Reliability
			Rationale >>
				External dependency with high variability in response times.

	Action Items:
		Action:
			Id: ACT-0991
			Title: Prepare capacity proposal (Q1)
			Owner: Mery Adams
			Due: 2026-01-16
			Status: Open
		Action:
			Id: ACT-0992
			Title: Estimate cost of option B
			Owner: Joan Costa
			Due: 2026-01-14
			Status: In Progress

What gets automated with this document

With the STXT tree you can:

At the same time:

Example 2 — Status report

A status report is ideal for:

Status Report (@com.acme.corp.status):
	Period:
		From: 2026-01-05
		To: 2026-01-09

	Project: STXT Web
	Owner: Platform Docs
	Status: Green

	Summary >>
		Steady progress on the base documentation and consolidation of examples.
		Work remains on tools (CLI and online editor) and use cases.

	Progress:
		Item:
			Title: Introduction page
			Done: true
		Item:
			Title: Updated tutorial
			Done: true
		Item:
			Title: Specifications (core/schema/template)
			Done: In Progress

	Risks:
		Risk:
			Id: RSK-020
			Level: Medium
			Title: Lack of migration examples
			Mitigation >>
				Create XML/YAML examples and explain equivalences.

	Next:
		Item: Close use case pages
		Item: Publish first version of the Java parser
		Item: Prepare examples repository

Validation with @stxt.template

To avoid “half-done” documents, a template can ensure minimal structure (without becoming too verbose).

Template (@stxt.template): com.acme.corp.minutes
	Description: Corporate minutes template
	Structure >>
		Minutes:
			Title: (1)
			Date: (1) DATE
			Time: (?) TIME
			Duration minutes: (?) NATURAL
			Meeting id: (?)
			Location: (?)
			Confidential: (?) BOOLEAN

			Attendees: (?)
				Attendee: (+)

			Agenda: (?)
				Item: (*)
					Title: (1)

			Notes: (?) TEXT

			Decisions: (?)
				Decision: (*)
					Id: (1)
					Title: (1)
					Status: (1) ENUM [Proposed, Approved, Rejected]
					Owner: (?)
					Rationale: (?) TEXT

			Action Items: (?)
				Action: (*)
					Id: (1)
					Title: (1)
					Owner: (?)
					Due: (?) DATE
					Status: (1) ENUM [Open, In Progress, Done, Blocked]

This template:

Validation with @stxt.schema

If you need strict contracts, schema is the most explicit form. It is useful when:

Note: the equivalent schema is longer; it is usually generated from the template.

Practical advantages in a company

Style recommendations