diff --git a/enums/icarMilkingRemarksType.json b/enums/icarMilkingRemarksType.json new file mode 100644 index 0000000..72281e1 --- /dev/null +++ b/enums/icarMilkingRemarksType.json @@ -0,0 +1,13 @@ +{ + "description": "Enumeration for different possible milking-remarks.", + + "type": "string", + + "enum": [ + "AnimalSick", + "MilkingIncomplete", + "TeatSeparated", + "MilkedSeparately", + "SamplingFailed" + ] +} \ No newline at end of file diff --git a/resources/icarMilkingVisitEventResource.json b/resources/icarMilkingVisitEventResource.json index 350025d..a6a14d3 100644 --- a/resources/icarMilkingVisitEventResource.json +++ b/resources/icarMilkingVisitEventResource.json @@ -65,6 +65,12 @@ "items": { "$ref": "../types/icarMilkCharacteristicsType.json" } + }, + "milkingRemarks": { + "type": "array", + "items": { + "$ref": "../enums/icarMilkingRemarksType.json" + } } } }