{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/winnr-app/json-schema/winnr-app-email-user-create-accepted-schema.json",
  "title": "EmailUserCreateAccepted",
  "description": "Job receipt for a queued mailbox creation. The mailbox does not exist\nyet when this is returned — poll `GET /v1/jobs/{job_id}`, then read the\nmailbox (and its password and SMTP/IMAP details) from\n`GET /v1/email-users/{user_id}`.\n",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/winnr-app-openapi.yaml#/components/schemas/EmailUserCreateAccepted",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "job_id": {
          "type": "string",
          "description": "Poll `GET /v1/jobs/{job_id}` for completion."
        },
        "status": {
          "type": "string",
          "enum": [
            "pending"
          ],
          "description": "Always `pending` — the mailbox has been enqueued, not created."
        },
        "email": {
          "type": "string",
          "format": "email",
          "description": "Full address that will be created (`{username}@{domain}`)."
        },
        "username": {
          "type": "string"
        },
        "domain": {
          "type": "string",
          "description": "Domain name the mailbox is being created on."
        },
        "name": {
          "type": "string",
          "description": "Display name that will be set on the mailbox."
        },
        "message": {
          "type": "string"
        },
        "prewarmed_billing": {
          "type": [
            "object",
            "null"
          ],
          "description": "Present only when the domain is pre-warmed; describes the $3/addr seat charge."
        }
      }
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "$defs": {
    "Meta": {
      "type": "object",
      "properties": {
        "request_id": {
          "type": "string"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}