{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "authorization-common", "type": "object", "title": "Common Authorization Schema", "definitions": { "accounts-query": { "type": "object", "properties": { "username": { "type": "string", "examples": [ "john_doe" ] }, "firstname": { "type": "string", "examples": [ "John" ] }, "email": { "type": "string", "examples": [ "user@email.com" ] }, "provenance": { "type": "string", "examples": [ "Local AAA" ] } } }, "groups-query": { "type": "object", "properties": { "name": { "type": "string", "examples": [ "group1" ] }, "provenance": { "type": "string", "examples": [ "Local AAA" ] }, "description": { "type": "string", "examples": [ "this is group1" ] } } }, "roles-query": { "type": "object", "properties": { "provenance": { "type": "string", "examples": [ "Custom" ] }, "name": { "type": "string", "examples": [ "role_1" ] }, "description": { "type": "string", "examples": [ "description of role_1" ] } } }, "roleId": { "title": "roleId", "type": "string", "examples": [ "Authorization.admin" ] } } }