{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rachio/json-schema/rachio-get-base-station-response-schema.json",
  "title": "GetBaseStationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rachio-valveservice-api-openapi.yml#/components/schemas/GetBaseStationResponse",
  "type": "object",
  "properties": {
    "baseStation": {
      "$ref": "#/$defs/BaseStation"
    }
  },
  "$defs": {
    "BaseStation": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "serialNumber": {
          "type": "string"
        },
        "macAddress": {
          "type": "string"
        },
        "reportedState": {
          "description": "The current state of the device",
          "$ref": "#/$defs/BaseStationReportedState"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "updated": {
          "type": "string",
          "format": "date-time"
        },
        "shared": {
          "type": "boolean",
          "description": "Shared is true when the user does not actually own this base station, but has been granted shared access to it"
        }
      }
    },
    "BaseStationReportedState": {
      "type": "object",
      "properties": {
        "connected": {
          "type": "boolean"
        },
        "bleHubFirmwareVersion": {
          "type": "string"
        },
        "wifiBridgeFirmwareVersion": {
          "type": "string"
        }
      }
    }
  }
}