Forgejo · Schema

GPGKey

GPGKey a user GPG key to sign commit and tag in repository

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
can_certify boolean
can_encrypt_comms boolean
can_encrypt_storage boolean
can_sign boolean
created_at string
emails array
expires_at string
id integer
key_id string
primary_key_id string
public_key string
subkeys array
verified boolean
View JSON Schema on GitHub

JSON Schema

gpgkey.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "GPGKey",
  "description": "GPGKey a user GPG key to sign commit and tag in repository",
  "type": "object",
  "properties": {
    "can_certify": {
      "type": "boolean",
      "x-go-name": "CanCertify"
    },
    "can_encrypt_comms": {
      "type": "boolean",
      "x-go-name": "CanEncryptComms"
    },
    "can_encrypt_storage": {
      "type": "boolean",
      "x-go-name": "CanEncryptStorage"
    },
    "can_sign": {
      "type": "boolean",
      "x-go-name": "CanSign"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Created"
    },
    "emails": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/GPGKeyEmail"
      },
      "x-go-name": "Emails"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Expires"
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "ID"
    },
    "key_id": {
      "type": "string",
      "x-go-name": "KeyID"
    },
    "primary_key_id": {
      "type": "string",
      "x-go-name": "PrimaryKeyID"
    },
    "public_key": {
      "type": "string",
      "x-go-name": "PublicKey"
    },
    "subkeys": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/GPGKey"
      },
      "x-go-name": "SubsKey"
    },
    "verified": {
      "type": "boolean",
      "x-go-name": "Verified"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}