1{
2 "lexicon": 1,
3 "id": "sh.tangled.owner",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get the owner of a service",
8 "output": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "owner"
14 ],
15 "properties": {
16 "owner": {
17 "type": "string",
18 "format": "did"
19 }
20 }
21 }
22 },
23 "errors": [
24 {
25 "name": "OwnerNotFound",
26 "description": "Owner is not set for this service"
27 }
28 ]
29 }
30 }
31}