{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/audiobookshelf/main/json-schema/audiobookshelf-post-api-users-request-schema.json",
  "title": "PostApiUsersRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/audiobookshelf-openapi-generated.yml#/components/schemas/PostApiUsersRequest",
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "The new user's username."
    },
    "password": {
      "type": "string",
      "description": "The new user's password."
    },
    "type": {
      "type": "string",
      "description": "The new user's type. May be guest, user, or admin."
    },
    "mediaProgress": {
      "type": "array",
      "description": "[]"
    },
    "bookmarks": {
      "type": "array",
      "description": "[]"
    },
    "seriesHideFromContinueListening": {
      "type": "array",
      "description": "[]"
    },
    "isActive": {
      "type": "boolean",
      "description": "Whether the new user's account is active."
    },
    "isLocked": {
      "type": "boolean",
      "description": "Whether the new user is locked."
    },
    "lastSeen": {
      "type": "integer",
      "description": "null"
    },
    "createdAt": {
      "type": "integer",
      "description": "Date.now()"
    },
    "permissions": {
      "type": "object",
      "description": "User Permissions Parameters"
    },
    "librariesAccessible": {
      "type": "array",
      "description": "[]"
    },
    "itemTagsAccessible": {
      "type": "array",
      "description": "[]"
    }
  },
  "required": [
    "username",
    "password",
    "type"
  ]
}