I am creating a Vehicle Owner and User Management service for Polestar. The service has…
Jump to turn (10)
- 1I am creating a Vehicle Owner and User Management service for Polestar. The serv
- 2Create a data model in DynamoDB for the primary driver module.
- 3The service will also save the name of the system that initiated the change. If
- 4Give me all attributes in a list with descriptions.
- 5System and SystemName shall be the same attribute
- 6Include an attribute, showing if the change was initiated from Event or API.
- 7Create a table with example data.
- 8A POMS event can only register a primary driver if the order ID is new. For exam
- 9Describe how the primary driver module works.
- 10Describe all attributes in the PrimaryDrivers table
- User
I am creating a Vehicle Owner and User Management service for Polestar. The service has four modules: the Registration number, owner, primary driver, and market modules. I will focus on the Primary Driver module.
This module tracks the user, identified with a Polestar ID, who is the primary driver of a car. A car can only have one primary driver. The primary driver is captured from Polestar's Order Management System (POMS). The service listens to order events from POMS. If an order event contains a valid VIN and Polestar ID in the "Driver" field, the service saves that Polestar ID as the car's primary driver. A Polestar ID is valid if it exists in the Polestar ID service (which can be confirmed with an API call). A VIN is valid if it exists in Volvo's factory order system, the Vehicle Internet Sale & Traceability Application (VISTA).
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.