railiance-clock/specs/protected-header-v0.1.schema.json

24 lines
469 B
JSON
Raw Normal View History

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "protected-header-v0.1 review candidate v0.1",
"type": "object",
"additionalProperties": false,
"required": [
"alg",
"kid",
"typ"
],
"properties": {
"alg": {
"const": "ES256"
},
"kid": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])"
},
"typ": {
"const": "railiance-clock-sample-v0.1"
}
}
}