Resolve "SPINE Support"
3 unresolved threads
added Status::In Review label
- Resolved by Trishna Saeharaseelan
591 592 "description": "Battery remaining % provided by respective C2", 592 593 "example": 80.2, 593 594 }, 595 # Battery power (kw / float) 596 "battery_output": { # changed from battery_power 597 "type": "number", 598 "format": "float", 599 "description": "Battery output in kW", 600 "example": 80.2, 601 }, 602 # Bunkers remaining capacity (litres, float) 603 # Bunkers percentage full (percentage, float) 604 # battery_remaining_capacity is % full if we want both these fields 605 # these names are going to cause confusion 648 "type": "integer", 649 "description": "Alert code", 650 "example": 345, 651 }, 652 "platform_ID": { 653 "type": "string", 654 "description": "Unique identifier for this platform", 655 "example": "usvdecibel", 656 }, 657 "platform_timestamp": { 658 "type": "string", 659 "format": "date-time", 660 "description": "Timestamp for onboard platform status message", 661 "example": "2022-12-21T00:00:00Z", 662 }, 663 "subsystem": { # changed from suggested "source" could be device / subsystem or something 602 634 "longitude", 603 635 ], 604 636 } 637 638 alert_schema = { 639 "type": "object", 640 "properties": { 641 "message_type": { 642 "type": "string", 643 "description": "Type of message", 644 "example": "alert", 645 "enum": ["alert"], 646 }, 647 "code": { # changed from alert_ID because reasons mentioned in commit a0d9c041