{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chartercaptain-com/json-schema/chartercaptain-com-marketplace-captain-schema.json",
  "title": "MarketplaceCaptain",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chartercaptain-com-openapi.json#/components/schemas/MarketplaceCaptain",
  "type": "object",
  "required": [
    "slug",
    "name",
    "defaultHarbor",
    "rating",
    "reviewCount",
    "startingPrice"
  ],
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "bio": {
      "type": [
        "string",
        "null"
      ]
    },
    "profileImageUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "defaultHarbor": {
      "type": [
        "string",
        "null"
      ],
      "deprecated": true,
      "description": "Deprecated: use harbors[]. This field returns the home harbor name. Removed in a future release."
    },
    "harbors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "harborId": {
            "type": "string"
          },
          "isHome": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "harborId",
          "isHome",
          "name"
        ]
      }
    },
    "rating": {
      "type": "number"
    },
    "reviewCount": {
      "type": "integer"
    },
    "startingPrice": {
      "type": "number"
    }
  }
}