{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fellow/json-schema/fellow-authenticated-user-response-schema.json",
  "title": "AuthenticatedUserResponse",
  "description": "Response for the /me endpoint.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fellow-users-api-openapi.yml#/components/schemas/AuthenticatedUserResponse",
  "properties": {
    "user": {
      "$ref": "#/$defs/UserInfo"
    },
    "workspace": {
      "$ref": "#/$defs/WorkspaceInfo"
    }
  },
  "required": [
    "user",
    "workspace"
  ],
  "type": "object",
  "$defs": {
    "UserInfo": {
      "description": "User information in API responses.",
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "email": {
          "title": "Email",
          "type": "string"
        },
        "full_name": {
          "title": "Full Name",
          "type": "string"
        }
      },
      "required": [
        "id",
        "email",
        "full_name"
      ],
      "title": "UserInfo",
      "type": "object"
    },
    "WorkspaceInfo": {
      "description": "Workspace information in API responses.",
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "subdomain": {
          "title": "Subdomain",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "subdomain"
      ],
      "title": "WorkspaceInfo",
      "type": "object"
    }
  }
}