{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chartercaptain-com/json-schema/chartercaptain-com-sign-upload-schema.json",
  "title": "SignUpload",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chartercaptain-com-uploads-api-openapi.yml#/components/schemas/SignUpload",
  "type": "object",
  "properties": {
    "contentType": {
      "type": "string",
      "pattern": "^image\\/(jpeg|png|heic|webp)$"
    },
    "sizeBytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 52428800
    },
    "kind": {
      "type": "string",
      "enum": [
        "boat-photo",
        "profile",
        "gallery",
        "booking-attachment"
      ]
    },
    "refId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "contentType",
    "sizeBytes",
    "kind"
  ]
}