Forgejo · Schema

QuotaRuleInfo

QuotaRuleInfo contains information about a quota rule

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
limit integer The limit set by the rule
name string Name of the rule (only shown to admins)
subjects array Subjects the rule affects
View JSON Schema on GitHub

JSON Schema

quotaruleinfo.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "QuotaRuleInfo",
  "description": "QuotaRuleInfo contains information about a quota rule",
  "type": "object",
  "properties": {
    "limit": {
      "description": "The limit set by the rule",
      "type": "integer",
      "format": "int64",
      "x-go-name": "Limit"
    },
    "name": {
      "description": "Name of the rule (only shown to admins)",
      "type": "string",
      "x-go-name": "Name"
    },
    "subjects": {
      "description": "Subjects the rule affects",
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "Subjects"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}