Forgejo · Schema

CreateLabelOption

CreateLabelOption options for creating a label

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
color string
description string
exclusive boolean
is_archived boolean
name string
View JSON Schema on GitHub

JSON Schema

createlabeloption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateLabelOption",
  "description": "CreateLabelOption options for creating a label",
  "type": "object",
  "required": [
    "name",
    "color"
  ],
  "properties": {
    "color": {
      "type": "string",
      "x-go-name": "Color",
      "example": "#00aabb"
    },
    "description": {
      "type": "string",
      "x-go-name": "Description"
    },
    "exclusive": {
      "type": "boolean",
      "x-go-name": "Exclusive",
      "example": false
    },
    "is_archived": {
      "type": "boolean",
      "x-go-name": "IsArchived",
      "example": false
    },
    "name": {
      "type": "string",
      "x-go-name": "Name"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}