{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.itch.io/schemas/user.json",
  "title": "User",
  "description": "Represents an itch.io account with basic profile information.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Site-wide unique identifier generated by itch.io"
    },
    "username": {
      "type": "string",
      "description": "The user's username, used for login and profile URLs"
    },
    "displayName": {
      "type": "string",
      "description": "The user's display name; human-friendly, may contain spaces and unicode"
    },
    "developer": {
      "type": "boolean",
      "description": "Whether the user has opted into creating games"
    },
    "pressUser": {
      "type": "boolean",
      "description": "Whether the user is part of itch.io's press program"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The address of the user's page on itch.io"
    },
    "coverUrl": {
      "type": "string",
      "format": "uri",
      "description": "User's avatar URL; may be a GIF"
    },
    "stillCoverUrl": {
      "type": "string",
      "format": "uri",
      "description": "Static version of user's avatar; only set if coverUrl is a GIF"
    }
  },
  "required": ["id", "username"]
}
