{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/github-cli-hosts.json","title":"GitHub CLI hosts configuration","description":"Authentication and per-host configuration for the GitHub CLI.\nhttps://cli.github.com/manual/gh_auth_status","type":"object","additionalProperties":{"$ref":"#/definitions/host"},"definitions":{"configOptions":{"description":"GitHub CLI options that may be overridden for a host or preserved for an account.\nhttps://github.com/cli/cli/blob/v2.96.0/internal/config/config.go","type":"object","additionalProperties":true,"properties":{"git_protocol":{"description":"Protocol to use for Git operations with this host.\nhttps://cli.github.com/manual/gh_config","type":"string","enum":["https","ssh"]},"editor":{"description":"Text editor command used for this host.\nhttps://cli.github.com/manual/gh_config","type":["string","null"]},"prompt":{"description":"Whether interactive prompting is enabled for this host.\nhttps://cli.github.com/manual/gh_config","type":"string","enum":["enabled","disabled"]},"prefer_editor_prompt":{"description":"Whether GitHub CLI should prefer opening an editor instead of prompting in the terminal for this host.\nhttps://cli.github.com/manual/gh_config","type":"string","enum":["enabled","disabled"]},"pager":{"description":"Terminal pager command used for this host.\nhttps://cli.github.com/manual/gh_config","type":["string","null"]},"http_unix_socket":{"description":"Path to a Unix domain socket used for HTTP connections to this host.\nhttps://cli.github.com/manual/gh_config","type":["string","null"]},"browser":{"description":"Web browser command used for this host.\nhttps://cli.github.com/manual/gh_config","type":["string","null"]},"color_labels":{"description":"Whether label colors are displayed using their RGB values for this host.\nhttps://cli.github.com/manual/gh_config","type":"string","enum":["enabled","disabled"]},"accessible_colors":{"description":"Whether the accessible four-bit color palette is enabled for this host.\nhttps://cli.github.com/manual/gh_config","type":"string","enum":["enabled","disabled"]},"accessible_prompter":{"description":"Whether the accessible interactive prompter is enabled for this host.\nhttps://cli.github.com/manual/gh_config","type":"string","enum":["enabled","disabled"]},"spinner":{"description":"Whether terminal spinner animations are enabled for this host.\nhttps://cli.github.com/manual/gh_config","type":"string","enum":["enabled","disabled"]}}},"host":{"description":"Configuration for a GitHub.com or GitHub Enterprise host.\nhttps://github.com/cli/cli/blob/v2.96.0/docs/multiple-accounts.md","allOf":[{"$ref":"#/definitions/configOptions"},{"type":"object","properties":{"user":{"description":"Username of the active account for this host.\nhttps://cli.github.com/manual/gh_auth_switch","type":"string"},"oauth_token":{"description":"Sensitive plaintext authentication token used when secure credential storage is unavailable. Prefer storing credentials with gh auth login.\nhttps://cli.github.com/manual/gh_auth_login","type":"string"},"users":{"description":"Accounts known for this host. A null value indicates that the account token is stored in the operating system credential store.\nhttps://github.com/cli/cli/blob/v2.96.0/docs/multiple-accounts.md","type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"$ref":"#/definitions/user"}]}}}}]},"user":{"description":"Per-account configuration stored for a host.\nhttps://github.com/cli/cli/blob/v2.96.0/docs/multiple-accounts.md","allOf":[{"$ref":"#/definitions/configOptions"},{"type":"object","properties":{"oauth_token":{"description":"Sensitive plaintext authentication token used when secure credential storage is unavailable. Prefer storing credentials with gh auth login.\nhttps://cli.github.com/manual/gh_auth_login","type":"string"}}}]}}}