{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the variable."
    },
    "value": {
      "type": "string",
      "description": "The value of the variable."
    },
    "visibility": {
      "type": "string",
      "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.",
      "enum": [
        "all",
        "private",
        "selected"
      ]
    },
    "selected_repository_ids": {
      "type": "array",
      "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.",
      "items": {
        "type": "integer"
      }
    }
  },
  "required": [
    "name",
    "value",
    "visibility"
  ],
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}