Skip to content

Commit d765971

Browse files
committed
fix ref_hash field
1 parent 15ce4bc commit d765971

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/src/architecture/08_concepts/signed_doc/cddl/additional_meta.cddl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
additional_fields = {
22
? "ref" => ref_type,
3-
? "rev-hash" => ref_hash_type,
3+
? "ref_hash" => ref_hash_type,
44
? "template" => ref_type,
55
? "reply" => ref_type,
66
? "section" => text,

docs/src/architecture/08_concepts/signed_doc/meta.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
* [Metadata Fields List](#metadata-fields-list)
1212
* [`ref` Document Reference](#ref-document-reference)
13-
* [`ref-hash` Secured Document Reference](#ref-hash-secured-document-reference)
13+
* [`ref_hash` Secured Document Reference](#ref-hash-secured-document-reference)
1414
* [`template` Template Reference](#template-template-reference)
1515
* [`reply` Reply Reference](#reply-reply-reference)
1616
* [`section` Section Reference](#section-section-reference)
@@ -33,14 +33,14 @@ If the `ref` is a [CBOR] array, it has the form `[<id>,<ver>]` where:
3333
* `<id>` - the [UUID] v7 of the referenced documents [`id`](./spec.md#id).
3434
* `<ver>` - the [UUID] v7 of the referenced documents [`ver`](./spec.md#ver).
3535

36-
## `ref-hash` Secured Document Reference
36+
## `ref_hash` Secured Document Reference
3737

3838
This is a cryptographically secured reference to another document.
3939

4040
It consists of two fields:
4141

4242
* [`ref`](#ref-document-reference) - simple reference to the document.
43-
* [`hash`] - hash of the referenced document [CBOR] bytes.
43+
* `hash` - hash of the referenced document [CBOR] bytes.
4444

4545
## `template` Template Reference
4646

0 commit comments

Comments
 (0)