-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.schema.json
84 lines (84 loc) · 2.92 KB
/
config.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"pluginAlias": "Smartglass",
"pluginType": "platform",
"singular": true,
"footerDisplay": "For documentation please see [GitHub repository](https://github.com/unknownskl/homebridge-smartglass)",
"schema": {
"type": "object",
"properties": {
"devices": {
"title": "Xbox Consoles",
"description": "Configure one or more consoles.",
"type": "array",
"items": {
"title": "Xbox",
"description": "Fill in your details of the xbox console.",
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true
},
"ipaddress": {
"title": "IP Address",
"type": "string",
"required": true,
"format": "ipv4",
"placeholder": "192.168.1.55"
},
"liveid": {
"title": "Console Live ID",
"type": "string",
"required": true,
"pattern": "^F[A-Fa-f0-9]{15}$",
"description": "Your Console Live ID can be found in the settings.",
"placeholder": "F000000000000000"
},
"inputs": {
"title": "Source inputs",
"type": "array",
"items": {
"title": "Input",
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true
},
"aum_id": {
"title": "Aum title ID",
"type": "string",
"required": true,
"description": "Required to detect which application or game is currently running."
},
"title_id": {
"title": "Title ID",
"type": "string",
"description": "The title id makes it possible to switch the app on the xbox console."
}
}
}
}
}
}
},
"apiToken": {
"title": "Xbox API Token",
"type": "string",
"description": "You can authenticate with the Xbox Api to enable extra features such as switching apps. Check the console for more information."
},
"clientId": {
"title": "Azure AD clientID",
"type": "string",
"description": "Provide an Azure AD clientId to use your own tenant for authentication. Leave blank for a default public one. (Homebridge-Smartglass)"
},
"clientSecret": {
"title": "Azure AD clientSecret",
"type": "string",
"description": "Provide an Azure AD clientSecret related to the clientId to use your own tenant for authentication. Depends on app configuration if needed."
}
}
}
}