1
0
Fork 0
golang-forgejo-f3-gof3/f3/schemas/releaseasset.json
Daniel Baumann 03bfe4079e
Adding upstream version 3.10.8.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-18 09:37:23 +02:00

61 lines
1.5 KiB
JSON

{
"title": "Release asset",
"description": "A file associated with a release. The content of the file is opaque.",
"type": "object",
"additionalProperties": false,
"properties": {
"index": {
"description": "Unique identifier of the release asset.",
"type": "string"
},
"name": {
"description": "The name of the release asset.",
"type": "string"
},
"content_type": {
"description": "The content type of the release asset (application/zip, etc.).",
"type": "string"
},
"size": {
"description": "Size in bytes of the release asset.",
"type": "number"
},
"download_count": {
"description": "The number of times the release asset was downloaded.",
"type": "number"
},
"download_url": {
"description": "The URL from which the release asset can be downloaded.",
"type": "string"
},
"created": {
"description": "Creation time.",
"type": "string",
"format": "date-time"
},
"updated": {
"description": "Last update time.",
"type": "string",
"format": "date-time"
},
"sha256": {
"description": "SHA256 of the cnotent of the asset.",
"type": "string"
}
},
"required": [
"index",
"name",
"content_type",
"size",
"download_count",
"created",
"updated",
"sha256"
],
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://code.forgejo.org/f3/f3-schemas/src/branch/main/releaseasset.json",
"$$target": "releaseasset.json"
}