74 lines
1.7 KiB
JSON
Generated
74 lines
1.7 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"ThreadSection": {
|
|
"description": "An independently persisted, user-visible thread section.",
|
|
"properties": {
|
|
"appearance": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/ThreadSectionAppearance"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional appearance synchronized across clients."
|
|
},
|
|
"id": {
|
|
"description": "Opaque UUIDv7 identity that remains stable when the section is renamed.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The current user-visible section name.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ThreadSectionAppearance": {
|
|
"description": "Extensible visual presentation for a custom thread section.",
|
|
"properties": {
|
|
"color": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"icon": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"description": "One page of independently persisted thread sections.",
|
|
"properties": {
|
|
"data": {
|
|
"items": {
|
|
"$ref": "#/definitions/ThreadSection"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"nextCursor": {
|
|
"description": "Opaque cursor for the next page, or `null` when no sections remain.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"data"
|
|
],
|
|
"title": "ThreadSectionListResponse",
|
|
"type": "object"
|
|
} |