{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/teradata/main/json-schema/teradata-user-schema.json",
  "title": "User",
  "description": "A QueryGrid user with role mappings.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/teradata-users-api-openapi.yml#/components/schemas/User",
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "Username."
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Assigned roles."
    }
  }
}