{
"id": "io.agent.release",
"defs": {
"main": {
"key": "string",
"type": "record",
"record": {
"type": "object",
"required": [
"name",
"version",
"createdAt"
],
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"description": "The name or identifier of the software."
},
"notes": {
"type": "string",
"format": "markdown",
"maxLength": 3000,
"description": "Release notes."
},
"assets": {
"type": "array",
"items": {
"ref": "#asset",
"type": "ref"
},
"description": "List of download links associated with this release."
},
"details": {
"type": "string",
"format": "uri",
"description": "A link to a human-readable page with more details about the release."
},
"version": {
"type": "string",
"maxLength": 50,
"description": "The semantic version string, e.g., 1.2.0-beta.1"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Date and time the release was published."
},
"dependencies": {
"type": "array",
"items": {
"ref": "#dependency",
"type": "ref"
},
"description": "The software dependencies of this release."
}
}
},
"description": "A record representing a software release."
},
"asset": {
"type": "object",
"required": [
"name",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Direct download link."
},
"name": {
"type": "string",
"description": "Name of the asset.",
"knownValues": [
"linux_amd64",
"linux_arm64",
"darwin_arm64"
]
},
"sha256": {
"type": "string",
"description": "SHA-256 checksum."
}
},
"description": "A link to a downloadable asset associated with a release."
},
"dependency": {
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the dependency"
},
"version": {
"type": "string",
"description": "The version of the dependency"
}
},
"description": "A software dependency of the release"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}