{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stashr-me/json-schema/stashr-me-account-schema.json",
  "title": "Account",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stashr-me-openapi.json#/components/schemas/Account",
  "properties": {
    "access": {
      "properties": {
        "hasAppAccess": {
          "type": "boolean"
        },
        "hasPaidPlan": {
          "type": "boolean"
        },
        "hasProAccess": {
          "description": "Whether the API and MCP are usable right now",
          "type": "boolean"
        },
        "trial": {
          "properties": {
            "tagsRemaining": {
              "type": "integer"
            },
            "trialEndsAt": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "tagsRemaining",
            "trialEndsAt"
          ],
          "type": [
            "object",
            "null"
          ]
        }
      },
      "required": [
        "hasAppAccess",
        "hasPaidPlan",
        "hasProAccess",
        "trial"
      ],
      "type": "object"
    },
    "email": {
      "format": "email",
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "image": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "email",
    "image",
    "access"
  ],
  "type": "object"
}