f3-schemas/release.json
Earl Warren dec85f8709
release: remove published field
there is no difference with creation time
2024-05-11 12:35:48 +02:00

84 lines
2 KiB
JSON

{
"title": "Release",
"description": "A release is associated with a tag in a repository and consists 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"
},
"publisher_name": {
"description": "Name of the user who authored the release.",
"type": "string"
},
"publisher_email": {
"description": "Email of the user who authored the release.",
"type": "string"
},
"assets": {
"description": "List of assets associated with the release.",
"anyOf": [
{
"type": "array",
"items": {
"$ref": "releaseasset.json"
}
},
{
"type": "null"
}
]
},
"created": {
"description": "Creation time.",
"type": "string",
"format": "date-time"
}
},
"required": [
"index",
"tag_name",
"name",
"body",
"draft",
"prerelease",
"publisher_id",
"publisher_name",
"created"
],
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/release.json",
"$$target": "release.json"
}