{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getmyluna-app/json-schema/getmyluna-app-token-request-schema.json",
  "title": "TokenRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getmyluna-app-tokens-api-openapi.yml#/components/schemas/TokenRequest",
  "properties": {
    "label": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Re-minting the same label replaces that token. Defaults to your username.",
      "title": "Label"
    },
    "scopes": {
      "anyOf": [
        {
          "items": {
            "enum": [
              "read",
              "write"
            ],
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Default: both.",
      "title": "Scopes"
    }
  },
  "type": "object"
}