aboutsummaryrefslogtreecommitdiff
path: root/doc/schema/leaves.schema.json
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-05-11 11:28:01 +0200
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-05-11 11:28:01 +0200
commitc4a99d20dcbf524f94a018ac712d830e7e655ce2 (patch)
tree8bf1ff4bf00d8c55044307cfa5beaa6f5bb50ac4 /doc/schema/leaves.schema.json
parentcd02e6e2bd7e36d8333824e57913d08a56d8a85b (diff)
removed unused schemas
Diffstat (limited to 'doc/schema/leaves.schema.json')
-rw-r--r--doc/schema/leaves.schema.json38
1 files changed, 0 insertions, 38 deletions
diff --git a/doc/schema/leaves.schema.json b/doc/schema/leaves.schema.json
deleted file mode 100644
index 74d7454..0000000
--- a/doc/schema/leaves.schema.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft-07/schema#",
- "title": "list of tree_leaf",
- "description": "JSON-formatted tree leaf list, version 0.",
-
- "type": "array",
- "description": "A list Merkle tree leaves",
- "items": {
- "type": "object",
- "required": [ "checksum", "signature_scheme", "signature", "key_hash" ],
- "properties": {
- "checksum": {
- "description": "A cryptographic hash that is computed over some data of opaque type. The result is base64-encoded.",
- "type": "string",
- "minLength": 44,
- "maxLength": 44
- },
- "signature_scheme": {
- "description": "An integer that identifies the signature scheme used by the submitter. See API documentation.",
- "type": "integer",
- "enum": [ 1, 2, 3 ]
- },
- "signature": {
- "description": "The submitter's signature over the checksum in base64",
- "type": "string",
- "minLength": 44,
- "maxLength": 684
- },
- "key_hash": {
- "description": "A public verification-key hash that identifies the signer.",
- "type": "string",
- "minLength": 44,
- "maxLength": 44
- }
- }
- },
- "minItems": 1
-}