Skip to content

Commit

Permalink
updates to "recordGeneratedBy" schema definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael7371 committed Sep 17, 2024
1 parent f9b5bde commit b1728dd
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 16 deletions.
9 changes: 9 additions & 0 deletions jpo-ode-core/src/main/resources/schemas/schema-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@
"type": "string"
},
"recordGeneratedBy": {
"enum": [
"TMC",
"OBU",
"RSU",
"TMC_VIA_SAT",
"TMC_VIA_SNMP",
"UNKNOWN",
null
],
"type": [
"string",
"null"
Expand Down
27 changes: 12 additions & 15 deletions jpo-ode-core/src/main/resources/schemas/schema-spat.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,21 +238,18 @@
"type": "string"
},
"recordGeneratedBy": {
"oneOf": [
{
"type": "string",
"enum": [
"TMC",
"OBU",
"RSU",
"TMC_VIA_SAT",
"TMC_VIA_SNMP",
"UNKNOWN"
]
},
{
"type": "null"
}
"enum": [
"TMC",
"OBU",
"RSU",
"TMC_VIA_SAT",
"TMC_VIA_SNMP",
"UNKNOWN",
null
],
"type": [
"string",
"null"
]
},
"sanitized": {
Expand Down
9 changes: 9 additions & 0 deletions jpo-ode-core/src/main/resources/schemas/schema-srm.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@
"type": "string"
},
"recordGeneratedBy": {
"enum": [
"TMC",
"OBU",
"RSU",
"TMC_VIA_SAT",
"TMC_VIA_SNMP",
"UNKNOWN",
null
],
"type": [
"string",
"null"
Expand Down
9 changes: 9 additions & 0 deletions jpo-ode-core/src/main/resources/schemas/schema-ssm.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@
"type": "string"
},
"recordGeneratedBy": {
"enum": [
"TMC",
"OBU",
"RSU",
"TMC_VIA_SAT",
"TMC_VIA_SNMP",
"UNKNOWN",
null
],
"type": [
"string",
"null"
Expand Down
14 changes: 13 additions & 1 deletion jpo-ode-core/src/main/resources/schemas/schema-tim.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,19 @@
"type": "string"
},
"recordGeneratedBy": {
"type": "string"
"enum": [
"TMC",
"OBU",
"RSU",
"TMC_VIA_SAT",
"TMC_VIA_SNMP",
"UNKNOWN",
null
],
"type": [
"string",
"null"
]
},
"recordType": {
"type": "string"
Expand Down

0 comments on commit b1728dd

Please sign in to comment.