Now let's take a silly one
1{
2 "lexicon": 1,
3 "id": "sh.tangled.knot.version",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get the version of a knot",
8 "output": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "version"
14 ],
15 "properties": {
16 "version": {
17 "type": "string"
18 },
19 "capabilities": {
20 "type": "array",
21 "items": {
22 "type": "string"
23 },
24 "description": "Protocol capability tokens this knot implements, such as knot-acl. Knots that omit this field are treated as legacy."
25 }
26 }
27 }
28 },
29 "errors": []
30 }
31 }
32}