Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Next

- Add issue_tracker_item and issue_tracker [model elements](https://github.com/mapping-commons/sssom/pull/259).
- Add recommendation to sort the keys in the YAML metadata block.

## SSSOM version 0.13.0

Expand Down
2 changes: 2 additions & 0 deletions src/docs/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ Note that the following prefixes are built-in and (1) MUST NOT be changed from t
(The "canonical order" corresponds to the exact order of elements as seen in the specification.)
This precludes spurious diffs in a git setting, which is an important concern for the continuous reviewing of mappings by curators and users.

**Canonical ordering of keys in the YAML metadata block**. For the same reason (avoiding spurious diffs), the keys in the YAML metadata block SHOULD be sorted in the same order as they are listed in the [MappingSet specification](https://mapping-commons.github.io/sssom/MappingSet/); keys in the `curie_map` dictionary SHOULD be sorted by alphabetical order. Those recommendations apply whether the metadata block is embedded in the TSV file or kept in a separate file.

Note that only metadata elements permissible in a global context (G, or L/G) can be used in the metadata-file.

We recommend to use the following *filename conventions* for SSSOM metadatafiles:
Expand Down