railiance-clock/specs/time-request-v0.1.schema.json

30 lines
677 B
JSON
Raw Normal View History

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "time-request-v0.1 review candidate v0.1",
"type": "object",
"additionalProperties": false,
"required": [
"profile",
"authority_id",
"environment",
"nonce"
],
"properties": {
"profile": {
"const": "railiance-clock-v0.1"
},
"authority_id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])"
},
"environment": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])"
},
"nonce": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{43}(?![\\s\\S])"
}
}
}