feat: rewrite docs
This commit is contained in:
140 files changed
+4555
-701
No files matched your search
@@ -12,7 +12,7 @@ A document containing a lone surrogate, `NaN` or an infinity has no canonical fo
|
||||
Every hash of a JSON value in these specifications is a hash of its canonical JSON, encoded as UTF-8.
|
||||
The vectors in `canonical-json.jsonl` give JSON text to parse as IEEE 754 doubles and the canonical output.
|
||||
|
||||
Lode keeps its own canonical form for its stored hashes; that form is Lode's and is outside this text.
|
||||
A store may keep its own canonical form for its stored hashes; that form is outside this text.
|
||||
|
||||
## 1.2 Numbers
|
||||
|
||||
@@ -67,7 +67,7 @@ No file carries the time it was written, unless the time is part of the record,
|
||||
| --- | --- | --- |
|
||||
| Node ID | Seven characters of lowercase Crockford base32, the first a letter. | `^[a-hjkmnp-tv-z][0-9a-hjkmnp-tv-z]{6}$` |
|
||||
| Record ID | 7 to 26 such characters, the first a letter. Derived records use 13. | `^[a-hjkmnp-tv-z][0-9a-hjkmnp-tv-z]{6,25}$` |
|
||||
| Key | A document, work, store, project or source key, as Lode's source keys are. At most 128 characters. | `^[a-z0-9][a-z0-9._-]*$` |
|
||||
| Key | A document, work, store, project or source key. At most 128 characters. | `^[a-z0-9][a-z0-9._-]*$` |
|
||||
| Alias | A legacy ID; it always holds a `.`, `_` or `-`, so it never looks like a node ID. | `^[a-z0-9][a-z0-9._-]*[._-][a-z0-9._-]*$` |
|
||||
| Dataset ID | `ds-` and a key. | `^ds-[a-z0-9][a-z0-9._-]*$` |
|
||||
|
||||
|
||||
Reference in new issue
Block a user