Skip to content

Commit

Permalink
Merge pull request usdot-jpo-ode#35 from CDOT-CV/schema/removing-requ…
Browse files Browse the repository at this point in the history
…irements-for-redacted-members-from-bsm-schema

Making members targeted for redaction not required in BSM Schema.
  • Loading branch information
payneBrandon authored Mar 2, 2023
2 parents 9836b7a + b98fae1 commit 3369e9e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2,047 deletions.
1 change: 0 additions & 1 deletion docs/schemas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ The jpo-ode supports receiving and decoding ASN1 messages from RSUs. The support
- [topic.OdeSpatJson](../../jpo-ode-core/src/main/resources/schemas/schema-spat.json)
- [topic.OdeSrmJson](../../jpo-ode-core/src/main/resources/schemas/schema-srm.json)
- [topic.OdeSsmJson](../../jpo-ode-core/src/main/resources/schemas/schema-ssm.json)
- [topic.FilteredOdeBsmJson](../../jpo-ode-core/src/main/resources/schemas/schema-filtered-bsm.json)

The output JSON of the ODE is complex but it is similar to the official standard of J2735 with some minor differences due to the form of their deserialized POJOs. To help implement proper data validation for the JSON output of the ODE into any data pipeline infrastructure, you may use the provided validation schemas within this directory.

Expand Down
54 changes: 2 additions & 52 deletions jpo-ode-core/src/main/resources/schemas/schema-bsm.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@
]
}
},
"required": [],
"type": "object"
},
"angle": {
Expand Down Expand Up @@ -340,23 +339,11 @@
"type": "boolean"
}
},
"required": [
"unavailable",
"leftFront",
"leftRear",
"rightFront",
"rightRear"
],
"type": "object"
}
},
"required": [
"wheelBrakes",
"traction",
"abs",
"scs",
"brakeBoost",
"auxBrakes"
"wheelBrakes"
],
"type": "object"
},
Expand Down Expand Up @@ -408,7 +395,6 @@
]
}
},
"required": [],
"type": "object"
},
"speed": {
Expand All @@ -435,7 +421,6 @@
"position",
"accelSet",
"accuracy",
"transmission",
"speed",
"heading",
"brakes",
Expand Down Expand Up @@ -499,17 +484,11 @@
"required": [
"eventHazardLights",
"eventStopLineViolation",
"eventABSactivated",
"eventTractionControlLoss",
"eventStabilityControlactivated",
"eventHazardousMaterials",
"eventReserved1",
"eventHardBraking",
"eventLightsChanged",
"eventWipersChanged",
"eventFlatTire",
"eventDisabledVehicle",
"eventAirBagDeployment"
"eventWipersChanged"
],
"type": [
"object",
Expand Down Expand Up @@ -546,17 +525,6 @@
"type": "boolean"
}
},
"required": [
"lowBeamHeadlightsOn",
"highBeamHeadlightsOn",
"leftTurnSignalOn",
"rightTurnSignalOn",
"hazardSignalOn",
"automaticLightControlOn",
"daytimeRunningLightsOn",
"fogLightOn",
"parkingLightsOn"
],
"type": [
"object",
"null"
Expand Down Expand Up @@ -697,7 +665,6 @@
]
}
},
"required": [],
"type": "object"
},
"posConfidence": {
Expand Down Expand Up @@ -945,7 +912,6 @@
]
}
},
"required": [],
"type": [
"object",
"null"
Expand Down Expand Up @@ -988,7 +954,6 @@
]
}
},
"required": [],
"type": "object"
}
},
Expand Down Expand Up @@ -1152,7 +1117,6 @@
"type": "integer"
}
},
"required": [],
"type": [
"object",
"null"
Expand Down Expand Up @@ -1503,7 +1467,6 @@
]
}
},
"required": [],
"type": "object"
}
},
Expand Down Expand Up @@ -1687,7 +1650,6 @@
]
}
},
"required": [],
"type": [
"object",
"null"
Expand Down Expand Up @@ -1746,7 +1708,6 @@
]
}
},
"required": [],
"type": [
"object",
"null"
Expand Down Expand Up @@ -1847,7 +1808,6 @@
"type": "array"
}
},
"required": [],
"type": [
"object",
"null"
Expand Down Expand Up @@ -1879,9 +1839,6 @@
"type": "integer"
}
},
"required": [
"statusDetails"
],
"type": [
"object",
"null"
Expand Down Expand Up @@ -2012,7 +1969,6 @@
]
}
},
"required": [],
"type": [
"object",
"null"
Expand Down Expand Up @@ -2072,17 +2028,12 @@
]
}
},
"required": [
"rateFront",
"statusFront"
],
"type": [
"object",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
Expand Down Expand Up @@ -2158,7 +2109,6 @@
]
}
},
"required": [],
"type": "object"
}
},
Expand Down
Loading

0 comments on commit 3369e9e

Please sign in to comment.