Skip to content

Commit

Permalink
Update packages (#4)
Browse files Browse the repository at this point in the history
* update dependencies

* update json schemas

---------

Co-authored-by: Jens Kürten <[email protected]>
  • Loading branch information
jens-kuerten and Jens Kürten authored Apr 30, 2024
1 parent 427ed1f commit c4046b4
Show file tree
Hide file tree
Showing 5 changed files with 300 additions and 256 deletions.
6 changes: 5 additions & 1 deletion json_schemas/data_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"properties": {
"response_type": {
"const": "data",
"title": "Response Type"
"enum": [
"data"
],
"title": "Response Type",
"type": "string"
},
"event_id": {
"description": "",
Expand Down
6 changes: 5 additions & 1 deletion json_schemas/error_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"properties": {
"response_type": {
"const": "error",
"title": "Response Type"
"enum": [
"error"
],
"title": "Response Type",
"type": "string"
},
"event_id": {
"description": "",
Expand Down
72 changes: 60 additions & 12 deletions json_schemas/request.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"object_type": {
"const": "briefcase",
"default": "briefcase",
"title": "Object Type"
"enum": [
"briefcase"
],
"title": "Object Type",
"type": "string"
},
"cdb_object_id": {
"description": "Briefcase ID",
Expand Down Expand Up @@ -90,7 +94,11 @@
"object_type": {
"const": "document",
"default": "document",
"title": "Object Type"
"enum": [
"document"
],
"title": "Object Type",
"type": "string"
},
"z_nummer": {
"description": "document number",
Expand Down Expand Up @@ -775,7 +783,11 @@
"properties": {
"name": {
"const": "document_release",
"title": "Name"
"enum": [
"document_release"
],
"title": "Name",
"type": "string"
},
"event_id": {
"description": "unique identifier",
Expand All @@ -799,7 +811,11 @@
"properties": {
"name": {
"const": "dummy",
"title": "Name"
"enum": [
"dummy"
],
"title": "Name",
"type": "string"
},
"event_id": {
"description": "unique identifier",
Expand Down Expand Up @@ -851,7 +867,11 @@
"object_type": {
"const": "engineering_change",
"default": "engineering_change",
"title": "Object Type"
"enum": [
"engineering_change"
],
"title": "Object Type",
"type": "string"
},
"cdb_ec_id": {
"description": "Engineering Change ID",
Expand Down Expand Up @@ -1144,7 +1164,11 @@
"properties": {
"name": {
"const": "engineering_change_release",
"title": "Name"
"enum": [
"engineering_change_release"
],
"title": "Name",
"type": "string"
},
"event_id": {
"description": "unique identifier",
Expand Down Expand Up @@ -1241,7 +1265,11 @@
"properties": {
"name": {
"const": "field_value_calculation",
"title": "Name"
"enum": [
"field_value_calculation"
],
"title": "Name",
"type": "string"
},
"event_id": {
"description": "unique identifier",
Expand All @@ -1265,7 +1293,11 @@
"object_type": {
"const": "file",
"default": "file",
"title": "Object Type"
"enum": [
"file"
],
"title": "Object Type",
"type": "string"
},
"cdb_object_id": {
"description": "ID",
Expand Down Expand Up @@ -1493,7 +1525,11 @@
"object_type": {
"const": "part",
"default": "part",
"title": "Object Type"
"enum": [
"part"
],
"title": "Object Type",
"type": "string"
},
"teilenummer": {
"description": "part number",
Expand Down Expand Up @@ -2331,7 +2367,11 @@
"properties": {
"name": {
"const": "part_release",
"title": "Name"
"enum": [
"part_release"
],
"title": "Name",
"type": "string"
},
"event_id": {
"description": "unique identifier",
Expand All @@ -2355,7 +2395,11 @@
"object_type": {
"const": "workflow",
"default": "workflow",
"title": "Object Type"
"enum": [
"workflow"
],
"title": "Object Type",
"type": "string"
},
"cdb_process_id": {
"description": "Workflow ID",
Expand Down Expand Up @@ -2447,7 +2491,11 @@
"properties": {
"name": {
"const": "workflow_task_trigger",
"title": "Name"
"enum": [
"workflow_task_trigger"
],
"title": "Name",
"type": "string"
},
"event_id": {
"description": "unique identifier",
Expand Down
18 changes: 15 additions & 3 deletions json_schemas/workload_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"properties": {
"name": {
"const": "abort_and_show_error",
"title": "Name"
"enum": [
"abort_and_show_error"
],
"title": "Name",
"type": "string"
},
"id": {
"description": "unique identifier",
Expand Down Expand Up @@ -40,7 +44,11 @@
"properties": {
"name": {
"const": "dummy",
"title": "Name"
"enum": [
"dummy"
],
"title": "Name",
"type": "string"
},
"id": {
"description": "unique identifier",
Expand Down Expand Up @@ -71,7 +79,11 @@
"properties": {
"response_type": {
"const": "workload",
"title": "Response Type"
"enum": [
"workload"
],
"title": "Response Type",
"type": "string"
},
"event_id": {
"description": "",
Expand Down
Loading

0 comments on commit c4046b4

Please sign in to comment.