How kaareloun/auto-api works
Protocol Definition Layer should include
• Capabilities Container
• Groupings of the main capability types (e.g., Chassis, Digital Key, Points of Interest)
• Properties System
• Relationship between capabilities and their properties
• Three main component types:
• State
• Getters
• Setters
Implementation Layer should showcase
• Parser/Generator System
• How the YAML definitions are processed
• Connections to generated platform-specific libraries
• Data Flow Controllers
• Demonstrate the modular data flow system
• Size optimization for low-bandwidth connections
Integration Layer should display
• Vehicle Systems Interface
• Third-party Services Interface
• Communication Protocols
Key Visualization Elements:
• Data flow between vehicles and services
• Property inheritance patterns
• Generation paths for platform-specific implementations
Specific technical details
• Property identifiers
• Size specifications
• Timestamp components
• Failure handling paths
File Structure Integration
• How the various .yml files (charging.yml, doors.yml, etc.) map to capabilities
• Demonstrate the relationship between universal_properties.yml and specific capabilities
• Tools/definitions.yaml and tools/exceptions.yaml in the generation pipeline
Documentation Flow
• How the spec generates documentation
• Connection to high-mobility.com documentation system
Modular Architecture
• Modular nature of data flow
• Package size optimization paths
• Demonstrate versioning compatibility
• All component types
• Special symbols used
• Version indicators
• State indicators
Remember to include a small "Version Control" section showing how updates to the spec propagate through the system, as this is crucial for maintaining backward compatibility while allowing for system growth.