Skip to content

Commit

Permalink
Merge pull request #18 from psychoinformatics-de/prov
Browse files Browse the repository at this point in the history
Expand the key setup for a Commit
  • Loading branch information
mih authored Dec 25, 2023
2 parents 915af80 + 013c4f9 commit 7161029
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/linkml/git-provenance-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,24 @@ classes:
gitsha:
description: >-
SHA1 identifier of the commit object.
meta_id:
pattern: "^gitsha:[0-9a-f]{40}$"
description: >-
SHA1 identifier written as a CURIE in an explicit
`gitsha:` namespace.
unique_keys:
gitsha:
description: >-
A commit's GITSHA is a globally unique, content-based identifier
of that commit.
notes:
- The `gitsha` slot could have been labled to be the one identifier
of a Commit-type object. However, we use `meta_type` for
consistency and use its CURIE-format to assign an explicit
namespace.
unique_key_slots:
- gitsha

CommitProvenance:
mixin: true
Expand Down

0 comments on commit 7161029

Please sign in to comment.