@alwaysai/device-agent-schemas 2.1.12 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +1 -21
- package/docs/README.md +47 -21
- package/docs/app-install-response-schema-properties-appinstallresponse-properties-appinstallpayload-properties-appsignedurl.md +15 -0
- package/docs/app-install-response-schema-properties-appinstallresponse-properties-appinstallpayload.md +39 -0
- package/docs/app-install-response-schema-properties-appinstallresponse-properties-appreleasehash.md +25 -0
- package/docs/app-install-response-schema-properties-appinstallresponse-properties-models_install_payload.md +15 -0
- package/docs/app-install-response-schema-properties-appinstallresponse-properties-projectid.md +25 -0
- package/docs/app-install-response-schema-properties-appinstallresponse.md +116 -0
- package/docs/app-install-response-schema.md +39 -0
- package/docs/app-install-schema-properties-projectid.md +2 -2
- package/docs/app-install-schema.md +2 -2
- package/docs/app-logs-schema-properties-logchunk.md +15 -0
- package/docs/app-logs-schema-properties-projectid.md +25 -0
- package/docs/app-logs-schema.md +23 -21
- package/docs/app-state-control-schema-properties-basecommand.md +25 -0
- package/docs/app-state-control-schema-properties-projectid.md +25 -0
- package/docs/app-state-control-schema.md +34 -22
- package/docs/app-state-schema-properties-appstate-items-properties-appdetails-properties-projectid.md +2 -2
- package/docs/app-state-schema-properties-appstate-items-properties-appdetails.md +2 -2
- package/docs/app-state-schema.md +3 -30
- package/docs/app-uninstall-schema-properties-projectid.md +2 -2
- package/docs/app-uninstall-schema.md +2 -2
- package/docs/app-version-control-schema.md +5 -56
- package/docs/common-schema-defs-appreleasehash.md +5 -5
- package/docs/common-schema-defs-projectid.md +7 -7
- package/docs/common-schema-defs-txid.md +29 -0
- package/docs/common-schema.md +11 -0
- package/docs/device-action-schema-properties-action.md +23 -0
- package/docs/device-action-schema.md +47 -0
- package/docs/device-stats-schema-properties-cpudetails-properties-temperature.md +15 -0
- package/docs/device-stats-schema-properties-cpudetails-properties-usedperc.md +15 -0
- package/docs/device-stats-schema-properties-cpudetails.md +58 -0
- package/docs/device-stats-schema-properties-cpuusage.md +15 -0
- package/docs/device-stats-schema-properties-diskdetails-properties-freegb.md +15 -0
- package/docs/device-stats-schema-properties-diskdetails-properties-usedgb.md +15 -0
- package/docs/device-stats-schema-properties-diskdetails.md +58 -0
- package/docs/device-stats-schema-properties-diskutil.md +15 -0
- package/docs/device-stats-schema-properties-memdetails-properties-freemb.md +15 -0
- package/docs/device-stats-schema-properties-memdetails-properties-usedmb.md +15 -0
- package/docs/device-stats-schema-properties-memdetails.md +58 -0
- package/docs/device-stats-schema-properties-usedmemorypercentage.md +15 -0
- package/docs/device-stats-schema.md +134 -0
- package/docs/live-updates-toggle-schema-properties-applogs-properties-toggle.md +15 -0
- package/docs/live-updates-toggle-schema-properties-applogs.md +68 -0
- package/docs/live-updates-toggle-schema-properties-appstate.md +15 -0
- package/docs/live-updates-toggle-schema-properties-devicestats.md +15 -0
- package/docs/live-updates-toggle-schema.md +34 -23
- package/docs/models-install-response-schema-properties-modelsinstallresponse.md +68 -0
- package/docs/models-install-response-schema.md +39 -0
- package/docs/shadow-project-update-schema-properties-appconfig.md +15 -0
- package/docs/shadow-project-update-schema-properties-envvars-patternproperties--patternproperties-.md +15 -0
- package/docs/shadow-project-update-schema-properties-envvars-patternproperties--patternproperties.md +15 -0
- package/docs/shadow-project-update-schema-properties-envvars-patternproperties-.md +39 -0
- package/docs/shadow-project-update-schema-properties-envvars-patternproperties.md +15 -0
- package/docs/shadow-project-update-schema-properties-envvars.md +44 -0
- package/docs/shadow-project-update-schema.md +63 -0
- package/docs/shadow-projects-update-all-schema-patternproperties.md +15 -0
- package/docs/shadow-projects-update-all-schema-propertynames.md +25 -0
- package/docs/shadow-projects-update-all-schema.md +44 -0
- package/docs/signed-urls-request-schema-properties-modelsonlyurlsrequest.md +7 -7
- package/docs/signed-urls-request-schema-properties-signedurlsrequest.md +8 -8
- package/docs/signed-urls-request-schema.md +4 -31
- package/docs/status-response-schema-properties-message.md +15 -0
- package/docs/status-response-schema-properties-status.md +27 -0
- package/docs/status-response-schema.md +70 -0
- package/docs/system-information-schema-properties-cpu-properties-brand.md +15 -0
- package/docs/system-information-schema-properties-cpu-properties-cores.md +15 -0
- package/docs/system-information-schema-properties-cpu-properties-efficiencycores.md +15 -0
- package/docs/system-information-schema-properties-cpu-properties-manufacturer.md +15 -0
- package/docs/system-information-schema-properties-cpu-properties-model.md +15 -0
- package/docs/system-information-schema-properties-cpu-properties-physicalcores.md +15 -0
- package/docs/system-information-schema-properties-cpu-properties-processors.md +15 -0
- package/docs/system-information-schema-properties-cpu-properties-vendor.md +15 -0
- package/docs/system-information-schema-properties-cpu.md +172 -0
- package/docs/system-information-schema-properties-device-properties-manufacturer.md +15 -0
- package/docs/system-information-schema-properties-device-properties-model.md +15 -0
- package/docs/system-information-schema-properties-device-properties-serial.md +15 -0
- package/docs/system-information-schema-properties-device-properties-version.md +15 -0
- package/docs/system-information-schema-properties-device-properties-virtual.md +15 -0
- package/docs/system-information-schema-properties-device.md +115 -0
- package/docs/system-information-schema-properties-disk-properties-drives-items-properties-device.md +15 -0
- package/docs/system-information-schema-properties-disk-properties-drives-items-properties-name.md +15 -0
- package/docs/system-information-schema-properties-disk-properties-drives-items-properties-size.md +15 -0
- package/docs/system-information-schema-properties-disk-properties-drives-items-properties-type.md +15 -0
- package/docs/system-information-schema-properties-disk-properties-drives-items-properties-vendor.md +15 -0
- package/docs/system-information-schema-properties-disk-properties-drives-items.md +115 -0
- package/docs/system-information-schema-properties-disk-properties-drives.md +15 -0
- package/docs/system-information-schema-properties-disk.md +39 -0
- package/docs/system-information-schema-properties-network-properties-ipv4address.md +15 -0
- package/docs/system-information-schema-properties-network-properties-ipv6address.md +15 -0
- package/docs/system-information-schema-properties-network-properties-macaddress.md +15 -0
- package/docs/system-information-schema-properties-network.md +77 -0
- package/docs/system-information-schema-properties-os-properties-architecture.md +15 -0
- package/docs/system-information-schema-properties-os-properties-distro.md +15 -0
- package/docs/system-information-schema-properties-os-properties-hostname.md +15 -0
- package/docs/system-information-schema-properties-os-properties-kernel.md +15 -0
- package/docs/system-information-schema-properties-os-properties-platform.md +15 -0
- package/docs/system-information-schema-properties-os-properties-release.md +15 -0
- package/docs/system-information-schema-properties-os.md +134 -0
- package/docs/system-information-schema-properties-versions-properties-agent.md +15 -0
- package/docs/system-information-schema-properties-versions-properties-deviceagentschemas.md +15 -0
- package/docs/system-information-schema-properties-versions.md +58 -0
- package/docs/system-information-schema.md +134 -0
- package/docs/to-client-message-schema-allof-0-if-properties-messagetype.md +23 -0
- package/docs/to-client-message-schema-allof-0-if-properties.md +15 -0
- package/docs/to-client-message-schema-allof-0-if.md +47 -0
- package/docs/to-client-message-schema-allof-0-then-properties.md +15 -0
- package/docs/to-client-message-schema-allof-0-then.md +39 -0
- package/docs/to-client-message-schema-allof-0.md +15 -0
- package/docs/to-client-message-schema-allof-1-if-properties-messagetype.md +23 -0
- package/docs/to-client-message-schema-allof-1-if-properties.md +15 -0
- package/docs/to-client-message-schema-allof-1-if.md +47 -0
- package/docs/to-client-message-schema-allof-1-then-properties.md +15 -0
- package/docs/to-client-message-schema-allof-1-then.md +39 -0
- package/docs/to-client-message-schema-allof-1.md +15 -0
- package/docs/to-client-message-schema-allof-2-if-properties-messagetype.md +23 -0
- package/docs/to-client-message-schema-allof-2-if-properties.md +15 -0
- package/docs/to-client-message-schema-allof-2-if.md +47 -0
- package/docs/to-client-message-schema-allof-2-then-properties.md +15 -0
- package/docs/to-client-message-schema-allof-2-then.md +39 -0
- package/docs/to-client-message-schema-allof-2.md +15 -0
- package/docs/to-client-message-schema-allof-3-if-properties-messagetype.md +23 -0
- package/docs/to-client-message-schema-allof-3-if-properties.md +15 -0
- package/docs/to-client-message-schema-allof-3-if.md +47 -0
- package/docs/to-client-message-schema-allof-3-then-properties.md +15 -0
- package/docs/to-client-message-schema-allof-3-then.md +39 -0
- package/docs/to-client-message-schema-allof-3.md +15 -0
- package/docs/to-client-message-schema-defs-toclient.md +25 -0
- package/docs/to-client-message-schema-defs.md +15 -0
- package/docs/to-client-message-schema-properties-deviceid.md +15 -0
- package/docs/to-client-message-schema-properties-messagetype.md +26 -0
- package/docs/to-client-message-schema-properties-payload.md +25 -0
- package/docs/to-client-message-schema-properties-timestamp.md +15 -0
- package/docs/to-client-message-schema-properties-topic-oneof-0.md +25 -0
- package/docs/to-client-message-schema-properties-topic.md +19 -0
- package/docs/to-client-message-schema.md +196 -0
- package/docs/to-cloud-message-schema-allof-0-if-properties-messagetype.md +23 -0
- package/docs/to-cloud-message-schema-allof-0-if-properties.md +15 -0
- package/docs/to-cloud-message-schema-allof-0-if.md +47 -0
- package/docs/to-cloud-message-schema-allof-0-then-properties.md +15 -0
- package/docs/to-cloud-message-schema-allof-0-then.md +39 -0
- package/docs/to-cloud-message-schema-allof-0.md +15 -0
- package/docs/to-cloud-message-schema-defs-tocloud.md +25 -0
- package/docs/to-cloud-message-schema-defs.md +15 -0
- package/docs/to-cloud-message-schema-properties-deviceid.md +15 -0
- package/docs/to-cloud-message-schema-properties-messagetype.md +23 -0
- package/docs/to-cloud-message-schema-properties-payload.md +19 -0
- package/docs/to-cloud-message-schema-properties-timestamp.md +15 -0
- package/docs/to-cloud-message-schema-properties-topic-oneof-0.md +25 -0
- package/docs/to-cloud-message-schema-properties-topic.md +19 -0
- package/docs/to-cloud-message-schema.md +181 -0
- package/docs/to-device-agent-message-schema-allof-0-if-properties-messagetype.md +23 -0
- package/docs/to-device-agent-message-schema-allof-0-if-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-0-if.md +47 -0
- package/docs/to-device-agent-message-schema-allof-0-then-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-0-then.md +39 -0
- package/docs/to-device-agent-message-schema-allof-0.md +15 -0
- package/docs/to-device-agent-message-schema-allof-1-if-properties-messagetype.md +23 -0
- package/docs/to-device-agent-message-schema-allof-1-if-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-1-if.md +47 -0
- package/docs/to-device-agent-message-schema-allof-1-then-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-1-then.md +45 -0
- package/docs/to-device-agent-message-schema-allof-1.md +15 -0
- package/docs/to-device-agent-message-schema-allof-2-if-properties-messagetype.md +23 -0
- package/docs/to-device-agent-message-schema-allof-2-if-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-2-if.md +47 -0
- package/docs/to-device-agent-message-schema-allof-2-then-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-2-then.md +39 -0
- package/docs/to-device-agent-message-schema-allof-2.md +15 -0
- package/docs/to-device-agent-message-schema-allof-3-if-properties-messagetype.md +23 -0
- package/docs/to-device-agent-message-schema-allof-3-if-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-3-if.md +47 -0
- package/docs/to-device-agent-message-schema-allof-3-then-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-3-then.md +39 -0
- package/docs/to-device-agent-message-schema-allof-3.md +15 -0
- package/docs/to-device-agent-message-schema-allof-4-if-properties-messagetype.md +23 -0
- package/docs/to-device-agent-message-schema-allof-4-if-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-4-if.md +47 -0
- package/docs/to-device-agent-message-schema-allof-4-then-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-4-then.md +39 -0
- package/docs/to-device-agent-message-schema-allof-4.md +15 -0
- package/docs/to-device-agent-message-schema-allof-5-if-properties-messagetype.md +23 -0
- package/docs/to-device-agent-message-schema-allof-5-if-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-5-if.md +47 -0
- package/docs/to-device-agent-message-schema-allof-5-then-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-5-then.md +39 -0
- package/docs/to-device-agent-message-schema-allof-5.md +15 -0
- package/docs/to-device-agent-message-schema-allof-6-if-properties-messagetype.md +23 -0
- package/docs/to-device-agent-message-schema-allof-6-if-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-6-if.md +47 -0
- package/docs/to-device-agent-message-schema-allof-6-then-properties.md +15 -0
- package/docs/to-device-agent-message-schema-allof-6-then.md +39 -0
- package/docs/to-device-agent-message-schema-allof-6.md +15 -0
- package/docs/to-device-agent-message-schema-defs-todevice.md +25 -0
- package/docs/to-device-agent-message-schema-defs.md +15 -0
- package/docs/to-device-agent-message-schema-properties-messagetype.md +29 -0
- package/docs/to-device-agent-message-schema-properties-payload.md +35 -0
- package/docs/to-device-agent-message-schema-properties-timestamp.md +15 -0
- package/docs/to-device-agent-message-schema-properties-topic.md +25 -0
- package/docs/to-device-agent-message-schema.md +202 -0
- package/lib/constants.d.ts.map +1 -1
- package/lib/constants.js +10 -10
- package/lib/constants.js.map +1 -1
- package/lib/constants.test.js.map +1 -1
- package/lib/device-agent-action-schema.d.ts.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +11 -1
- package/lib/index.js.map +1 -1
- package/lib/message-builders.d.ts +11 -11
- package/lib/message-builders.d.ts.map +1 -1
- package/lib/message-builders.js +3 -4
- package/lib/message-builders.js.map +1 -1
- package/lib/schemas/shadow-project-update-schema.json +30 -0
- package/lib/schemas/shadow-projects-update-all-schema.json +17 -0
- package/lib/shadow-schema.d.ts +104 -0
- package/lib/shadow-schema.d.ts.map +1 -0
- package/lib/shadow-schema.js +75 -0
- package/lib/shadow-schema.js.map +1 -0
- package/lib/shadow-schema.test.d.ts +2 -0
- package/lib/shadow-schema.test.d.ts.map +1 -0
- package/lib/shadow-schema.test.js +148 -0
- package/lib/shadow-schema.test.js.map +1 -0
- package/lib/status-response-schema.d.ts.map +1 -1
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +1 -3
- package/lib/types.js.map +1 -1
- package/lib/types.test.js +92 -92
- package/lib/types.test.js.map +1 -1
- package/package.json +2 -4
- package/src/app-action-schema.ts +1 -1
- package/src/constants.test.ts +7 -5
- package/src/constants.ts +30 -19
- package/src/device-agent-action-schema.ts +2 -1
- package/src/index.ts +38 -13
- package/src/message-builders.ts +48 -37
- package/src/schemas/shadow-project-update-schema.json +30 -0
- package/src/schemas/shadow-projects-update-all-schema.json +17 -0
- package/src/shadow-schema.test.ts +172 -0
- package/src/shadow-schema.ts +172 -0
- package/src/status-response-schema.ts +2 -1
- package/src/types.test.ts +97 -94
- package/src/types.ts +30 -19
- package/lib/system-information-schema.d.ts +0 -45
- package/lib/system-information-schema.d.ts.map +0 -1
- package/lib/system-information-schema.js +0 -3
- package/lib/system-information-schema.js.map +0 -1
- package/src/system-information-schema.ts +0 -44
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Untitled string in app\_state\_control Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://alwaysai.co/app-state-control-schema.json#/properties/projectId
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
The specific project associated with the message payload.
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [app-state-control-schema.json\*](../out/app-state-control-schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## projectId Type
|
|
14
|
+
|
|
15
|
+
`string`
|
|
16
|
+
|
|
17
|
+
## projectId Constraints
|
|
18
|
+
|
|
19
|
+
**pattern**: the string must match the following regular expression: 
|
|
20
|
+
|
|
21
|
+
```regexp
|
|
22
|
+
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[try pattern](https://regexr.com/?expression=%5B0-9a-fA-F%5D%7B8%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B12%7D%24 "try regular expression with regexr.com")
|
|
@@ -16,51 +16,63 @@ https://alwaysai.co/app-state-control-schema.json
|
|
|
16
16
|
|
|
17
17
|
# app\_state\_control Properties
|
|
18
18
|
|
|
19
|
-
| Property
|
|
20
|
-
|
|
|
21
|
-
| [
|
|
22
|
-
| [
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :-------------------------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [baseCommand](#basecommand) | `string` | Required | cannot be null | [app\_state\_control](app-state-control-schema-properties-basecommand.md "https://alwaysai.co/app-state-control-schema.json#/properties/baseCommand") |
|
|
22
|
+
| [projectId](#projectid) | `string` | Required | cannot be null | [app\_state\_control](app-state-control-schema-properties-projectid.md "https://alwaysai.co/app-state-control-schema.json#/properties/projectId") |
|
|
23
23
|
|
|
24
|
-
##
|
|
24
|
+
## baseCommand
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
`
|
|
28
|
+
`baseCommand`
|
|
29
29
|
|
|
30
30
|
* is required
|
|
31
31
|
|
|
32
|
-
* Type:
|
|
32
|
+
* Type: `string`
|
|
33
33
|
|
|
34
34
|
* cannot be null
|
|
35
35
|
|
|
36
|
-
* defined in: [app\_state\_control](app-state-control-schema-properties-
|
|
36
|
+
* defined in: [app\_state\_control](app-state-control-schema-properties-basecommand.md "https://alwaysai.co/app-state-control-schema.json#/properties/baseCommand")
|
|
37
37
|
|
|
38
|
-
###
|
|
38
|
+
### baseCommand Type
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
`string`
|
|
41
41
|
|
|
42
|
-
###
|
|
42
|
+
### baseCommand Constraints
|
|
43
43
|
|
|
44
|
-
**
|
|
44
|
+
**enum**: the value of this property must be equal to one of the following values:
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
| Value | Explanation |
|
|
47
|
+
| :---------- | :---------- |
|
|
48
|
+
| `"start"` | |
|
|
49
|
+
| `"stop"` | |
|
|
50
|
+
| `"restart"` | |
|
|
51
51
|
|
|
52
|
+
## projectId
|
|
52
53
|
|
|
54
|
+
The specific project associated with the message payload.
|
|
53
55
|
|
|
54
|
-
`
|
|
56
|
+
`projectId`
|
|
55
57
|
|
|
56
58
|
* is required
|
|
57
59
|
|
|
58
|
-
* Type: `
|
|
60
|
+
* Type: `string`
|
|
59
61
|
|
|
60
62
|
* cannot be null
|
|
61
63
|
|
|
62
|
-
* defined in: [app\_state\_control](app-state-control-schema-properties-
|
|
64
|
+
* defined in: [app\_state\_control](app-state-control-schema-properties-projectid.md "https://alwaysai.co/app-state-control-schema.json#/properties/projectId")
|
|
65
|
+
|
|
66
|
+
### projectId Type
|
|
67
|
+
|
|
68
|
+
`string`
|
|
63
69
|
|
|
64
|
-
###
|
|
70
|
+
### projectId Constraints
|
|
71
|
+
|
|
72
|
+
**pattern**: the string must match the following regular expression: 
|
|
73
|
+
|
|
74
|
+
```regexp
|
|
75
|
+
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
76
|
+
```
|
|
65
77
|
|
|
66
|
-
|
|
78
|
+
[try pattern](https://regexr.com/?expression=%5B0-9a-fA-F%5D%7B8%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B12%7D%24 "try regular expression with regexr.com")
|
|
@@ -19,7 +19,7 @@ The specific project associated with the message payload.
|
|
|
19
19
|
**pattern**: the string must match the following regular expression: 
|
|
20
20
|
|
|
21
21
|
```regexp
|
|
22
|
-
|
|
22
|
+
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
[try pattern](https://regexr.com/?expression
|
|
25
|
+
[try pattern](https://regexr.com/?expression=%5B0-9a-fA-F%5D%7B8%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B12%7D%24 "try regular expression with regexr.com")
|
|
@@ -44,10 +44,10 @@ The specific project associated with the message payload.
|
|
|
44
44
|
**pattern**: the string must match the following regular expression: 
|
|
45
45
|
|
|
46
46
|
```regexp
|
|
47
|
-
|
|
47
|
+
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
[try pattern](https://regexr.com/?expression
|
|
50
|
+
[try pattern](https://regexr.com/?expression=%5B0-9a-fA-F%5D%7B8%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B12%7D%24 "try regular expression with regexr.com")
|
|
51
51
|
|
|
52
52
|
## version
|
|
53
53
|
|
package/docs/app-state-schema.md
CHANGED
|
@@ -16,36 +16,9 @@ https://alwaysai.co/app-state-schema.json
|
|
|
16
16
|
|
|
17
17
|
# app\_state Properties
|
|
18
18
|
|
|
19
|
-
| Property
|
|
20
|
-
|
|
|
21
|
-
| [
|
|
22
|
-
| [appState](#appstate) | `array` | Required | cannot be null | [app\_state](app-state-schema-properties-appstate.md "https://alwaysai.co/app-state-schema.json#/properties/appState") |
|
|
23
|
-
|
|
24
|
-
## messageType
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
`messageType`
|
|
29
|
-
|
|
30
|
-
* is required
|
|
31
|
-
|
|
32
|
-
* Type: unknown
|
|
33
|
-
|
|
34
|
-
* cannot be null
|
|
35
|
-
|
|
36
|
-
* defined in: [app\_state](app-state-schema-properties-messagetype.md "https://alwaysai.co/app-state-schema.json#/properties/messageType")
|
|
37
|
-
|
|
38
|
-
### messageType Type
|
|
39
|
-
|
|
40
|
-
unknown
|
|
41
|
-
|
|
42
|
-
### messageType Constraints
|
|
43
|
-
|
|
44
|
-
**constant**: the value of this property must be equal to:
|
|
45
|
-
|
|
46
|
-
```json
|
|
47
|
-
"app_state"
|
|
48
|
-
```
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :-------------------- | :------ | :------- | :------------- | :--------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [appState](#appstate) | `array` | Required | cannot be null | [app\_state](app-state-schema-properties-appstate.md "https://alwaysai.co/app-state-schema.json#/properties/appState") |
|
|
49
22
|
|
|
50
23
|
## appState
|
|
51
24
|
|
|
@@ -19,7 +19,7 @@ The specific project associated with the message payload.
|
|
|
19
19
|
**pattern**: the string must match the following regular expression: 
|
|
20
20
|
|
|
21
21
|
```regexp
|
|
22
|
-
|
|
22
|
+
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
[try pattern](https://regexr.com/?expression
|
|
25
|
+
[try pattern](https://regexr.com/?expression=%5B0-9a-fA-F%5D%7B8%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B12%7D%24 "try regular expression with regexr.com")
|
|
@@ -70,7 +70,7 @@ The specific project associated with the message payload.
|
|
|
70
70
|
**pattern**: the string must match the following regular expression: 
|
|
71
71
|
|
|
72
72
|
```regexp
|
|
73
|
-
|
|
73
|
+
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
[try pattern](https://regexr.com/?expression
|
|
76
|
+
[try pattern](https://regexr.com/?expression=%5B0-9a-fA-F%5D%7B8%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B12%7D%24 "try regular expression with regexr.com")
|
|
@@ -6,67 +6,16 @@ https://alwaysai.co/app-version-control-schema.json
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
| Abstract | Extensible | Status | Identifiable
|
|
10
|
-
| :------------------ | :--------- | :------------- |
|
|
11
|
-
| Can be instantiated | No | Unknown status |
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :----------------------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [app-version-control-schema.json](../out/app-version-control-schema.json "open original schema") |
|
|
12
12
|
|
|
13
13
|
## app\_version\_control Type
|
|
14
14
|
|
|
15
15
|
`object` ([app\_version\_control](app-version-control-schema.md))
|
|
16
16
|
|
|
17
|
-
# app\_version\_control Properties
|
|
18
|
-
|
|
19
|
-
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
-
| :-------------------------------------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
-
| [messageType](#messagetype) | `string` | Required | cannot be null | [app\_version\_control](app-version-control-schema-properties-messagetype.md "https://alwaysai.co/app-version-control-schema.json#/properties/messageType") |
|
|
22
|
-
| [appVersionControl](#appversioncontrol) | Merged | Required | cannot be null | [app\_version\_control](app-version-control-schema-properties-appversioncontrol.md "https://alwaysai.co/app-version-control-schema.json#/properties/appVersionControl") |
|
|
23
|
-
|
|
24
|
-
## messageType
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
`messageType`
|
|
29
|
-
|
|
30
|
-
* is required
|
|
31
|
-
|
|
32
|
-
* Type: `string`
|
|
33
|
-
|
|
34
|
-
* cannot be null
|
|
35
|
-
|
|
36
|
-
* defined in: [app\_version\_control](app-version-control-schema-properties-messagetype.md "https://alwaysai.co/app-version-control-schema.json#/properties/messageType")
|
|
37
|
-
|
|
38
|
-
### messageType Type
|
|
39
|
-
|
|
40
|
-
`string`
|
|
41
|
-
|
|
42
|
-
### messageType Constraints
|
|
43
|
-
|
|
44
|
-
**enum**: the value of this property must be equal to one of the following values:
|
|
45
|
-
|
|
46
|
-
| Value | Explanation |
|
|
47
|
-
| :---------------------- | :---------- |
|
|
48
|
-
| `"app_version_control"` | |
|
|
49
|
-
|
|
50
|
-
## appVersionControl
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
`appVersionControl`
|
|
55
|
-
|
|
56
|
-
* is required
|
|
57
|
-
|
|
58
|
-
* Type: merged type ([Details](app-version-control-schema-properties-appversioncontrol.md))
|
|
59
|
-
|
|
60
|
-
* cannot be null
|
|
61
|
-
|
|
62
|
-
* defined in: [app\_version\_control](app-version-control-schema-properties-appversioncontrol.md "https://alwaysai.co/app-version-control-schema.json#/properties/appVersionControl")
|
|
63
|
-
|
|
64
|
-
### appVersionControl Type
|
|
65
|
-
|
|
66
|
-
merged type ([Details](app-version-control-schema-properties-appversioncontrol.md))
|
|
67
|
-
|
|
68
17
|
one (and only one) of
|
|
69
18
|
|
|
70
|
-
* [app_install](app-version-control-schema-
|
|
19
|
+
* [app_install](app-version-control-schema-oneof-app_install.md "check type definition")
|
|
71
20
|
|
|
72
|
-
* [app_uninstall](app-version-control-schema-
|
|
21
|
+
* [app_uninstall](app-version-control-schema-oneof-app_uninstall.md "check type definition")
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# Untitled string in
|
|
1
|
+
# Untitled string in signed\_urls\_request Schema
|
|
2
2
|
|
|
3
3
|
```txt
|
|
4
|
-
https://alwaysai.co/
|
|
4
|
+
https://alwaysai.co/signed-urls-request-schema.json#/properties/signedUrlsRequest/properties/appReleaseHash
|
|
5
5
|
```
|
|
6
6
|
|
|
7
7
|
The version of the project associated with the message payload.
|
|
8
8
|
|
|
9
|
-
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In
|
|
10
|
-
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ |
|
|
11
|
-
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [signed-urls-request-schema.json\*](../out/signed-urls-request-schema.json "open original schema") |
|
|
12
12
|
|
|
13
13
|
## appReleaseHash Type
|
|
14
14
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# Untitled string in
|
|
1
|
+
# Untitled string in signed\_urls\_request Schema
|
|
2
2
|
|
|
3
3
|
```txt
|
|
4
|
-
https://alwaysai.co/
|
|
4
|
+
https://alwaysai.co/signed-urls-request-schema.json#/properties/modelsOnlyUrlsRequest/properties/projectId
|
|
5
5
|
```
|
|
6
6
|
|
|
7
7
|
The specific project associated with the message payload.
|
|
8
8
|
|
|
9
|
-
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In
|
|
10
|
-
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ |
|
|
11
|
-
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [signed-urls-request-schema.json\*](../out/signed-urls-request-schema.json "open original schema") |
|
|
12
12
|
|
|
13
13
|
## projectId Type
|
|
14
14
|
|
|
@@ -19,7 +19,7 @@ The specific project associated with the message payload.
|
|
|
19
19
|
**pattern**: the string must match the following regular expression: 
|
|
20
20
|
|
|
21
21
|
```regexp
|
|
22
|
-
|
|
22
|
+
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
[try pattern](https://regexr.com/?expression
|
|
25
|
+
[try pattern](https://regexr.com/?expression=%5B0-9a-fA-F%5D%7B8%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B12%7D%24 "try regular expression with regexr.com")
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Untitled string in to\_device\_agent\_message Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://alwaysai.co/to-device-agent-message-schema.json#/properties/txId
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [to-device-agent-message-schema.json\*](../out/to-device-agent-message-schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## txId Type
|
|
14
|
+
|
|
15
|
+
`string`
|
|
16
|
+
|
|
17
|
+
## txId Constraints
|
|
18
|
+
|
|
19
|
+
**maximum length**: the maximum number of characters for this string is: `36`
|
|
20
|
+
|
|
21
|
+
**minimum length**: the minimum number of characters for this string is: `36`
|
|
22
|
+
|
|
23
|
+
**pattern**: the string must match the following regular expression: 
|
|
24
|
+
|
|
25
|
+
```regexp
|
|
26
|
+
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[try pattern](https://regexr.com/?expression=%5E%5B0-9a-fA-F%5D%7B8%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B4%7D-%5B0-9a-fA-F%5D%7B12%7D%24 "try regular expression with regexr.com")
|
package/docs/common-schema.md
CHANGED
|
@@ -48,3 +48,14 @@ Reference this group by using
|
|
|
48
48
|
|
|
49
49
|
| Property | Type | Required | Nullable | Defined by |
|
|
50
50
|
| :------- | :--- | :------- | :------- | :--------- |
|
|
51
|
+
|
|
52
|
+
## Definitions group txId
|
|
53
|
+
|
|
54
|
+
Reference this group by using
|
|
55
|
+
|
|
56
|
+
```json
|
|
57
|
+
{"$ref":"https://alwaysai.co/common-schema.json#/$defs/txId"}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
61
|
+
| :------- | :--- | :------- | :------- | :--------- |
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Untitled string in device\_action Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://alwaysai.co/device-action-schema.json#/properties/action
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [device-action-schema.json\*](../out/device-action-schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## action Type
|
|
14
|
+
|
|
15
|
+
`string`
|
|
16
|
+
|
|
17
|
+
## action Constraints
|
|
18
|
+
|
|
19
|
+
**enum**: the value of this property must be equal to one of the following values:
|
|
20
|
+
|
|
21
|
+
| Value | Explanation |
|
|
22
|
+
| :----------------- | :---------- |
|
|
23
|
+
| `"system_restart"` | |
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# device\_action Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://alwaysai.co/device-action-schema.json
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :----------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [device-action-schema.json](../out/device-action-schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## device\_action Type
|
|
14
|
+
|
|
15
|
+
`object` ([device\_action](device-action-schema.md))
|
|
16
|
+
|
|
17
|
+
# device\_action Properties
|
|
18
|
+
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :---------------- | :------- | :------- | :------------- | :----------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [action](#action) | `string` | Required | cannot be null | [device\_action](device-action-schema-properties-action.md "https://alwaysai.co/device-action-schema.json#/properties/action") |
|
|
22
|
+
|
|
23
|
+
## action
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
`action`
|
|
28
|
+
|
|
29
|
+
* is required
|
|
30
|
+
|
|
31
|
+
* Type: `string`
|
|
32
|
+
|
|
33
|
+
* cannot be null
|
|
34
|
+
|
|
35
|
+
* defined in: [device\_action](device-action-schema-properties-action.md "https://alwaysai.co/device-action-schema.json#/properties/action")
|
|
36
|
+
|
|
37
|
+
### action Type
|
|
38
|
+
|
|
39
|
+
`string`
|
|
40
|
+
|
|
41
|
+
### action Constraints
|
|
42
|
+
|
|
43
|
+
**enum**: the value of this property must be equal to one of the following values:
|
|
44
|
+
|
|
45
|
+
| Value | Explanation |
|
|
46
|
+
| :----------------- | :---------- |
|
|
47
|
+
| `"system_restart"` | |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled number in device\_stats Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://alwaysai.co/device-stats-schema.json#/properties/cpuDetails/properties/temperature
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :----------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [device-stats-schema.json\*](../out/device-stats-schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## temperature Type
|
|
14
|
+
|
|
15
|
+
`number`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled number in device\_stats Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://alwaysai.co/device-stats-schema.json#/properties/cpuDetails/properties/usedPerc
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :----------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [device-stats-schema.json\*](../out/device-stats-schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## usedPerc Type
|
|
14
|
+
|
|
15
|
+
`number`
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Untitled object in device\_stats Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://alwaysai.co/device-stats-schema.json#/properties/cpuDetails
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
CPU utilization information
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :----------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | [device-stats-schema.json\*](../out/device-stats-schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## cpuDetails Type
|
|
14
|
+
|
|
15
|
+
`object` ([Details](device-stats-schema-properties-cpudetails.md))
|
|
16
|
+
|
|
17
|
+
# cpuDetails Properties
|
|
18
|
+
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :-------------------------- | :------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [usedPerc](#usedperc) | `number` | Optional | cannot be null | [device\_stats](device-stats-schema-properties-cpudetails-properties-usedperc.md "https://alwaysai.co/device-stats-schema.json#/properties/cpuDetails/properties/usedPerc") |
|
|
22
|
+
| [temperature](#temperature) | `number` | Optional | cannot be null | [device\_stats](device-stats-schema-properties-cpudetails-properties-temperature.md "https://alwaysai.co/device-stats-schema.json#/properties/cpuDetails/properties/temperature") |
|
|
23
|
+
|
|
24
|
+
## usedPerc
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
`usedPerc`
|
|
29
|
+
|
|
30
|
+
* is optional
|
|
31
|
+
|
|
32
|
+
* Type: `number`
|
|
33
|
+
|
|
34
|
+
* cannot be null
|
|
35
|
+
|
|
36
|
+
* defined in: [device\_stats](device-stats-schema-properties-cpudetails-properties-usedperc.md "https://alwaysai.co/device-stats-schema.json#/properties/cpuDetails/properties/usedPerc")
|
|
37
|
+
|
|
38
|
+
### usedPerc Type
|
|
39
|
+
|
|
40
|
+
`number`
|
|
41
|
+
|
|
42
|
+
## temperature
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
`temperature`
|
|
47
|
+
|
|
48
|
+
* is optional
|
|
49
|
+
|
|
50
|
+
* Type: `number`
|
|
51
|
+
|
|
52
|
+
* cannot be null
|
|
53
|
+
|
|
54
|
+
* defined in: [device\_stats](device-stats-schema-properties-cpudetails-properties-temperature.md "https://alwaysai.co/device-stats-schema.json#/properties/cpuDetails/properties/temperature")
|
|
55
|
+
|
|
56
|
+
### temperature Type
|
|
57
|
+
|
|
58
|
+
`number`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled number in device\_stats Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://alwaysai.co/device-stats-schema.json#/properties/cpuUsage
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
The percentage of the CPU that is currently being used.
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :----------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [device-stats-schema.json\*](../out/device-stats-schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## cpuUsage Type
|
|
14
|
+
|
|
15
|
+
`number`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled number in device\_stats Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://alwaysai.co/device-stats-schema.json#/properties/diskDetails/properties/freeGb
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :----------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [device-stats-schema.json\*](../out/device-stats-schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## freeGb Type
|
|
14
|
+
|
|
15
|
+
`number`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled number in device\_stats Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://alwaysai.co/device-stats-schema.json#/properties/diskDetails/properties/usedGb
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :----------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [device-stats-schema.json\*](../out/device-stats-schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## usedGb Type
|
|
14
|
+
|
|
15
|
+
`number`
|