Skip to content

Commit d3475ee

Browse files
committed
Documented the proposed metadata format for the dirs in ksf.
1 parent 42b7e36 commit d3475ee

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

ksf_dir_meta_yaml.adoc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
= YAML-based metadata for Kaitai Struct Formats directories
2+
3+
[[rationale]]
4+
== Rationale
5+
It is needed to store some metadata for each directory in `kaitai_struc_formats` repo.
6+
7+
[[general]]
8+
== General
9+
* YAML is used as a serialization format.
10+
* `JSONSchema` will also be available.
11+
12+
[[metadata]]
13+
== Metadata dict
14+
There are 2 keys defined in a metadata dict:
15+
* `short` for summary.
16+
* `long` for more extended guidelines what goes into this dir and wat doesn't
17+
18+
All are mandatory.
19+
20+
[[tree]]
21+
== Directory tree metadata format
22+
23+
* The file path relative to the repo root is `_build/dirMeta.yml`
24+
25+
* Each dir name is a key in a YAML dictionary.
26+
27+
* Metadata dict is stored in mandatory `_` subkey.
28+
29+
[[tags]]
30+
== Format
31+
32+
Just a dict with keys that are tag names and values that are metadata dicts.

0 commit comments

Comments
 (0)