{
  "type": "object",
  "required": [
    "name",
    "runner_group_id",
    "labels"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the new runner."
    },
    "runner_group_id": {
      "type": "integer",
      "description": "The ID of the runner group to register the runner to."
    },
    "labels": {
      "type": "array",
      "minItems": 1,
      "maxItems": 100,
      "items": {
        "type": "string"
      },
      "description": "The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100."
    },
    "work_folder": {
      "type": "string",
      "description": "The working directory to be used for job execution, relative to the runner install directory.",
      "default": "_work"
    }
  },
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}