{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/perigeetides-com/json-schema/perigeetides-com-places-result-schema.json",
  "title": "PlacesResult",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/perigeetides-com-openapi.json#/components/schemas/PlacesResult",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "const": "stations"
    },
    "contractVersion": {
      "type": "string",
      "const": "2026-11-11.1"
    },
    "generatedAt": {
      "type": "string"
    },
    "query": {
      "type": [
        "string",
        "null"
      ]
    },
    "matchedBy": {
      "type": "string",
      "enum": [
        "station_id",
        "coordinates",
        "name",
        "host_location",
        "state"
      ]
    },
    "count": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "stations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          },
          "kind": {
            "type": "string",
            "enum": [
              "reference",
              "subordinate"
            ]
          },
          "distanceMiles": {
            "type": [
              "number",
              "null"
            ]
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "id",
          "name",
          "state",
          "latitude",
          "longitude",
          "kind",
          "distanceMiles",
          "url"
        ],
        "additionalProperties": false
      }
    },
    "summary": {
      "type": "string"
    },
    "links": {
      "type": "object",
      "properties": {
        "perigee": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "perigee"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "kind",
    "contractVersion",
    "generatedAt",
    "query",
    "matchedBy",
    "count",
    "stations",
    "summary",
    "links"
  ],
  "additionalProperties": false
}