{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hhs/json-schema/hhs-local-user-token-response-schema-schema.json",
  "title": "LocalUserTokenResponseSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hhs-local-only-api-openapi.yml#/components/schemas/LocalUserTokenResponseSchema",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "The message to return"
    },
    "data": {
      "type": "array",
      "items": {
        "type": [
          "object"
        ],
        "$ref": "#/$defs/LocalUserTokenSchema"
      }
    },
    "status_code": {
      "type": "integer",
      "description": "The HTTP status code"
    }
  },
  "$defs": {
    "LocalUserTokenSchema": {
      "type": "object",
      "properties": {
        "user_id": {
          "type": "string",
          "format": "uuid",
          "description": "The ID of the user"
        },
        "first_name": {
          "type": "string",
          "description": "The first name of the user"
        },
        "last_name": {
          "type": "string",
          "description": "The last name of the user"
        },
        "oauth_id": {
          "type": "string",
          "description": "The OAuth id of the user - can be used to login locally via our mock OAuth server"
        },
        "user_jwt": {
          "type": "string",
          "description": "The JWT of the user, can be used with our X-SGG-Token auth"
        },
        "user_api_key": {
          "type": "string",
          "description": "The API key of the user, can be used with our X-API-Key auth"
        }
      }
    }
  }
}