For a private repository, written in the requester's repo inside the repository's space.
tid
Timestamp-based ID
Properties
attachments
array
of
union
Optional
What it carries beside its body: the pictures the body shows. Kinds unknown to a reader are passed over, and kept by a client changing it.
maxLength: 32 itemsbase
string
Required
The branch to merge into, without refs/heads/.
maxLength: 255 bytesbody
string
Optional
Markdown.
maxLength: 20000 bytescreatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
draft
boolean
Optional
Whether it is a draft: not ready to merge or queue. Its author clears it when it is ready. Not a draft, when absent.
facets
array
of
ref
dev.knotless.defs#facet
Optional
The accounts its body mentions, by where: written as it is, from each `@handle` outside code and links.
maxLength: 50 itemshead
ref
#head
Required
No description available.
repo
ref
dev.knotless.defs#repoRef
Required
The target repository.
reviewers
array
of
ref
#reviewer
Optional
The accounts its author asks to review it. A maintainer asking someone else would need a record of their own, which this is not.
maxLength: 32 itemstitle
string
Required
No description available.
maxLength: 3000 bytesmaxGraphemes: 300 graphemestitleFacets
array
of
ref
dev.knotless.defs#facet
Optional
The accounts its title mentions, by where.
maxLength: 50 itemsupdatedAt
string
datetime
Optional
When its author last changed its title or body.
View raw schema
{
"description": "For a private repository, written in the requester's repo inside the repository's space.",
"key": "tid",
"record": {
"properties": {
"attachments": {
"description": "What it carries beside its body: the pictures the body shows. Kinds unknown to a reader are passed over, and kept by a client changing it.",
"items": {
"refs": [
"dev.knotless.defs#image"
],
"type": "union"
},
"maxLength": 32,
"type": "array"
},
"base": {
"description": "The branch to merge into, without refs/heads/.",
"maxLength": 255,
"type": "string"
},
"body": {
"description": "Markdown.",
"maxLength": 20000,
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"draft": {
"description": "Whether it is a draft: not ready to merge or queue. Its author clears it when it is ready. Not a draft, when absent.",
"type": "boolean"
},
"facets": {
"description": "The accounts its body mentions, by where: written as it is, from each `@handle` outside code and links.",
"items": {
"ref": "dev.knotless.defs#facet",
"type": "ref"
},
"maxLength": 50,
"type": "array"
},
"head": {
"ref": "#head",
"type": "ref"
},
"repo": {
"description": "The target repository.",
"ref": "dev.knotless.defs#repoRef",
"type": "ref"
},
"reviewers": {
"description": "The accounts its author asks to review it. A maintainer asking someone else would need a record of their own, which this is not.",
"items": {
"ref": "#reviewer",
"type": "ref"
},
"maxLength": 32,
"type": "array"
},
"title": {
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"titleFacets": {
"description": "The accounts its title mentions, by where.",
"items": {
"ref": "dev.knotless.defs#facet",
"type": "ref"
},
"maxLength": 50,
"type": "array"
},
"updatedAt": {
"description": "When its author last changed its title or body.",
"format": "datetime",
"type": "string"
}
},
"required": [
"repo",
"base",
"head",
"title",
"createdAt"
],
"type": "object"
},
"type": "record"
}