{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://github.com/api-evangelist/cflow/blob/main/json-schema/user.json", "title": "Cflow User", "description": "A User represents an account in Cflow with an assigned role and permissions for accessing workflows.", "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier of the user." }, "username": { "type": "string", "description": "Username of the user." }, "email": { "type": "string", "format": "email", "description": "Email address of the user." }, "role": { "type": "string", "description": "Role assigned to the user." }, "status": { "type": "string", "description": "Account status.", "enum": [ "active", "inactive" ] } } }