Skip to content

Commit 40b93dd

Browse files
committed
removing some optionals in the inheritance model and clearing some things up
1 parent f8b11dc commit 40b93dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/developer/data-models.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ All device types inherit from `BaseDeviceData`:
3737

3838
```json
3939
{
40-
"type": "Device",
40+
"type": "pv",
4141
"make": "Deye",
4242
"timestamp": 1755701251122,
4343
"read_time_ms": 42
@@ -78,8 +78,8 @@ Common fields shared by all device types:
7878
| -------------- | ------------ | --------- | --------------------------------------------- |
7979
| `type` | - | string | Object type ("pv", "battery", "meter") |
8080
| `make` | - | string | Manufacturer/brand name (optional) |
81-
| `timestamp` | milliseconds | integer | Timestamp of reading start (optional) |
82-
| `read_time_ms` | milliseconds | integer | Time taken to complete the reading (optional) |
81+
| `timestamp` | milliseconds | integer | Timestamp of reading start |
82+
| `read_time_ms` | milliseconds | integer | Time taken to complete the reading |
8383

8484
### PV Data Model
8585

0 commit comments

Comments
 (0)