Skip to content

Commit ab2aa0b

Browse files
committed
[GitHub Actions] Update openAPI spec files
1 parent 1b83f81 commit ab2aa0b

2 files changed

Lines changed: 213 additions & 9 deletions

File tree

sormas-rest/swagger.json

Lines changed: 77 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11222,7 +11222,7 @@
1122211222
"properties" : {
1122311223
"activityAsCaseType" : {
1122411224
"type" : "string",
11225-
"enum" : [ "WORK", "TRAVEL", "SPORT", "VISIT", "GATHERING", "HABITATION", "PERSONAL_SERVICES", "CARED_FOR", "OTHER", "UNKNOWN" ]
11225+
"enum" : [ "WORK", "TRAVEL", "SPORT", "VISIT", "GATHERING", "HABITATION", "PERSONAL_SERVICES", "CARED_FOR", "OTHER", "BLOOD_DONATION", "BONE_MARROW_DONATION", "UNKNOWN" ]
1122611226
},
1122711227
"activityAsCaseTypeDetails" : {
1122811228
"type" : "string",
@@ -16642,7 +16642,7 @@
1664216642
"type" : "array",
1664316643
"items" : {
1664416644
"type" : "string",
16645-
"enum" : [ "AIR_BORNE", "ANIMAL_CONTACT", "DIRECT_CONTACT", "FOMITE_TRANSMISSION", "FOOD_BORNE", "VECTOR_BORNE", "VERTICAL_TRANSMISSION", "WATER_BORNE" ]
16645+
"enum" : [ "AIR_BORNE", "ANIMAL_CONTACT", "DIRECT_CONTACT", "FOMITE_TRANSMISSION", "FOOD_BORNE", "VECTOR_BORNE", "VERTICAL_TRANSMISSION", "WATER_BORNE", "MEDICAL_CARE", "LAB", "OTHER" ]
1664616646
},
1664716647
"uniqueItems" : true
1664816648
},
@@ -17373,6 +17373,10 @@
1737317373
"type" : "string",
1737417374
"enum" : [ "YES", "NO", "UNKNOWN" ]
1737517375
},
17376+
"airportWorker" : {
17377+
"type" : "string",
17378+
"enum" : [ "YES", "NO", "UNKNOWN" ]
17379+
},
1737617380
"areaInfectedAnimals" : {
1737717381
"type" : "string",
1737817382
"enum" : [ "YES", "NO", "UNKNOWN" ]
@@ -17416,6 +17420,10 @@
1741617420
"$ref" : "#/components/schemas/ExposureDto"
1741717421
}
1741817422
},
17423+
"healthcareProfessional" : {
17424+
"type" : "string",
17425+
"enum" : [ "YES", "NO", "UNKNOWN" ]
17426+
},
1741917427
"highTransmissionRiskArea" : {
1742017428
"type" : "string",
1742117429
"enum" : [ "YES", "NO", "UNKNOWN" ]
@@ -17440,7 +17448,7 @@
1744017448
},
1744117449
"modeOfTransmission" : {
1744217450
"type" : "string",
17443-
"enum" : [ "ANIMAL_TO_HUMAN", "FOOD_OR_WATER", "PERSON_TO_PERSON", "RECREATIONAL_WATER", "HEALTHCARE_ASSOCIATED", "INJECTING_DRUG_USERS", "LAB_OCCUPATIONAL_EXPOSURE", "MOTHER_TO_CHILD", "SEXUAL", "TRANSFUSION_RECIPIENT", "ORGAN_RECIPIENT", "UNKNOWN", "OTHER" ]
17451+
"enum" : [ "ANIMAL_TO_HUMAN", "FOOD_OR_WATER", "PERSON_TO_PERSON", "RECREATIONAL_WATER", "HEALTHCARE_ASSOCIATED", "INJECTING_DRUG_USERS", "LAB_OCCUPATIONAL_EXPOSURE", "MOTHER_TO_CHILD", "SEXUAL", "TRANSFUSION_RECIPIENT", "ORGAN_RECIPIENT", "MOSQUITOES_FROM_ENDEMIC_COUNTRY", "MOSQUITOES_BY_AIR", "MEDICAL_CARE", "MOSQUITOES_WITH_STRONG_EPI_EVIDENCE", "MOSQUITOES_WITHOUT_EVIDENCE", "FROM_MOTHER_TO_CHILD", "BY_LAB", "TRANSFUSION_TRANSPLANT_RECIPIENT", "OTHER", "UNKNOWN" ]
1744417452
},
1744517453
"modeOfTransmissionType" : {
1744617454
"type" : "string",
@@ -17450,9 +17458,19 @@
1745017458
"otherDetails" : {
1745117459
"type" : "string"
1745217460
},
17461+
"placeOfInfection" : {
17462+
"type" : "string",
17463+
"maxLength" : 255,
17464+
"minLength" : 0
17465+
},
1745317466
"pseudonymized" : {
1745417467
"type" : "boolean"
1745517468
},
17469+
"residenceAtOnset" : {
17470+
"type" : "string",
17471+
"maxLength" : 255,
17472+
"minLength" : 0
17473+
},
1745617474
"uuid" : {
1745717475
"type" : "string",
1745817476
"maxLength" : 36,
@@ -18698,7 +18716,7 @@
1869818716
},
1869918717
"exposureCategory" : {
1870018718
"type" : "string",
18701-
"enum" : [ "AIR_BORNE", "ANIMAL_CONTACT", "DIRECT_CONTACT", "FOMITE_TRANSMISSION", "FOOD_BORNE", "VECTOR_BORNE", "VERTICAL_TRANSMISSION", "WATER_BORNE" ]
18719+
"enum" : [ "AIR_BORNE", "ANIMAL_CONTACT", "DIRECT_CONTACT", "FOMITE_TRANSMISSION", "FOOD_BORNE", "VECTOR_BORNE", "VERTICAL_TRANSMISSION", "WATER_BORNE", "MEDICAL_CARE", "LAB", "OTHER" ]
1870218720
},
1870318721
"exposureComment" : {
1870418722
"type" : "string"
@@ -18709,7 +18727,7 @@
1870918727
},
1871018728
"exposureSetting" : {
1871118729
"type" : "string",
18712-
"enum" : [ "INDOOR", "OUTDOOR", "PERSON_TO_PERSON", "MOSQUITO_BORNE", "TICK_BORNE", "DRINKING_WATER", "RECREATIONAL_WATER", "PREGNANCY_OR_DELIVERY", "OTHER", "UNKNOWN" ]
18730+
"enum" : [ "INDOOR", "OUTDOOR", "PERSON_TO_PERSON", "OTHER_DIRECT_CONTACT", "MOSQUITO_BORNE", "TICK_BORNE", "DRINKING_WATER", "RECREATIONAL_WATER", "PREGNANCY_OR_DELIVERY", "OTHER", "UNKNOWN" ]
1871318731
},
1871418732
"exposureSettingDetails" : {
1871518733
"type" : "string"
@@ -18814,6 +18832,15 @@
1881418832
"type" : "string",
1881518833
"enum" : [ "YES", "NO", "UNKNOWN" ]
1881618834
},
18835+
"prophylaxisAdherence" : {
18836+
"type" : "string",
18837+
"enum" : [ "PROPHYLAXIS_COMPLETED", "PROPHYLAXIS_PARTIAL", "PROPHYLAXIS_NOT_STARTED", "PROPHYLAXIS_NOT_PRESCRIBED", "OTHER", "UNKNOWN" ]
18838+
},
18839+
"prophylaxisAdherenceDetails" : {
18840+
"type" : "string",
18841+
"maxLength" : 1000000,
18842+
"minLength" : 0
18843+
},
1881718844
"prophylaxisDate" : {
1881818845
"type" : "string",
1881918846
"format" : "date-time"
@@ -18875,7 +18902,7 @@
1887518902
"type" : "array",
1887618903
"items" : {
1887718904
"type" : "string",
18878-
"enum" : [ "CLOSED_POORLY_VENTILATED", "SHARED_HIGH_OCCUPANCY", "ENCLOSED_LIMITED_CIRCULATION", "VEHICLES", "HEALTHCARE_SETTINGS", "TEMPORARY_SHELTERS", "CROWDED_OUTDOOR_LIMITED_AIRFLOW", "CLOSE_PHYSICAL_CONTACT", "HIGH_TOUCH_ENVIRONMENTS", "SEXUAL_ACTIVITY", "STANDING_WATER_AREAS", "HIGH_MOSQUITO_ACTIVITY_REGIONS", "FORESTED_GRASSY_RURAL", "WILDLIFE_RESERVOIR_AREAS", "EATING_AT_HOME", "EATING_OUTSIDE", "UNKNOWN", "OTHER" ]
18905+
"enum" : [ "CLOSED_POORLY_VENTILATED", "SHARED_HIGH_OCCUPANCY", "ENCLOSED_LIMITED_CIRCULATION", "VEHICLES", "HEALTHCARE_SETTINGS", "TEMPORARY_SHELTERS", "CROWDED_OUTDOOR_LIMITED_AIRFLOW", "CLOSE_PHYSICAL_CONTACT", "HIGH_TOUCH_ENVIRONMENTS", "SEXUAL_ACTIVITY", "BLOOD_TRANSFUSION_RECIPIENT", "BONE_MARROW_TRANSPLANT_RECIPIENT", "STANDING_WATER_AREAS", "HIGH_MOSQUITO_ACTIVITY_REGIONS", "TRAVELED_ABROAD", "FORESTED_GRASSY_RURAL", "WILDLIFE_RESERVOIR_AREAS", "EATING_AT_HOME", "EATING_OUTSIDE", "UNKNOWN", "OTHER" ]
1887918906
},
1888018907
"uniqueItems" : true
1888118908
},
@@ -18902,6 +18929,15 @@
1890218929
"maxLength" : 512,
1890318930
"minLength" : 0
1890418931
},
18932+
"travelPurpose" : {
18933+
"type" : "string",
18934+
"enum" : [ "BUSINESS", "VISITING_FAMILY_FRIENDS", "MIGRATION", "MILITARY", "HUMANITARIAN_MISSION", "TRAVELER_FROM_ENDEMIC_COUNTRY", "STUDENT", "TOURISM", "OTHER", "UNKNOWN" ]
18935+
},
18936+
"travelPurposeDetails" : {
18937+
"type" : "string",
18938+
"maxLength" : 1000000,
18939+
"minLength" : 0
18940+
},
1890518941
"typeOfAnimal" : {
1890618942
"type" : "string",
1890718943
"enum" : [ "BAT", "POULTRY", "CAMEL", "CANIDAE", "CAT", "CATTLE", "DOG", "PRIMATE", "SNAKE", "SWINE", "RABBIT", "RODENT", "TICK", "FLEA", "BIRDS", "GOAT", "HORSE", "SHEEP", "OTHER" ]
@@ -19042,6 +19078,10 @@
1904219078
"type" : "string",
1904319079
"enum" : [ "YES", "NO", "UNKNOWN" ]
1904419080
},
19081+
"airportWorker" : {
19082+
"type" : "string",
19083+
"enum" : [ "YES", "NO", "UNKNOWN" ]
19084+
},
1904519085
"assignee" : {
1904619086
"$ref" : "#/components/schemas/UserReferenceDto"
1904719087
},
@@ -19104,6 +19144,10 @@
1910419144
"maxLength" : 1000000,
1910519145
"minLength" : 0
1910619146
},
19147+
"healthcareProfessional" : {
19148+
"type" : "string",
19149+
"enum" : [ "YES", "NO", "UNKNOWN" ]
19150+
},
1910719151
"hiv" : {
1910819152
"type" : "string",
1910919153
"enum" : [ "YES", "NO", "UNKNOWN" ]
@@ -19138,10 +19182,25 @@
1913819182
"inJurisdiction" : {
1913919183
"type" : "boolean"
1914019184
},
19185+
"malaria" : {
19186+
"type" : "string",
19187+
"enum" : [ "YES", "NO", "UNKNOWN" ]
19188+
},
19189+
"malariaInfectedYear" : {
19190+
"type" : "integer",
19191+
"format" : "int32"
19192+
},
1914119193
"messageDateTime" : {
1914219194
"type" : "string",
1914319195
"format" : "date-time"
1914419196
},
19197+
"modeOfTransmission" : {
19198+
"type" : "string",
19199+
"enum" : [ "ANIMAL_TO_HUMAN", "FOOD_OR_WATER", "PERSON_TO_PERSON", "RECREATIONAL_WATER", "HEALTHCARE_ASSOCIATED", "INJECTING_DRUG_USERS", "LAB_OCCUPATIONAL_EXPOSURE", "MOTHER_TO_CHILD", "SEXUAL", "TRANSFUSION_RECIPIENT", "ORGAN_RECIPIENT", "MOSQUITOES_FROM_ENDEMIC_COUNTRY", "MOSQUITOES_BY_AIR", "MEDICAL_CARE", "MOSQUITOES_WITH_STRONG_EPI_EVIDENCE", "MOSQUITOES_WITHOUT_EVIDENCE", "FROM_MOTHER_TO_CHILD", "BY_LAB", "TRANSFUSION_TRANSPLANT_RECIPIENT", "OTHER", "UNKNOWN" ]
19200+
},
19201+
"modeOfTransmissionType" : {
19202+
"type" : "string"
19203+
},
1914519204
"notifierAddress" : {
1914619205
"type" : "string",
1914719206
"maxLength" : 1000000,
@@ -22232,7 +22291,7 @@
2223222291
},
2223322292
"serotype" : {
2223422293
"type" : "string",
22235-
"enum" : [ "DENV_1", "DENV_2", "DENV_3", "DENV_4", "OTHER" ]
22294+
"enum" : [ "DENV_1", "DENV_2", "DENV_3", "DENV_4", "UNKNOWN", "OTHER" ]
2223622295
},
2223722296
"serotypeText" : {
2223822297
"type" : "string",
@@ -25324,6 +25383,10 @@
2532425383
"type" : "string",
2532525384
"enum" : [ "YES", "NO", "UNKNOWN" ]
2532625385
},
25386+
"fatalRisk" : {
25387+
"type" : "string",
25388+
"enum" : [ "YES", "NO", "UNKNOWN" ]
25389+
},
2532725390
"fatigue" : {
2532825391
"type" : "string",
2532925392
"enum" : [ "YES", "NO", "UNKNOWN" ]
@@ -26562,7 +26625,13 @@
2656226625
"type" : "string"
2656326626
},
2656426627
"serotype" : {
26565-
"type" : "string"
26628+
"type" : "string",
26629+
"enum" : [ "DENV_1", "DENV_2", "DENV_3", "DENV_4", "UNKNOWN", "OTHER" ]
26630+
},
26631+
"serotypeText" : {
26632+
"type" : "string",
26633+
"maxLength" : 255,
26634+
"minLength" : 0
2656626635
},
2656726636
"specie" : {
2656826637
"type" : "string",

0 commit comments

Comments
 (0)