Forgejo · Schema

EditUserOption

EditUserOption edit user options

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
active boolean
admin boolean
allow_create_organization boolean
allow_git_hook boolean
allow_import_local boolean
description string
email string
full_name string
hide_email boolean
location string
login_name string
max_repo_creation integer
must_change_password boolean
password string
prohibit_login boolean
pronouns string
restricted boolean
source_id integer
visibility string
website string
View JSON Schema on GitHub

JSON Schema

edituseroption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "EditUserOption",
  "description": "EditUserOption edit user options",
  "type": "object",
  "properties": {
    "active": {
      "type": "boolean",
      "x-go-name": "Active"
    },
    "admin": {
      "type": "boolean",
      "x-go-name": "Admin"
    },
    "allow_create_organization": {
      "type": "boolean",
      "x-go-name": "AllowCreateOrganization"
    },
    "allow_git_hook": {
      "type": "boolean",
      "x-go-name": "AllowGitHook"
    },
    "allow_import_local": {
      "type": "boolean",
      "x-go-name": "AllowImportLocal"
    },
    "description": {
      "type": "string",
      "x-go-name": "Description"
    },
    "email": {
      "type": "string",
      "format": "email",
      "x-go-name": "Email"
    },
    "full_name": {
      "type": "string",
      "x-go-name": "FullName"
    },
    "hide_email": {
      "type": "boolean",
      "x-go-name": "HideEmail"
    },
    "location": {
      "type": "string",
      "x-go-name": "Location"
    },
    "login_name": {
      "type": "string",
      "x-go-name": "LoginName"
    },
    "max_repo_creation": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "MaxRepoCreation"
    },
    "must_change_password": {
      "type": "boolean",
      "x-go-name": "MustChangePassword"
    },
    "password": {
      "type": "string",
      "x-go-name": "Password"
    },
    "prohibit_login": {
      "type": "boolean",
      "x-go-name": "ProhibitLogin"
    },
    "pronouns": {
      "type": "string",
      "x-go-name": "Pronouns"
    },
    "restricted": {
      "type": "boolean",
      "x-go-name": "Restricted"
    },
    "source_id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "SourceID"
    },
    "visibility": {
      "type": "string",
      "x-go-name": "Visibility"
    },
    "website": {
      "type": "string",
      "x-go-name": "Website"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}