{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/joinplexa-com/json-schema/joinplexa-com-business-create-schema.json",
  "title": "BusinessCreate",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/joinplexa-com-openapi.json#/components/schemas/BusinessCreate",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 2,
      "title": "Name"
    },
    "vertical": {
      "type": "string",
      "title": "Vertical"
    },
    "city": {
      "type": "string",
      "title": "City"
    },
    "state": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "State"
    },
    "country": {
      "type": "string",
      "title": "Country",
      "default": "MX"
    },
    "street_address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Street Address"
    },
    "postal_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Postal Code"
    },
    "latitude": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Latitude"
    },
    "longitude": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Longitude"
    },
    "phone_e164": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Phone E164"
    },
    "email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email"
    },
    "website": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Website"
    },
    "whatsapp_e164": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Whatsapp E164"
    },
    "description_short": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 150
        },
        {
          "type": "null"
        }
      ],
      "title": "Description Short"
    },
    "languages": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Languages",
      "default": [
        "es"
      ]
    },
    "subcategory": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Subcategory"
    }
  },
  "type": "object",
  "required": [
    "name",
    "vertical",
    "city"
  ]
}