diff --git a/lexicons/org/tangled/git/refs.json b/lexicons/org/tangled/git/refs.json index 601fe49ce..278f9abb1 100644 --- a/lexicons/org/tangled/git/refs.json +++ b/lexicons/org/tangled/git/refs.json @@ -8,15 +8,17 @@ "record": { "type": "object", "required": [ - "digest", - "blocks" + "defaultBranch", + "refs" ], "properties": { - "digest": { + "defaultBranch": { "type": "string", - "description": "Digest hash of the git repository.\nNOTE: we might want to split this by refs/heads, refs/tags, refs/tngl/keep and so on." + "description": "Default branch name without refs/heads/ prefix.", + "examples": ["main", "master"], + "maxLength": 244 }, - "blocks": { + "refs": { "type": "bytes", "description": "List of git refs in `git show-ref` format.", "maxLength": 1000000