Skip to content

Commit

Permalink
Use all caps privlege names
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJoiner committed May 8, 2024
1 parent 7cab51c commit cb0c473
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The Model generation is handled by packages in `internal/codegen`. They are resp

# requiredPrivileges: The list of privileges required to access the field
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
```
##### Generation Process
Expand Down
72 changes: 36 additions & 36 deletions schema/definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

# requiredPrivileges: The list of privileges required to access the field
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Chassis.Axle.Row1.Wheel.Right.Tire.Pressure
isArray: null
clickHouseType: ""
Expand All @@ -43,7 +43,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Chassis.Axle.Row2.Wheel.Left.Tire.Pressure
isArray: null
clickHouseType: ""
Expand All @@ -54,7 +54,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Chassis.Axle.Row2.Wheel.Right.Tire.Pressure
isArray: null
clickHouseType: ""
Expand All @@ -65,7 +65,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.CurrentLocation.Altitude
isArray: null
clickHouseType: ""
Expand All @@ -76,7 +76,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleAllTimeLocation
- VEHICLE_ALL_TIME_LOCATION
- vspecName: Vehicle.CurrentLocation.Latitude
isArray: null
clickHouseType: ""
Expand All @@ -87,7 +87,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleAllTimeLocation
- VEHICLE_ALL_TIME_LOCATION
- vspecName: Vehicle.CurrentLocation.Longitude
isArray: null
clickHouseType: ""
Expand All @@ -98,7 +98,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleAllTimeLocation
- VEHICLE_ALL_TIME_LOCATION
- vspecName: Vehicle.CurrentLocation.Timestamp
isArray: false
clickHouseType: DateTime('UTC')
Expand All @@ -112,7 +112,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleAllTimeLocation
- VEHICLE_ALL_TIME_LOCATION
- vspecName: Vehicle.Exterior.AirTemperature
isArray: null
clickHouseType: ""
Expand All @@ -123,7 +123,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.LowVoltageBattery.CurrentVoltage
isArray: null
clickHouseType: ""
Expand All @@ -134,7 +134,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.OBD.BarometricPressure
isArray: null
clickHouseType: ""
Expand All @@ -145,7 +145,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.OBD.EngineLoad
isArray: null
clickHouseType: ""
Expand All @@ -156,7 +156,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.OBD.IntakeTemp
isArray: null
clickHouseType: ""
Expand All @@ -167,7 +167,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.OBD.RunTime
isArray: null
clickHouseType: ""
Expand All @@ -178,7 +178,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.CombustionEngine.ECT
isArray: null
clickHouseType: ""
Expand All @@ -189,7 +189,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.CombustionEngine.EngineOilLevel
isArray: null
clickHouseType: ""
Expand All @@ -200,7 +200,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.CombustionEngine.Speed
isArray: null
clickHouseType: ""
Expand All @@ -211,7 +211,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.CombustionEngine.TPS
isArray: null
clickHouseType: ""
Expand All @@ -222,7 +222,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.FuelSystem.AbsoluteLevel
isArray: null
clickHouseType: ""
Expand All @@ -233,7 +233,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.FuelSystem.SupportedFuelTypes
isArray: false
clickHouseType: ""
Expand All @@ -244,7 +244,7 @@
originalType: string
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.Range
isArray: null
clickHouseType: ""
Expand All @@ -255,7 +255,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.TractionBattery.Charging.ChargeLimit
isArray: null
clickHouseType: ""
Expand All @@ -266,7 +266,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.TractionBattery.Charging.IsCharging
isArray: null
clickHouseType: ""
Expand All @@ -277,7 +277,7 @@
originalType: bool
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.TractionBattery.GrossCapacity
isArray: null
clickHouseType: ""
Expand All @@ -288,7 +288,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.TractionBattery.StateOfCharge.Current
isArray: null
clickHouseType: ""
Expand All @@ -299,7 +299,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.Transmission.TravelledDistance
isArray: null
clickHouseType: ""
Expand All @@ -310,7 +310,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.Type
isArray: null
clickHouseType: ""
Expand All @@ -321,7 +321,7 @@
originalType: string
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Speed
isArray: null
clickHouseType: ""
Expand All @@ -332,7 +332,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.VehicleIdentification.Brand
isArray: null
clickHouseType: ""
Expand All @@ -343,7 +343,7 @@
originalType: string
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.VehicleIdentification.Model
isArray: null
clickHouseType: ""
Expand All @@ -354,7 +354,7 @@
originalType: string
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.VehicleIdentification.Year
isArray: null
clickHouseType: ""
Expand All @@ -365,7 +365,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.Powertrain.CombustionEngine.MAF
isArray: null
clickHouseType: ""
Expand All @@ -376,7 +376,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.DIMO.Aftermarket.HDOP
isArray: null
clickHouseType: ""
Expand All @@ -387,7 +387,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.DIMO.Aftermarket.NSAT
isArray: null
clickHouseType: ""
Expand All @@ -398,7 +398,7 @@
originalType: float64
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.DIMO.Aftermarket.WPAState
isArray: null
clickHouseType: ""
Expand All @@ -409,7 +409,7 @@
originalType: string
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA
- vspecName: Vehicle.DIMO.Aftermarket.SSID
isArray: null
clickHouseType: ""
Expand All @@ -420,4 +420,4 @@
originalType: string
isArray: false
requiredPrivileges:
- VehicleNonLocationData
- VEHICLE_NON_LOCATION_DATA

0 comments on commit cb0c473

Please sign in to comment.