{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/upcloud-cli-upctl-configuration/latest.json",
  "title": "upctl configuration schema",
  "description": "upctl is a command line client for UpCloud services.\nThe upctl.yaml file can be used to configure it.\n<https://upcloudltd.github.io/upcloud-cli/>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/UpCloudLtd/upcloud-cli/refs/heads/main/docs/upctl.schema.json",
    "sourceSha256": "088bc5ec673c718f8e2cd3632d2ba5f8423c17b9b770f8ae0a1a605d56572bb9",
    "fileMatch": [
      "**/upctl.yaml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "Authentication token\n<https://upcloudltd.github.io/upcloud-cli/#configure-credentials>"
    },
    "username": {
      "type": "string",
      "description": "Authentication username\n<https://upcloudltd.github.io/upcloud-cli/#configure-credentials>"
    },
    "password": {
      "type": "string",
      "description": "Authentication password\n<https://upcloudltd.github.io/upcloud-cli/#configure-credentials>"
    },
    "client-timeout": {
      "type": "string",
      "description": "Client timeout duration\n<https://pkg.go.dev/time#ParseDuration>",
      "pattern": "^([0-9]+(h|m|[muµn]?s)?)+$"
    },
    "output": {
      "type": "string",
      "description": "Output format",
      "enum": [
        "human",
        "yaml",
        "json"
      ],
      "default": "human"
    }
  },
  "additionalProperties": false
}
