{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://nao1215.github.io/jsonize/schemas/gh/auth-status.json",
  "title": "gh/auth-status",
  "description": "gh auth status, the accounts logged in to each host",
  "x-jsonize": {
    "definition": "gh/auth-status",
    "version": 1
  },
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "host": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ]
      },
      "login": {
        "type": "object",
        "properties": {
          "host": {
            "type": "string"
          },
          "account": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "host",
          "account",
          "source"
        ]
      },
      "details": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "key": {
              "type": "string"
            },
            "value": {
              "type": "string"
            }
          },
          "required": [
            "key",
            "value"
          ]
        }
      }
    },
    "required": [
      "host",
      "login",
      "details"
    ]
  }
}
