access-engine/schemas/readback_systems.schema.json

60 lines
1.4 KiB
JSON
Raw Normal View History

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://flex-auth.netkingdom/schemas/readback_systems.schema.json",
"title": "ReadbackSystems",
"description": "GET /v1/readback/systems: read-only registry projection. It authorizes nothing.",
"type": "object",
"additionalProperties": false,
"required": [
"registry_snapshot_digest",
"systems"
],
"properties": {
"registry_snapshot_digest": {
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$"
},
"systems": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"readback"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string"
},
"readback": {
"type": "boolean"
},
"client_binding": {
"type": "object",
"additionalProperties": false,
"required": [
"issuer",
"client_id"
],
"properties": {
"issuer": {
"type": "string",
"minLength": 1
},
"client_id": {
"type": "string",
"minLength": 1
}
}
}
}
}
}
}
}