{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reddit/json-schema/reddit-components-schema-get-me-response-body-schema.json",
  "title": "GetMeResponseBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reddit-members-api-openapi.yml#/components/schemas/components_schema_get_me_response_body",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "type": "string",
      "description": "Indicates whether the access token belongs to a member or System User. System User responses do not contain human profile data.",
      "enum": [
        "MEMBER",
        "SYSTEM_USER"
      ]
    },
    "email": {
      "$ref": "#/$defs/email"
    },
    "firstname": {
      "$ref": "#/$defs/firstname"
    },
    "id": {
      "$ref": "#/$defs/id-6"
    },
    "lastname": {
      "$ref": "#/$defs/lastname"
    },
    "phone": {
      "$ref": "#/$defs/phone-2"
    },
    "reddit_user_id": {
      "$ref": "#/$defs/reddit_user_id"
    },
    "reddit_username": {
      "$ref": "#/$defs/reddit_username"
    }
  },
  "$defs": {
    "email": {
      "readOnly": true,
      "type": [
        "string",
        "null"
      ],
      "description": "The member's email address."
    },
    "firstname": {
      "type": [
        "string",
        "null"
      ],
      "description": "The member's first name."
    },
    "id-6": {
      "type": "string",
      "description": "The member's ID.",
      "readOnly": true
    },
    "lastname": {
      "type": [
        "string",
        "null"
      ],
      "description": "The member's last name."
    },
    "phone-2": {
      "type": [
        "string",
        "null"
      ],
      "description": "The member's phone number."
    },
    "reddit_user_id": {
      "description": "The member's Reddit user ID.",
      "type": "string",
      "pattern": "^t2_.*",
      "readOnly": true
    },
    "reddit_username": {
      "type": "string",
      "description": "The member's username.",
      "readOnly": true
    }
  }
}