First implementation (#1)
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
1 parent
34c0abb26a
commit
4fa326dc76
534 files changed
+28280
-37
No files matched your search
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://paperspec.scient.ing/schemas/checkpoint.schema.json",
|
||||
"title": "Log checkpoint",
|
||||
"description": "scienting-checkpoint/1: a signed checkpoint of a team's transparency log, as the parsed form of its signed note; spec/23-log.md.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"format": {
|
||||
"const": "scienting-checkpoint/1"
|
||||
},
|
||||
"origin": {
|
||||
"type": "string",
|
||||
"pattern": "^[^\\n]+$",
|
||||
"minLength": 1
|
||||
},
|
||||
"size": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"root": {
|
||||
"$ref": "common.schema.json#/$defs/hash"
|
||||
},
|
||||
"signatures": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"$ref": "common.schema.json#/$defs/key"
|
||||
},
|
||||
"key_hash": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9a-f]{8}$"
|
||||
},
|
||||
"value": {
|
||||
"$ref": "common.schema.json#/$defs/base64"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"key_hash",
|
||||
"value"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"note": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"format",
|
||||
"origin",
|
||||
"size",
|
||||
"root",
|
||||
"signatures",
|
||||
"note"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user