{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dpf-it-com/json-schema/dpf-it-com-create-customer-response-schema.json",
  "title": "CreateCustomerResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dpf-it-com-account-api-openapi.yml#/components/schemas/CreateCustomerResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "properties": {
        "stripeCustomerId": {
          "type": "string",
          "description": "The user's Stripe customer ID (newly created or pre-existing)"
        },
        "alreadyExists": {
          "type": "boolean",
          "description": "True if a Stripe customer already existed (HTTP 200); false if one was created (HTTP 201)"
        }
      }
    }
  }
}