{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ethora-com/json-schema/ethora-com-me-response-schema.json",
  "title": "MeResponse",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ethora-com-openapi.json#/components/schemas/MeResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "token": {
      "type": "string"
    },
    "refreshToken": {
      "type": "string"
    },
    "user": {
      "$ref": "#/$defs/UserPublic"
    },
    "app": {
      "type": "object",
      "properties": {
        "isUserDataEncrypted": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "isAllowedNewAppCreate": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "success",
    "token",
    "refreshToken",
    "user"
  ],
  "additionalProperties": true,
  "$defs": {
    "UserPublic": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "uuid": {
          "type": [
            "string",
            "null"
          ]
        },
        "xmppUsername": {
          "type": "string"
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "firstName": {
          "type": [
            "string",
            "null"
          ]
        },
        "lastName": {
          "type": [
            "string",
            "null"
          ]
        },
        "username": {
          "type": [
            "string",
            "null"
          ]
        },
        "profileImage": {
          "type": [
            "string",
            "null"
          ]
        },
        "profilePicture": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "tags": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": true
    }
  }
}