Files
paperspec/schemas/log-entry.schema.json
T
alexm 4fa326dc76
check / check (push) Successful in 42s
site / site (push) Successful in 3m4s
First implementation (#1)
Reviewed-on: #1
2026-10-15 05:47:05 -04:00

25 lines
641 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://paperspec.scient.ing/schemas/log-entry.schema.json",
"title": "Log entry",
"description": "scienting-log-entry/1: one item of a team's transparency log, [kind, id, hash]: the kind of record, its ID (or the store for a roster) and its record hash; spec/23-log.md.",
"type": "array",
"prefixItems": [
{
"enum": [
"receipt",
"revocation",
"roster"
]
},
{
"$ref": "common.schema.json#/$defs/key"
},
{
"$ref": "common.schema.json#/$defs/hash"
}
],
"minItems": 3,
"maxItems": 3
}