{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kvartiry-phuket-com/json-schema/kvartiry-phuket-com-sea-today-schema.json",
  "title": "SeaToday",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kvartiry-phuket-com-openapi.yml#/components/schemas/SeaToday",
  "type": "object",
  "required": [
    "ok",
    "data_time",
    "beaches",
    "attribution",
    "note_ru"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "schema_version": {
      "type": "integer"
    },
    "data_time": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "fetched_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "beaches": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "name_ru": {
            "type": [
              "string",
              "null"
            ]
          },
          "side": {
            "type": [
              "string",
              "null"
            ],
            "description": "west, south или east"
          },
          "class": {
            "type": [
              "string",
              "null"
            ],
            "description": "calm, moderate, waves или no_data"
          },
          "class_ru": {
            "type": [
              "string",
              "null"
            ]
          },
          "estimate_m": {
            "type": [
              "number",
              "null"
            ],
            "description": "оценка высоты волны у пляжа, м"
          }
        }
      }
    },
    "verdict": {
      "type": [
        "object",
        "null"
      ]
    },
    "quiet_side": {
      "type": [
        "string",
        "null"
      ]
    },
    "water_temp_c": {
      "type": [
        "number",
        "null"
      ]
    },
    "attribution": {
      "type": "string"
    },
    "note_ru": {
      "type": "string"
    }
  }
}