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

STXT: Introduction

STXT is a Human-First language, where documents are readable and expressive,
and at the same time reliable for machines.

Documents

STXT is a hierarchical and semantic textual format aimed at:

An STXT document balances human clarity with an explicit semantic structure, ideal for documents, wikis, and configurations:

Email:
	From: John Smith
	To: Mery Adams
	Cc: Keyla Brown
	Title: Project report
	Body Content >>
		Hello Mery!
		The book is finished!

Documents with namespace and schemas

STXT allows the use of namespaces, as well as schemas and templates to validate content.

An Email document from the com.example.docs namespace:

Email (com.example.docs):
	From: John Smith
	To: Mery Adams
	Cc: Keyla Brown
	Title: Project report
	Body Content >>
		Hello Mery!!
		The book is finished!!

And the template definition:

Template (@stxt.template): com.example.docs
	Structure >>
		Email:
			From: EMAIL
			To: EMAIL
			Cc: EMAIL
			Bcc: EMAIL
			Title: (?)
			Body Content: (1) TEXT
			Metadata (com.google): (?)