Split schema and project documentation into focused contracts

This commit is contained in:
mchus committed 2026-10-03 09:35:38 +03:00
1 parent b0e6402d66
commit d0d7233700
21 files changed
+405 -327

No files matched your search

@@ -0,0 +1,22 @@
# Contract: Hardware Ingest - memory
Part of [hardware components](../contract.md), schema version 2.10.
## memory
| Поле | Тип | Описание |
|------|-----|----------|
| `slot` | string | |
| `present` | bool | По умолчанию `true` |
| `serial_number` | string | Обязателен для создания записи |
| `part_number` | string | Используется как модель |
| `manufacturer` | string | |
| `size_mb` | int | |
| `type` | string | `DDR3`, `DDR4`, `DDR5` |
| `max_speed_mhz` / `current_speed_mhz` | int | |
| `temperature_c` | float | Telemetry |
| `correctable_ecc_error_count` / `uncorrectable_ecc_error_count` | int | |
| `life_remaining_pct` / `life_used_pct` / `spare_blocks_remaining_pct` | float | |
| `performance_degraded` / `data_loss_detected` | bool | |
Модуль без `serial_number`, с `present=false` или `status=Empty` игнорируется.