{
  "$id": "adapter-git",
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "host": {
      "type": "string",
      "description": "hostname of the server",
      "default": "",
      "examples": [
        "systemx.customer.com"
      ]
    },
    "port": {
      "type": "integer",
      "description": "port on which to connect to the server",
      "default": 443,
      "minimum": 1,
      "maximum": 65535
    },
    "authentication": {
      "$ref": "#/definitions/authentication"
    }
  },
  "required": [
    "authentication"
  ],
  "definitions": {
    "authentication": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string",
          "description": "The username used for requests",
          "default": "",
          "examples": [
            "username"
          ]
        },
        "password": {
          "type": "string",
          "description": "The password or personal access token",
          "default": "",
          "examples": [
            "password",
            "{code}password",
            "{crypt}password"
          ]
        }
      }
    }
  }
}
