{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pinbridge-io/json-schema/pinbridge-io-profile-response-schema.json",
  "title": "ProfileResponse",
  "description": "Workspace billing profile for invoice/customer details.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pinbridge-io-openapi.json#/components/schemas/ProfileResponse",
  "properties": {
    "full_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Full Name"
    },
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email"
    },
    "pending_email_change_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "email"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pending Email Change To"
    },
    "pending_email_change_requested_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pending Email Change Requested At"
    },
    "workspace_name": {
      "type": "string",
      "title": "Workspace Name"
    },
    "company_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Name"
    },
    "company_website": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Website"
    },
    "billing_email": {
      "anyOf": [
        {
          "type": "string",
          "format": "email"
        },
        {
          "type": "null"
        }
      ],
      "title": "Billing Email"
    },
    "billing_phone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Billing Phone"
    },
    "tax_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tax Id"
    },
    "tax_id_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tax Id Status",
      "description": "State of `tax_id` as an EU VAT number, when tax is added at checkout. `verified`: VIES, the EU's VAT number database, confirmed it, and invoices carry no VAT. `pending`: VIES could not be reached yet, and VAT is added until it confirms the number. `invalid`: VIES no longer confirms it, and VAT is added. `null`: not an EU VAT number, or not checked."
    },
    "tax_id_checked_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tax Id Checked At",
      "description": "When VIES last confirmed the VAT number"
    },
    "tax_id_verified_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tax Id Verified Name",
      "description": "The business name VIES has for the VAT number, when the country shares it"
    },
    "tax_id_verified_address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tax Id Verified Address",
      "description": "The address VIES has for the VAT number, when the country shares it"
    },
    "address_line1": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address Line1"
    },
    "address_line2": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address Line2"
    },
    "address_city": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address City"
    },
    "address_state": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address State"
    },
    "address_postal_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address Postal Code"
    },
    "address_country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address Country"
    }
  },
  "type": "object",
  "required": [
    "email",
    "workspace_name"
  ]
}