{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "GitRequestWithUsernamePassword",
  "type": "object",
  "required": [
    "repository",
    "username",
    "password"
  ],
  "properties": {
    "repository": {
      "type": "string",
      "description": "Git repository URL (must be HTTP(S) format for username/password authentication)"
    },
    "branch": {
      "type": "string",
      "nullable": true,
      "description": "Optional branch name (default is main for entrypoints)"
    },
    "username": {
      "type": "string",
      "description": "HTTP basic auth username. Required together with password."
    },
    "password": {
      "type": "string",
      "writeOnly": true,
      "description": "HTTP basic auth password. Required together with username.\nMutually exclusive with sshKey.\n"
    }
  },
  "description": "Git request using username/password authentication."
}