Forgejo · Schema

Email

Email an email address belonging to a user

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
email string
primary boolean
user_id integer
username string
verified boolean
View JSON Schema on GitHub

JSON Schema

email.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Email",
  "description": "Email an email address belonging to a user",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "x-go-name": "Email"
    },
    "primary": {
      "type": "boolean",
      "x-go-name": "Primary"
    },
    "user_id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "UserID"
    },
    "username": {
      "type": "string",
      "x-go-name": "UserName"
    },
    "verified": {
      "type": "boolean",
      "x-go-name": "Verified"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}