Scope
This standard defines the structure of the repository. It applies to every object, taxonomy concept, artifact and build output. Writing rules are in STD-000002. Research and data rules are in STD-000003. The rationale for each requirement is recorded in the decision records DEC-000001 to DEC-000006.
Terminology
The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, NOT RECOMMENDED, MAY and OPTIONAL are to be interpreted as described in BCP 14 (REF-000001, REF-000002) when, and only when, they appear in all capitals.
- Object
- An independently referenceable unit of content with an identifier, a type and a revision.
- Maintainer
- The person who owns the repository and approves publication.
- Agent
- Software, including an AI model, that reads or writes repository content.
- Artifact
- A file whose bytes are stored outside this repository and described by a Dataset object.
- Build
- The deterministic transformation of the repository into public outputs.
Requirements
R1 Objects
- R1.1 Each object MUST be one UTF-8 file
objects/<ID>.md: YAML front matter, then a CommonMark body. - R1.2 Front matter MUST validate against
schema/object.schema.jsonat the declaredschemaversion. - R1.3 The object type MUST be one of the implemented types in
schema/types.yaml. The type is given by the identifier prefix and is not stored separately. - R1.4 The body MUST contain the level-2 headings that the type registry requires, in the registered order. Other headings MAY appear between them.
- R1.5 A new type MUST be introduced by a Decision object that amends the type registry.
R2 Identifiers
- R2.1 An identifier MUST match
^[A-Z]{2,4}-[0-9]{6}$: a type prefix and a six-digit sequence number. - R2.2 Sequence numbers are allocated per prefix as the highest existing number plus one.
record.py newperforms the allocation. - R2.3 An identifier MUST NOT be reassigned, deleted or changed. An object that is no longer valid is withdrawn (R4).
- R2.4 An identifier MUST NOT depend on title, file location, taxonomy, storage provider or URL structure.
- R2.5 The type of an object MUST NOT change. A misclassified object is withdrawn and replaced by a new object with a
supersedesrelation. - R2.6 Taxonomy concepts use the prefix
TAXunder the same rules.
R3 Revisions
- R3.1 Each object has an integer revision, starting at 1.
IDrefers to the current revision.ID@Nrefers to revision N. - R3.2 A revision with status
publishedis frozen. Any change to its body MUST increment the revision and replace thechangesnote. - R3.3 A draft MAY be edited without incrementing its revision.
- R3.4 The revision number MUST NOT decrease.
- R3.5 Historical revisions are read from version control history. They MUST NOT be stored as duplicate files.
- R3.6 Version control history is canonical data. It MUST NOT be rewritten, except under R8.5.
R4 Lifecycle
- R4.1 The status of an object is one of
draft,in_review,published,superseded,withdrawn. - R4.2 Only the maintainer MAY set the status
published. Publication MUST NOT be read as independent peer review. - R4.3 A
supersededobject MUST be the target of asupersedesrelation from its successor. - R4.4 A
withdrawnobject remains available. Itschangesnote MUST state the reason. - R4.5 Status and visibility are independent properties.
R5 Relations
- R5.1 Typed relations MUST be declared in front matter with a type from the schema vocabulary.
- R5.2 An inline reference
[[ID]]or[[ID@N]]in the body is an untyped citation. The build renders it as a link and records it as an incoming reference on the target. - R5.3 Every relation target and inline reference MUST resolve to an existing object and revision.
R6 Taxonomy
- R6.1 Concepts are defined in
taxonomy.yaml. Each concept MUST have an identifier, a preferred label and a definition. Alternative labels MAY be listed. - R6.2 Each concept has at most one broader concept. Cross-disciplinary links use
related. - R6.3 Each object MUST list one or more concepts. The first concept is the primary classification.
- R6.4 Renaming or moving a concept MUST NOT change its identifier.
- R6.5 The build MUST export the taxonomy as SKOS in JSON-LD.
R7 Artifacts
- R7.1 Binary files and data files larger than 1 MB SHOULD NOT be stored in this repository.
- R7.2 Each artifact MUST be described by a Dataset object with media type, size in bytes and SHA-256 checksum.
- R7.3 Artifact locations are storage-independent keys of the form
<ID>/<version>/<name>. A resolver maps keys to the current storage provider. - R7.4 The bytes of a published dataset version MUST NOT change.
- R7.5 Public accessibility MUST NOT be taken as permission to redistribute third-party material.
R8 Privacy and visibility
- R8.1 This repository is public. It MUST contain only objects with visibility
public. Private and restricted material belongs in a separate private repository with the same schema. - R8.2 Moving an object into this repository is publication of its content. It requires an explicit decision by the maintainer.
- R8.3 Objects MUST NOT contain contact details, credentials, precise locations or information about other identifiable people without their consent. The build rejects e-mail addresses and telephone numbers.
- R8.4 Media and data MUST be checked for embedded metadata before registration.
- R8.5 Privacy and legal requirements take precedence over R3.6. A required removal MAY rewrite history. The removal MUST be recorded in a Decision object that does not repeat the removed content.
R9 Build
- R9.1 The build MUST be a deterministic function of the repository content and its version control history. Outputs MUST NOT contain build timestamps.
- R9.2 Any validation error MUST stop the build. Warnings MUST NOT stop it.
- R9.3 The build MUST produce, for each object: an HTML page, a page per revision, the Markdown source and a JSON metadata record. It MUST also produce a catalogue of all objects.
- R9.4 Indexes, backlinks, revision lists and the taxonomy tree MUST be generated. They MUST NOT be maintained by hand.
R10 Amendment
- R10.1 A substantive change to a standard MUST be justified in a Decision object that the new revision references.
- R10.2 Editorial corrections that do not change a requirement MAY be made in a new revision without a Decision object.
References
- REF-000001 BCP 14, RFC 2119.
- REF-000002 BCP 14, RFC 8174.
- REF-000006 SKOS Simple Knowledge Organization System Reference.
- REF-000009 JSON Schema 2020-12.
- REF-000012 CommonMark specification.