{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/plugsurfing/json-schema/plugsurfing-update-user-schema.json",
  "title": "UpdateUser",
  "description": "Request payload to update user profile and billing details.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/plugsurfing-users-api-openapi.yml#/components/schemas/UpdateUser",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "This email format is validated, but it is not verified by sending an email."
    },
    "vatNumber": {
      "type": "string",
      "description": "12 character VAT number."
    },
    "billingAddress": {
      "type": "object",
      "properties": {
        "companyName": {
          "type": "string"
        },
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        },
        "addressLine1": {
          "type": "string"
        },
        "addressLine2": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "billingEmail": {
          "type": "string"
        },
        "additionalInformation": {
          "type": "string"
        }
      },
      "description": "Billing address associated with the user account."
    }
  }
}