Open Waters · Schema

CurrentTimelineResponse

MarineOpen SourceDataNavigation

Properties

Name Type Description
units string
floodDirection number Degrees true, when the station has one
ebbDirection number Degrees true, when the station has one
station object
distance number Distance from the query point in kilometers (location queries only)
timeline array
View JSON Schema on GitHub

JSON Schema

openwaters-io-current-timeline-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openwaters-io/json-schema/openwaters-io-current-timeline-response-schema.json",
  "title": "CurrentTimelineResponse",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openwaters-io-openapi.json#/components/schemas/CurrentTimelineResponse",
  "allOf": [
    {
      "$ref": "#/$defs/CurrentPredictionResponse"
    },
    {
      "type": "object",
      "properties": {
        "timeline": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CurrentTimelineEntry"
          }
        }
      },
      "required": [
        "timeline"
      ]
    }
  ],
  "$defs": {
    "CurrentAvailability": {
      "type": "object",
      "properties": {
        "bins": {
          "type": "array",
          "description": "Every depth bin of this station, primary first",
          "items": {
            "$ref": "#/$defs/CurrentBin"
          }
        },
        "predictions": {
          "type": "boolean",
          "description": "Whether this API can serve predictions for the station"
        },
        "unavailable": {
          "type": "string",
          "description": "Why predictions can't be served, when `predictions` is false"
        }
      },
      "required": [
        "bins",
        "predictions"
      ]
    },
    "CurrentBin": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Station ID for this bin"
        },
        "bin": {
          "type": "integer",
          "description": "Bin number; absent for the primary bin, which the bare station ID selects"
        }
      },
      "required": [
        "id"
      ]
    },
    "CurrentPredictionResponse": {
      "type": "object",
      "properties": {
        "units": {
          "type": "string",
          "enum": [
            "knots"
          ]
        },
        "floodDirection": {
          "type": "number",
          "description": "Degrees true, when the station has one"
        },
        "ebbDirection": {
          "type": "number",
          "description": "Degrees true, when the station has one"
        },
        "station": {
          "$ref": "#/$defs/CurrentStation"
        },
        "distance": {
          "type": "number",
          "description": "Distance from the query point in kilometers (location queries only)"
        }
      },
      "required": [
        "units",
        "station"
      ]
    },
    "CurrentStation": {
      "allOf": [
        {
          "$ref": "#/$defs/Station"
        },
        {
          "$ref": "#/$defs/CurrentAvailability"
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "current"
              ]
            },
            "current": {
              "type": "object",
              "properties": {
                "flood_direction": {
                  "type": "number",
                  "description": "Degrees true"
                },
                "ebb_direction": {
                  "type": "number",
                  "description": "Degrees true"
                },
                "mean_flow": {
                  "type": "number",
                  "description": "Knots"
                },
                "minor_constituents": {
                  "type": "array",
                  "description": "Minor-axis amplitudes in knots and phases in degrees",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "amplitude": {
                        "type": "number"
                      },
                      "phase": {
                        "type": "number"
                      }
                    }
                  }
                },
                "minor_mean_flow": {
                  "type": "number",
                  "description": "Minor-axis mean flow in knots"
                },
                "azimuth": {
                  "type": "number",
                  "description": "Major-axis azimuth in degrees true"
                },
                "offsets": {
                  "type": "object",
                  "description": "Subordinate stations only. Times in minutes, ratios dimensionless.",
                  "properties": {
                    "reference": {
                      "type": "string"
                    },
                    "slack_before_flood": {
                      "type": "number"
                    },
                    "slack_before_ebb": {
                      "type": "number"
                    },
                    "flood_time": {
                      "type": "number"
                    },
                    "ebb_time": {
                      "type": "number"
                    },
                    "flood_speed_ratio": {
                      "type": "number"
                    },
                    "ebb_speed_ratio": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        }
      ]
    },
    "CurrentTimelineEntry": {
      "type": "object",
      "properties": {
        "time": {
          "type": "string",
          "format": "date-time"
        },
        "hour": {
          "type": "number",
          "description": "Hours since the first sample"
        },
        "speed": {
          "type": "number",
          "description": "Signed knots along the flood axis: positive flood, negative ebb"
        },
        "magnitude": {
          "type": "number",
          "minimum": 0,
          "description": "Current magnitude in knots; absolute speed without minor-axis data"
        },
        "direction": {
          "type": "number",
          "minimum": 0,
          "maximum": 360,
          "exclusiveMaximum": true,
          "description": "Vector bearing in degrees true when minor-axis data is available; otherwise the published flood or ebb bearing. Absent at zero magnitude or when unknown."
        }
      },
      "required": [
        "time",
        "speed"
      ]
    },
    "Station": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "region": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "continent": {
          "type": "string"
        },
        "timezone": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "reference",
            "subordinate"
          ]
        },
        "source": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          }
        },
        "license": {
          "$ref": "#/$defs/StationLicense"
        },
        "attribution": {
          "$ref": "#/$defs/StationAttribution"
        },
        "disclaimers": {
          "type": "string"
        },
        "distance": {
          "type": "number",
          "description": "Distance from query point in kilometers (only for proximity searches)"
        },
        "datums": {
          "type": "object",
          "properties": {
            "CD": {
              "type": "number"
            },
            "CRD_OFFSET": {
              "type": "number"
            },
            "DHQ": {
              "type": "number"
            },
            "DLQ": {
              "type": "number"
            },
            "DTL": {
              "type": "number"
            },
            "GT": {
              "type": "number"
            },
            "GUVD04": {
              "type": "number"
            },
            "HAT": {
              "type": "number"
            },
            "HWI": {
              "type": "number"
            },
            "LAT": {
              "type": "number"
            },
            "LLWLT": {
              "type": "number"
            },
            "LWI": {
              "type": "number"
            },
            "MHHW": {
              "type": "number"
            },
            "MHW": {
              "type": "number"
            },
            "MHWN": {
              "type": "number"
            },
            "MHWS": {
              "type": "number"
            },
            "MLLW": {
              "type": "number"
            },
            "MLW": {
              "type": "number"
            },
            "MLWN": {
              "type": "number"
            },
            "MLWS": {
              "type": "number"
            },
            "MN": {
              "type": "number"
            },
            "MSL": {
              "type": "number"
            },
            "MTL": {
              "type": "number"
            },
            "NAVD88": {
              "type": "number"
            },
            "NLLW": {
              "type": "number"
            },
            "NMVD03": {
              "type": "number"
            },
            "NN2000": {
              "type": "number"
            },
            "PRVD02": {
              "type": "number"
            },
            "STND": {
              "type": "number"
            },
            "TLT": {
              "type": "number"
            },
            "VIVD09": {
              "type": "number"
            }
          },
          "additionalProperties": {
            "type": "number"
          }
        },
        "harmonic_constituents": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "amplitude": {
                "type": "number"
              },
              "phase": {
                "type": "number"
              }
            }
          }
        },
        "defaultDatum": {
          "type": "string"
        },
        "offsets": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string"
            },
            "height": {
              "type": "object",
              "properties": {
                "high": {
                  "type": "number"
                },
                "low": {
                  "type": "number"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "ratio",
                    "fixed"
                  ]
                }
              }
            },
            "time": {
              "type": "object",
              "properties": {
                "high": {
                  "type": "number"
                },
                "low": {
                  "type": "number"
                }
              }
            }
          }
        }
      }
    },
    "StationAttribution": {
      "type": "string",
      "description": "The credit to display wherever the station's data is shown"
    },
    "StationLicense": {
      "type": "object",
      "description": "The license of the station's data. Hosts must honor `commercial_use: false` (CC BY-NC stations).",
      "properties": {
        "type": {
          "type": "string"
        },
        "commercial_use": {
          "type": "boolean"
        },
        "url": {
          "type": "string"
        },
        "notes": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/openwaters-io-current-timeline-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.