{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github/json-schema/github-code-scanning-default-setup-options-schema.json",
  "title": "code-scanning-default-setup-options",
  "description": "Feature options for code scanning default setup",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-code-security-api-openapi.yml#/components/schemas/code-scanning-default-setup-options",
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "runner_type": {
      "type": "string",
      "enum": [
        "standard",
        "labeled",
        "not_set"
      ],
      "description": "Whether to use labeled runners or standard GitHub runners."
    },
    "runner_label": {
      "type": [
        "string",
        "null"
      ],
      "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'."
    }
  }
}