aboutsummaryrefslogtreecommitdiff
path: root/doc/schema/sth.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/sth.schema.json
parentcd02e6e2bd7e36d8333824e57913d08a56d8a85b (diff)
removed unused schemas
Diffstat (limited to 'doc/schema/sth.schema.json')
-rw-r--r--doc/schema/sth.schema.json50
1 files changed, 0 insertions, 50 deletions
diff --git a/doc/schema/sth.schema.json b/doc/schema/sth.schema.json
deleted file mode 100644
index 86de2d3..0000000
--- a/doc/schema/sth.schema.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft-07/schema#",
- "title": "signed_tree_head_v0",
- "description": "JSON-formatted signed tree head, version 0.",
-
- "type": "object",
- "required": [ "timestamp", "tree_size", "root_hash", "signatures" ],
- "properties": {
- "timestamp": {
- "description": "The number of milliseconds since the UNIX epoch (January 1, 1970 00:00:00 UTC).",
- "type": "integer",
- "minimum": 0
- },
- "tree_size": {
- "description": "The number of entries that are stored in the log's Merkle tree.",
- "type": "integer",
- "minimum": 0
- },
- "root_hash": {
- "description": "The log's Merkle tree root hash in base64.",
- "type": "string",
- "minLength": 44,
- "maxLength": 44
- },
- "signatures": {
- "description": "A list of signer-signature pairs.",
- "type": "array",
- "items": {
- "description": "A signer-signature pair.",
- "type": "object",
- "required": [ "key_hash", "signature" ],
- "properties": {
- "key_hash": {
- "description": "A public verification-key hash that identifies the signer in base64.",
- "type": "string",
- "minLength": 44,
- "maxLength": 44
- },
- "signature": {
- "description": "The signer's signature over the log's tree_leaf structure in base64.",
- "type": "string",
- "minLength": 44,
- "maxLength": 44
- }
- }
- },
- "minItems": 1
- }
- }
-}