61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
|
{
|
||
|
"title": "Release",
|
||
|
"description": "A release is associated with a tag in a repository and contains of a set of files (release assets).",
|
||
|
|
||
|
"type": "object",
|
||
|
"additionalProperties": false,
|
||
|
"properties": {
|
||
|
"index": {
|
||
|
"description": "Unique identifier of the release.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"tag_name": {
|
||
|
"description": "Tag name of the release.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"target_commitish": {
|
||
|
"description": "Specifies the commitish value that determines where the tag is created from. Can be any branch or commit SHA. Unused if the tag already exists.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "The name of the release.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"body": {
|
||
|
"description": "Text describing the contents of the release, usually the release notes.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"draft": {
|
||
|
"description": "True if the release is a draft.",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"prerelease": {
|
||
|
"description": "True if the release is a pre-release.",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"publisher_id": {
|
||
|
"description": "Unique identifier of the user who authored the release.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"created": {
|
||
|
"description": "Creation time.",
|
||
|
"type": "string",
|
||
|
"format": "date-time"
|
||
|
}
|
||
|
},
|
||
|
"required": [
|
||
|
"index",
|
||
|
"tag_name",
|
||
|
"name",
|
||
|
"body",
|
||
|
"draft",
|
||
|
"prerelease",
|
||
|
"publisher_id",
|
||
|
"created"
|
||
|
],
|
||
|
|
||
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||
|
"$id": "https://code.forgejo.org/f3/f3-schemas/src/branch/main/release.json",
|
||
|
"$$target": "release.json"
|
||
|
}
|