{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/joinplexa-com/json-schema/joinplexa-com-business-response-schema.json",
  "title": "BusinessResponse",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/joinplexa-com-openapi.json#/components/schemas/BusinessResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "vertical": {
      "type": "string",
      "title": "Vertical"
    },
    "city": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "City"
    },
    "state": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "State"
    },
    "country": {
      "type": "string",
      "title": "Country"
    },
    "street_address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Street Address"
    },
    "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"
    },
    "google_place_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Google Place Id"
    },
    "whatsapp_e164": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Whatsapp E164"
    },
    "description_short": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description Short"
    },
    "description_long": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description Long"
    },
    "languages": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Languages",
      "default": []
    },
    "opening_hours": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Opening Hours",
      "default": []
    },
    "hours_confidence": {
      "type": "string",
      "title": "Hours Confidence",
      "default": "ok"
    },
    "payment_accepted": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Payment Accepted",
      "default": []
    },
    "insurance_accepted": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Insurance Accepted",
      "default": []
    },
    "capabilities": {
      "items": {
        "$ref": "#/$defs/CapabilityAction"
      },
      "type": "array",
      "title": "Capabilities",
      "default": []
    },
    "mcp_endpoint": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mcp Endpoint"
    },
    "mcp_endpoint_status": {
      "type": "string",
      "title": "Mcp Endpoint Status",
      "default": "none"
    },
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "claimed": {
      "type": "boolean",
      "title": "Claimed"
    },
    "source": {
      "type": "string",
      "title": "Source"
    },
    "aggregate_rating_human": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Aggregate Rating Human"
    },
    "review_count_human": {
      "type": "integer",
      "title": "Review Count Human",
      "default": 0
    },
    "price_level": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Level"
    },
    "cuisine": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cuisine"
    },
    "cuisine_google": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cuisine Google"
    },
    "menu_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Menu Url"
    },
    "good_for": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Good For"
    },
    "menu_confirmed_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Menu Confirmed At"
    },
    "guardian_checked_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Guardian Checked At"
    },
    "guardian_changed_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Guardian Changed At"
    },
    "temporarily_closed_since": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Temporarily Closed Since"
    },
    "website_hidden": {
      "type": "boolean",
      "title": "Website Hidden",
      "default": false
    },
    "services": {
      "items": {
        "$ref": "#/$defs/ServiceItem"
      },
      "type": "array",
      "title": "Services",
      "default": []
    },
    "faqs": {
      "items": {
        "$ref": "#/$defs/FaqItem"
      },
      "type": "array",
      "title": "Faqs",
      "default": []
    },
    "offerings": {
      "items": {
        "$ref": "#/$defs/OfferingItem"
      },
      "type": "array",
      "title": "Offerings",
      "default": []
    },
    "specialties": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Specialties",
      "default": []
    },
    "areas_served": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Areas Served",
      "default": []
    },
    "social_media": {
      "additionalProperties": true,
      "type": "object",
      "title": "Social Media",
      "default": {}
    },
    "booking_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Booking Url"
    },
    "preferred_contact_method": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Preferred Contact Method"
    },
    "response_time": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Response Time"
    },
    "agent_instructions": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Instructions"
    },
    "context_hints": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Context Hints",
      "default": []
    },
    "whatsapp_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Whatsapp Url"
    },
    "profile_completeness": {
      "type": "integer",
      "title": "Profile Completeness",
      "default": 0
    },
    "onboarding_completed": {
      "type": "boolean",
      "title": "Onboarding Completed",
      "default": false
    },
    "is_chain": {
      "type": "boolean",
      "title": "Is Chain",
      "default": false
    },
    "is_featured": {
      "type": "boolean",
      "title": "Is Featured",
      "default": false
    },
    "trust_score": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trust Score"
    },
    "verifications": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Verifications",
      "default": []
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "slug",
    "name",
    "vertical",
    "country",
    "tier",
    "status",
    "claimed",
    "source",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "CapabilityAction": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "label": {
          "type": "string",
          "title": "Label"
        },
        "action_type": {
          "type": "string",
          "title": "Action Type"
        },
        "action_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Action Url"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        }
      },
      "type": "object",
      "required": [
        "name",
        "label",
        "action_type"
      ],
      "title": "CapabilityAction"
    },
    "FaqItem": {
      "properties": {
        "question": {
          "type": "string",
          "title": "Question"
        },
        "answer": {
          "type": "string",
          "title": "Answer"
        },
        "updated_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Updated At"
        }
      },
      "type": "object",
      "required": [
        "question",
        "answer"
      ],
      "title": "FaqItem"
    },
    "OfferingItem": {
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id"
        },
        "has_viator": {
          "type": "boolean",
          "title": "Has Viator",
          "default": false
        },
        "has_direct": {
          "type": "boolean",
          "title": "Has Direct",
          "default": false
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "category": {
          "type": "string",
          "title": "Category"
        },
        "duration_minutes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Duration Minutes"
        },
        "price_from": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Price From"
        },
        "currency": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Currency"
        },
        "price_unit": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Price Unit"
        },
        "price_verified": {
          "type": "boolean",
          "title": "Price Verified",
          "default": false
        },
        "meeting_point": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Meeting Point"
        },
        "meeting_point_maps_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Meeting Point Maps Url"
        },
        "languages": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Languages",
          "default": []
        },
        "max_group_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Group Size"
        },
        "private_available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Private Available"
        },
        "includes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Includes",
          "default": []
        },
        "cancellation_policy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cancellation Policy"
        },
        "season": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Season"
        },
        "min_age": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Min Age"
        },
        "tour_url": {
          "type": "string",
          "title": "Tour Url"
        },
        "checked_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Checked At"
        },
        "viator_price_from": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Viator Price From"
        },
        "viator_price_unit": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Viator Price Unit"
        },
        "viator_checked_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Viator Checked At"
        }
      },
      "type": "object",
      "required": [
        "title",
        "category",
        "tour_url"
      ],
      "title": "OfferingItem"
    },
    "ServiceItem": {
      "properties": {
        "name_es": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Name Es"
        },
        "name_en": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name En"
        },
        "description_es": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description Es"
        },
        "price_amount": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0
            },
            {
              "type": "null"
            }
          ],
          "title": "Price Amount"
        },
        "price_currency": {
          "type": "string",
          "title": "Price Currency",
          "default": "MXN"
        },
        "duration_minutes": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0
            },
            {
              "type": "null"
            }
          ],
          "title": "Duration Minutes"
        },
        "price_is_from": {
          "type": "boolean",
          "title": "Price Is From",
          "default": false
        },
        "id": {
          "type": "string",
          "title": "Id"
        }
      },
      "type": "object",
      "required": [
        "name_es",
        "id"
      ],
      "title": "ServiceItem"
    }
  }
}