{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "GenerateRepoOption",
  "description": "GenerateRepoOption options when creating repository using a template",
  "type": "object",
  "required": [
    "owner",
    "name"
  ],
  "properties": {
    "avatar": {
      "description": "include avatar of the template repo",
      "type": "boolean",
      "x-go-name": "Avatar"
    },
    "default_branch": {
      "description": "Default branch of the new repository",
      "type": "string",
      "x-go-name": "DefaultBranch"
    },
    "description": {
      "description": "Description of the repository to create",
      "type": "string",
      "x-go-name": "Description"
    },
    "git_content": {
      "description": "include git content of default branch in template repo",
      "type": "boolean",
      "x-go-name": "GitContent"
    },
    "git_hooks": {
      "description": "include git hooks in template repo",
      "type": "boolean",
      "x-go-name": "GitHooks"
    },
    "labels": {
      "description": "include labels in template repo",
      "type": "boolean",
      "x-go-name": "Labels"
    },
    "name": {
      "description": "Name of the repository to create",
      "type": "string",
      "uniqueItems": true,
      "x-go-name": "Name"
    },
    "owner": {
      "description": "The organization or person who will own the new repository",
      "type": "string",
      "x-go-name": "Owner"
    },
    "private": {
      "description": "Whether the repository is private",
      "type": "boolean",
      "x-go-name": "Private"
    },
    "protected_branch": {
      "description": "include protected branches in template repo",
      "type": "boolean",
      "x-go-name": "ProtectedBranch"
    },
    "topics": {
      "description": "include topics in template repo",
      "type": "boolean",
      "x-go-name": "Topics"
    },
    "webhooks": {
      "description": "include webhooks in template repo",
      "type": "boolean",
      "x-go-name": "Webhooks"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}