Forgejo · Schema

PackageFile

PackageFile represents a package file

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
Size integer
id integer
md5 string
name string
sha1 string
sha256 string
sha512 string
View JSON Schema on GitHub

JSON Schema

packagefile.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "PackageFile",
  "description": "PackageFile represents a package file",
  "type": "object",
  "properties": {
    "Size": {
      "type": "integer",
      "format": "int64"
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "ID"
    },
    "md5": {
      "type": "string",
      "x-go-name": "HashMD5"
    },
    "name": {
      "type": "string",
      "x-go-name": "Name"
    },
    "sha1": {
      "type": "string",
      "x-go-name": "HashSHA1"
    },
    "sha256": {
      "type": "string",
      "x-go-name": "HashSHA256"
    },
    "sha512": {
      "type": "string",
      "x-go-name": "HashSHA512"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}