check / check (push) Waiting to run
Each file in schema/ now describes what the HTTP API on next sends and accepts. A numeric reply has its name in command and its number in code. body is always an array of strings. MODE, KICK and JOIN carry their values in body, and TOPIC needs a non-empty body. PING takes no token, and its PONG is the HTTP response. A channel name is limited to 63 characters, and the leading # is optional from a client. PUBKEY.json is deleted, since the server has no such command. The section of schema/README.md that listed the differences is removed, and the sentences it made false are corrected. Model: opus-5-5
64 lines
1.3 KiB
JSON
64 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://sneak.berlin/go/neoirc/schema/numerics/366.json",
|
|
"title": "366 RPL_ENDOFNAMES",
|
|
"description": "The end of a channel's member list. It comes after the RPL_NAMREPLY for the channel. RFC 1459 §6.2.",
|
|
"$ref": "../message.json",
|
|
"properties": {
|
|
"command": {
|
|
"const": "RPL_ENDOFNAMES"
|
|
},
|
|
"code": {
|
|
"const": 366
|
|
},
|
|
"from": {
|
|
"type": "string",
|
|
"description": "The server name."
|
|
},
|
|
"to": {
|
|
"type": "string",
|
|
"description": "The user's nick."
|
|
},
|
|
"params": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The channel name.",
|
|
"minItems": 1,
|
|
"maxItems": 1
|
|
},
|
|
"body": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "One string: 'End of /NAMES list'.",
|
|
"minItems": 1,
|
|
"maxItems": 1
|
|
}
|
|
},
|
|
"required": [
|
|
"command",
|
|
"code",
|
|
"from",
|
|
"to",
|
|
"params",
|
|
"body"
|
|
],
|
|
"examples": [
|
|
{
|
|
"command": "RPL_ENDOFNAMES",
|
|
"code": 366,
|
|
"from": "neoirc",
|
|
"to": "alice",
|
|
"params": [
|
|
"#general"
|
|
],
|
|
"body": [
|
|
"End of /NAMES list"
|
|
]
|
|
}
|
|
]
|
|
}
|