{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazee-io/json-schema/amazee-io-user-schema.json",
  "title": "User",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazee-io-private-ai-keys-openapi.yml#/components/schemas/User",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email"
    },
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active"
    },
    "is_admin": {
      "type": "boolean",
      "title": "Is Admin"
    },
    "team_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Team Id"
    },
    "team_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Team Name"
    },
    "role": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Role"
    },
    "receive_marketing_updates": {
      "type": "boolean",
      "title": "Receive Marketing Updates",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "email",
    "id",
    "is_active",
    "is_admin"
  ]
}