{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nomas-fyi/json-schema/nomas-fyi-custom-user-details-schema.json",
  "title": "CustomUserDetails",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nomas-fyi-openapi.yml#/components/schemas/CustomUserDetails",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "readOnly": true,
      "title": "Email address"
    },
    "first_name": {
      "type": "string",
      "maxLength": 150
    },
    "last_name": {
      "type": "string",
      "maxLength": 150
    },
    "is_active": {
      "type": "boolean"
    },
    "is_subscribed": {
      "type": "boolean"
    },
    "is_business": {
      "type": "boolean"
    },
    "business_name": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 200
    },
    "email_verified": {
      "type": "string",
      "readOnly": true
    }
  },
  "required": [
    "email",
    "email_verified",
    "first_name",
    "last_name"
  ]
}