{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/curbwaste/json-schema/curbwaste-create-public-customer-dto-schema.json",
  "title": "CreatePublicCustomerDto",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/curbwaste-customers-api-openapi.yml#/components/schemas/CreatePublicCustomerDto",
  "type": "object",
  "properties": {
    "displayName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "email": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "string",
          "format": "email"
        }
      ]
    },
    "phone": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "string",
          "maxLength": 50
        }
      ]
    },
    "companyName": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "string",
          "maxLength": 255
        }
      ]
    }
  },
  "required": [
    "displayName"
  ]
}