Implement authorization import and revocation checks (T-503)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://softbox.local/schemas/revocation-list-v1.json",
|
||||
"title": "SoftBox Revocation List v1",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schema_version", "generated_at", "expires_at", "revoked_license_ids", "signature"],
|
||||
"properties": {
|
||||
"schema_version": { "const": 1 },
|
||||
"generated_at": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$" },
|
||||
"expires_at": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$" },
|
||||
"revoked_license_ids": {
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": { "type": "string", "pattern": "^lic-[a-z0-9][a-z0-9-]{0,59}$" }
|
||||
},
|
||||
"signature": { "type": "string", "pattern": "^[A-Za-z0-9+/]{86}==$" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user