Body
A body is the part of a curated text that contains arbitrarily structured documentation about the semantic unit that the curated text documents.
Bodies live either in curated text files (behind the header), or in separate so-called body files.
Example of a curated text that contains a body, that is located immediately behind the header.
---
# here is where the header-stuff of the curated text goes.
# the body of the curated text starts below the next line.
---
# Curated Text
A curated text starts with three dashes `---`.
This indicates the start of its (YAML) header.
Typically, the <a href="/tev2-specifications/docs/specs/files/curated-text-file" title="Header (of a Curated Text): the part of a Curated Text, which is at the beginning of that text, that starts with a line that (only) contains three subsequent '-'characters, and that ends with a second occurrence of such a line.">header</a> consists of a sequence of key-value pairs.
The <a href="/tev2-specifications/docs/specs/files/curated-text-file" title="Header (of a Curated Text): the part of a Curated Text, which is at the beginning of that text, that starts with a line that (only) contains three subsequent '-'characters, and that ends with a second occurrence of such a line.">header</a> is terminated with another three dashes and a new line.
The <a href="/tev2-specifications/docs/terms/body" title="Body (of a Curated Text): the part of a Curated Text that contains arbitrarily structured documentation about the Semantic Unit that the Curated Text documents.">body</a> of the <a href="/tev2-specifications/docs/terms/curated-text" title="Curated Text: a text that documents a Concept or other Semantic Unit of a particular Party, and specifies, e.g., the Term(s) by which the Party refers thereto, its Definition, and any other relevant information.">curated text</a>
- either starts behind the header block.
It is typically markdown, but other constructs may be inserted
that contribute to the rendering of these texts in a (static) website.
An example of this is [MDX](https://mdxjs.com/).
A discussion on these other constructs is outside the scope of this document.
- or it is located in a separate `[body file](@)`
that is located somewhere within the <a href="/tev2-specifications/docs/terms/scopedir" title="Scopedir: a directory in a computer file system that contains all files that are either being Curated within a particular Scope, or generated to serve some purpose within that Scope.">scopedir</a>.
In this case, the <a href="/tev2-specifications/docs/specs/files/curated-text-file" title="Header (of a Curated Text): the part of a Curated Text, which is at the beginning of that text, that starts with a line that (only) contains three subsequent '-'characters, and that ends with a second occurrence of such a line.">header</a> must contain a field `bodyFile`
that specifies the location (relative to the <a href="/tev2-specifications/docs/terms/scopedir" title="Scopedir: a directory in a computer file system that contains all files that are either being Curated within a particular Scope, or generated to serve some purpose within that Scope.">scopedir</a>) of that file.
The body of a curated text can either be stored
- in the curated text file, which would then contain the entire curated text, or
- as a separate file (somewhere within the scopedir), in which case the header (that is in the curated text file) must contain a field
bodyFile
that specifies the location of the body file.