{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "loggedIn": {
      "type": "boolean",
      "const": true
    },
    "apiUrl": {
      "type": "string"
    },
    "organization": {
      "type": "string"
    },
    "expiresAt": {
      "type": "number"
    },
    "actor": {
      "type": "string"
    },
    "checkout": {
      "type": "object",
      "properties": {
        "organization": {
          "type": "string"
        },
        "saved": {
          "type": "string"
        },
        "unsaved": {
          "type": "string"
        }
      },
      "required": ["organization"],
      "additionalProperties": {}
    }
  },
  "required": ["loggedIn", "apiUrl"],
  "additionalProperties": {},
  "title": "Login",
  "description": "Browser sign-in reports organization and expiresAt; --token-stdin reports actor."
}
