Skip to content

Commit

Permalink
schema/ : Changing field 'type' into 'message_type'
Browse files Browse the repository at this point in the history
Signed-off-by: Hugues Oudeville <hugues.oudeville@orange.com>
  • Loading branch information
Hugues360 committed Nov 12, 2024
1 parent d6fa1e7 commit d4ccdee
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions schema/cam/cam_schema_2-0-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"type": "object",
"additionalProperties": false,
"required": [
"type",
"message-type",
"origin",
"version",
"source_uuid",
"timestamp",
"message"
],
"properties": {
"type": {
"message-type": {
"type": "string",
"description": "message type",
"const": "cam"
Expand Down
4 changes: 2 additions & 2 deletions schema/cpm/cpm_schema_2-0-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"type": "object",
"additionalProperties": false,
"required": [
"type",
"message-type",
"origin",
"version",
"source_uuid",
"timestamp",
"message"
],
"properties": {
"type": {
"message-type": {
"type": "string",
"description": "message type",
"const": "cpm"
Expand Down
4 changes: 2 additions & 2 deletions schema/denm/denm_schema_2-0-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"type": "object",
"additionalProperties": false,
"required": [
"type",
"message-type",
"origin",
"version",
"source_uuid",
"timestamp",
"message"
],
"properties": {
"type": {
"message-type": {
"type": "string",
"description": "message type",
"const": "denm"
Expand Down
4 changes: 2 additions & 2 deletions schema/information/information_schema_2-0-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "object",
"additionalProperties": false,
"required": [
"type",
"message-type",
"version",
"instance_id",
"instance_type",
Expand All @@ -14,7 +14,7 @@
"validity_duration"
],
"properties": {
"type": {
"message-type": {
"description": "type of server",
"type": "string",
"enum": [
Expand Down
4 changes: 2 additions & 2 deletions schema/status/status_schema_2-0-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"required": [
"version",
"id",
"type",
"message-type",
"timestamp",
"system",
"time_sources",
Expand All @@ -23,7 +23,7 @@
"description": "unique id all over the world for this device",
"type": "string"
},
"type": {
"message-type": {
"description": "type of the message",
"type": "string",
"const": "status"
Expand Down

0 comments on commit d4ccdee

Please sign in to comment.