{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getcheapgames-com/json-schema/getcheapgames-com-gcg-routers-steam-account-state-out-schema.json",
  "title": "StateOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getcheapgames-com-steam-api-openapi.yml#/components/schemas/gcg__routers__steam_account__StateOut",
  "properties": {
    "account": {
      "anyOf": [
        {
          "$ref": "#/$defs/gcg__routers__steam_account__AccountOut"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "account"
  ],
  "$defs": {
    "gcg__routers__steam_account__AccountOut": {
      "properties": {
        "account_name": {
          "type": "string",
          "title": "Account Name"
        },
        "steam_id": {
          "type": "string",
          "title": "Steam Id"
        },
        "signed_in_at": {
          "type": "string",
          "format": "date-time",
          "title": "Signed In At"
        },
        "expires_at": {
          "type": "string",
          "format": "date-time",
          "title": "Expires At"
        },
        "logged_on_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Logged On At"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error"
        }
      },
      "type": "object",
      "required": [
        "account_name",
        "steam_id",
        "signed_in_at",
        "expires_at",
        "logged_on_at",
        "error"
      ],
      "title": "AccountOut"
    }
  }
}