{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cruise-itinerary-com/json-schema/cruise-itinerary-com-status-schema.json",
  "title": "Status",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cruise-itinerary-com-service-api-openapi.yml#/components/schemas/Status",
  "type": "object",
  "properties": {
    "as_of": {
      "oneOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ]
    },
    "counts": {
      "type": "object",
      "properties": {
        "sailings": {
          "type": "integer"
        },
        "ships": {
          "type": "integer",
          "description": "Ships with upcoming sailings."
        },
        "ports_with_calls": {
          "type": "integer"
        },
        "lines": {
          "type": "integer",
          "description": "Lines with upcoming sailings."
        }
      },
      "required": [
        "sailings",
        "ships",
        "ports_with_calls",
        "lines"
      ],
      "additionalProperties": false
    },
    "next_scheduled_load": {
      "type": "string",
      "description": "When the next weekly load is due (ISO 8601 with offset).",
      "format": "date-time"
    }
  },
  "required": [
    "as_of",
    "counts",
    "next_scheduled_load"
  ],
  "additionalProperties": false
}