-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathmanifest-schema.json
123 lines (105 loc) · 2.54 KB
/
manifest-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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://jasoncheatham.com/hass-integration.json",
"additionalProperties": true,
"properties": {
"domain": {
"type": "string",
"description": "A short unique name for the integration consisting of characters and underscores."
},
"name": {
"description": "The extension's display name",
"type": "string"
},
"version": {
"description": "A version for the integration; it must follow a standard versioning scheme.",
"type": "string"
},
"after_dependencies": {
"description": "Other Home Assistant integrations that may be used by this integration, but aren't reuqired",
"type": "array",
"items": {
"type": "string"
}
},
"codeowners": {
"description": "IDs (e.g., GitHub handles) of the code owners",
"type": "array",
"items": {
"type": "string"
}
},
"dependencies": {
"description": "Other Home Assistant integrations that should be setup before this integration is loaded",
"type": "array",
"items": {
"type": "string"
}
},
"documentation": {
"type": "string",
"description": "A URL pointing to the integration's documentation."
},
"integration_type": {
"type": "string",
"enum": [
"device",
"entity",
"hardware",
"helper",
"hub",
"service",
"system",
"virtual"
],
"description": "What the integration provides to Home Assistant."
},
"iot_class": {
"type": "string",
"enum": [
"assumed_state",
"cloud_polling",
"cloud_push",
"local_polling",
"local_push",
"calculated"
],
"description": "How an integration connects with a device or service."
},
"issue_tracker": {
"type": "string",
"description": "A URL where issues can be filed and viewed."
},
"loggers": {
"description": "A list of names that the integration uses for getLogger calls",
"type": "array",
"items": {
"type": "string"
}
},
"requirements": {
"description": "Python libraries that must be available for this integration.",
"type": "array",
"items": {
"type": "string"
}
},
"quality_scale": {
"type": "string",
"enum": ["silver", "gold", "platinum", "internal"],
"description": "A score rating the code quality and user experience of the integration."
}
},
"required": [
"domain",
"name",
"codeowners",
"dependencies",
"documentation",
"integration_type",
"iot_class",
"requirements"
],
"title": "JSON schema for Home Assistant integration manifest files",
"type": "object"
}