{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autoposting-ai/json-schema/autoposting-ai-auth-session-schema.json",
  "title": "AuthSession",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autoposting-ai-auth-api-openapi.yml#/components/schemas/AuthSession",
  "type": "object",
  "properties": {
    "token": {
      "type": "string"
    },
    "user": {
      "$ref": "#/$defs/AuthUser"
    }
  },
  "$defs": {
    "AuthUser": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "emailVerified": {
          "type": "boolean"
        }
      }
    }
  }
}