Commit 0a49514
committed
v1.6.0: enforce schema via Ajv, close schema/data drift, point to cctv-database.com
Schema & validation:
- Enforce schema/camera.schema.json in the build via Ajv (was only hand-checking
5 fields; schema had silently drifted). CI now fails on any violation.
- Declare 11 fields the data already used: localized prices (msrp_eur/gbp/inr/aed/
aud/cad/vnd/chf), markets, generation, release_notes.
- Add storage.notes; widen protocols enum with hdcvi and mxpeg.
Data:
- Remove invalid ip_rating: null from 3 indoor cameras (Amcrest ASH42-W, Tapo C121/C135).
- Reolink Video Doorbell PoE: verified Frigate config + HA details + soc/poe_class/environment.
Build & CI:
- Decouple dataset mirroring: opt-in via DATA_MIRROR_DIR (local gitignored .env),
no hardcoded downstream path. Add ajv/ajv-formats; npm ci step in CI workflows.
Website:
- Point README + package.json homepage to cctv-database.com.
- GitHub Pages demo (docs/index.html) now redirects to the site; keep a standalone
offline copy at docs/demo.html. README states the dataset is CC0 and always will be.1 parent 243c7e9 commit 0a49514
17 files changed
Lines changed: 1704 additions & 1358 deletions
File tree
- .github/workflows
- cameras
- amcrest
- reolink
- tapo
- data
- docs
- schema
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
9 | 30 | | |
10 | 31 | | |
11 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
91 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
92 | 101 | | |
93 | 102 | | |
94 | 103 | | |
95 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
96 | 109 | | |
97 | 110 | | |
98 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2679 | 2679 | | |
2680 | 2680 | | |
2681 | 2681 | | |
2682 | | - | |
2683 | 2682 | | |
2684 | 2683 | | |
2685 | 2684 | | |
| |||
80367 | 80366 | | |
80368 | 80367 | | |
80369 | 80368 | | |
80370 | | - | |
| 80369 | + | |
| 80370 | + | |
80371 | 80371 | | |
80372 | 80372 | | |
80373 | 80373 | | |
| |||
80395 | 80395 | | |
80396 | 80396 | | |
80397 | 80397 | | |
| 80398 | + | |
| 80399 | + | |
| 80400 | + | |
| 80401 | + | |
80398 | 80402 | | |
80399 | 80403 | | |
80400 | 80404 | | |
| |||
80431 | 80435 | | |
80432 | 80436 | | |
80433 | 80437 | | |
80434 | | - | |
| 80438 | + | |
| 80439 | + | |
| 80440 | + | |
| 80441 | + | |
| 80442 | + | |
80435 | 80443 | | |
80436 | 80444 | | |
80437 | 80445 | | |
80438 | | - | |
| 80446 | + | |
| 80447 | + | |
| 80448 | + | |
| 80449 | + | |
| 80450 | + | |
80439 | 80451 | | |
80440 | 80452 | | |
80441 | 80453 | | |
| |||
87615 | 87627 | | |
87616 | 87628 | | |
87617 | 87629 | | |
87618 | | - | |
87619 | 87630 | | |
87620 | 87631 | | |
87621 | 87632 | | |
| |||
87775 | 87786 | | |
87776 | 87787 | | |
87777 | 87788 | | |
87778 | | - | |
87779 | 87789 | | |
87780 | 87790 | | |
87781 | 87791 | | |
| |||
0 commit comments