{"openapi":"3.1.0","info":{"title":"Stampy","description":"","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/api\/DosingPumpTreat\/Farms\/{FarmCode}":{"get":{"operationId":"api_DosingPumpTreatFarms_FarmCode_get_collection","tags":["Data"],"responses":{"200":{"description":"Data collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data-piglink.read"}}},"application\/ld+json":{"schema":{"type":"object","description":"Data.jsonld-piglink.read collection.","allOf":[{"$ref":"#\/components\/schemas\/HydraCollectionBaseSchema"},{"type":"object","required":["member"],"properties":{"member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data.jsonld-piglink.read"}}}}]}}}}},"summary":"Retrieves the collection of Data resources.","description":"Retrieves the collection of Data resources.","parameters":[{"name":"FarmCode","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"schema":{"type":"integer","default":1},"style":"form","explode":true},{"name":"DtStart","in":"query","description":"Date de d\u00e9but de collecte (AAAA-MM-JJ), sur la date de d\u00e9but des traitements","required":true,"deprecated":false,"schema":{"type":"string","format":"date"},"style":"form","explode":true},{"name":"Dtend","in":"query","description":"Date de fin de collecte (AAAA-MM-JJ), sur la date de d\u00e9but des traitements","required":false,"deprecated":false,"schema":{"type":"string","format":"date"},"style":"form","explode":true}]}},"\/api\/DosingPumpTreat\/Farms\/{FarmCode}\/Buildings\/{BuildingCode}":{"get":{"operationId":"api_DosingPumpTreatFarms_FarmCodeBuildings_BuildingCode_get_collection","tags":["Data"],"responses":{"200":{"description":"Data collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data-piglink.read"}}},"application\/ld+json":{"schema":{"type":"object","description":"Data.jsonld-piglink.read collection.","allOf":[{"$ref":"#\/components\/schemas\/HydraCollectionBaseSchema"},{"type":"object","required":["member"],"properties":{"member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data.jsonld-piglink.read"}}}}]}}}}},"summary":"Retrieves the collection of Data resources.","description":"Retrieves the collection of Data resources.","parameters":[{"name":"FarmCode","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"BuildingCode","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"schema":{"type":"integer","default":1},"style":"form","explode":true},{"name":"DtStart","in":"query","description":"Date de d\u00e9but de collecte (AAAA-MM-JJ), sur la date de d\u00e9but des traitements","required":true,"deprecated":false,"schema":{"type":"string","format":"date"},"style":"form","explode":true},{"name":"Dtend","in":"query","description":"Date de fin de collecte (AAAA-MM-JJ), sur la date de d\u00e9but des traitements","required":false,"deprecated":false,"schema":{"type":"string","format":"date"},"style":"form","explode":true}]}},"\/api\/DosingPumpTreat\/Farms\/{FarmCode}\/Buildings\/{BuildingCode}\/Rooms\/{RoomCode}":{"get":{"operationId":"api_DosingPumpTreatFarms_FarmCodeBuildings_BuildingCodeRooms_RoomCode_get_collection","tags":["Data"],"responses":{"200":{"description":"Data collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data-piglink.read"}}},"application\/ld+json":{"schema":{"type":"object","description":"Data.jsonld-piglink.read collection.","allOf":[{"$ref":"#\/components\/schemas\/HydraCollectionBaseSchema"},{"type":"object","required":["member"],"properties":{"member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data.jsonld-piglink.read"}}}}]}}}}},"summary":"Retrieves the collection of Data resources.","description":"Retrieves the collection of Data resources.","parameters":[{"name":"FarmCode","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"BuildingCode","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"RoomCode","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"schema":{"type":"integer","default":1},"style":"form","explode":true},{"name":"DtStart","in":"query","description":"Date de d\u00e9but de collecte (AAAA-MM-JJ), sur la date de d\u00e9but des traitements","required":true,"deprecated":false,"schema":{"type":"string","format":"date"},"style":"form","explode":true},{"name":"Dtend","in":"query","description":"Date de fin de collecte (AAAA-MM-JJ), sur la date de d\u00e9but des traitements","required":false,"deprecated":false,"schema":{"type":"string","format":"date"},"style":"form","explode":true}]}},"\/api\/DosingPumpTreat\/Farms\/{FarmCode}\/Buildings\/{BuildingCode}\/Rooms\/{RoomCode}\/Pens\/{PenCode}":{"get":{"operationId":"api_DosingPumpTreatFarms_FarmCodeBuildings_BuildingCodeRooms_RoomCodePens_PenCode_get_collection","tags":["Data"],"responses":{"200":{"description":"Data collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data-piglink.read"}}},"application\/ld+json":{"schema":{"type":"object","description":"Data.jsonld-piglink.read collection.","allOf":[{"$ref":"#\/components\/schemas\/HydraCollectionBaseSchema"},{"type":"object","required":["member"],"properties":{"member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data.jsonld-piglink.read"}}}}]}}}}},"summary":"Retrieves the collection of Data resources.","description":"Retrieves the collection of Data resources.","parameters":[{"name":"FarmCode","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"BuildingCode","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"RoomCode","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"PenCode","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"schema":{"type":"integer","default":1},"style":"form","explode":true},{"name":"DtStart","in":"query","description":"Date de d\u00e9but de collecte (AAAA-MM-JJ), sur la date de d\u00e9but des traitements","required":true,"deprecated":false,"schema":{"type":"string","format":"date"},"style":"form","explode":true},{"name":"Dtend","in":"query","description":"Date de fin de collecte (AAAA-MM-JJ), sur la date de d\u00e9but des traitements","required":false,"deprecated":false,"schema":{"type":"string","format":"date"},"style":"form","explode":true}]}},"\/api\/data":{"get":{"operationId":"api_data_get_collection","tags":["Data"],"responses":{"200":{"description":"Data collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data"}}},"application\/ld+json":{"schema":{"type":"object","description":"Data.jsonld collection.","allOf":[{"$ref":"#\/components\/schemas\/HydraCollectionBaseSchema"},{"type":"object","required":["member"],"properties":{"member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data.jsonld"}}}}]}}}}},"summary":"Retrieves the collection of Data resources.","description":"Retrieves the collection of Data resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"schema":{"type":"integer","default":1},"style":"form","explode":true}]},"post":{"operationId":"api_data_post","tags":["Data"],"responses":{"201":{"description":"Data resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Data"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Data.jsonld"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation"}}},"links":{}}},"summary":"Creates a Data resource.","description":"Creates a Data resource.","parameters":[],"requestBody":{"description":"The new Data resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Data-doser.write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Data-doser.write"}}},"required":true}}},"\/api\/data\/by-piglink-ref\/{piglinkRef}":{"get":{"operationId":"api_databy-piglink-ref_piglinkRef_get","tags":["Data"],"responses":{"200":{"description":"Data resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Data-piglink.read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Data.jsonld-piglink.read"}}}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Data resource.","description":"Retrieves a Data resource.","parameters":[{"name":"piglinkRef","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false}]}},"\/api\/data\/by-serial-number\/{serialNumberSD}":{"get":{"operationId":"api_databy-serial-number_serialNumberSD_get_collection","tags":["Data"],"responses":{"200":{"description":"Data collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data-piglink.read"}}},"application\/ld+json":{"schema":{"type":"object","description":"Data.jsonld-piglink.read collection.","allOf":[{"$ref":"#\/components\/schemas\/HydraCollectionBaseSchema"},{"type":"object","required":["member"],"properties":{"member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Data.jsonld-piglink.read"}}}}]}}}}},"summary":"Retrieves the collection of Data resources.","description":"Retrieves the collection of Data resources.","parameters":[{"name":"serialNumberSD","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"schema":{"type":"integer","default":1},"style":"form","explode":true}]}},"\/api\/data\/{id}":{"get":{"operationId":"api_data_id_get","tags":["Data"],"responses":{"200":{"description":"Data resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Data"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Data.jsonld"}}}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Data resource.","description":"Retrieves a Data resource.","parameters":[{"name":"id","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false}]},"delete":{"operationId":"api_data_id_delete","tags":["Data"],"responses":{"204":{"description":"Data resource deleted"},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the Data resource.","description":"Removes the Data resource.","parameters":[{"name":"id","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false}]},"patch":{"operationId":"api_data_id_patch","tags":["Data"],"responses":{"200":{"description":"Data resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Data"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Data.jsonld"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Updates the Data resource.","description":"Updates the Data resource.","parameters":[{"name":"id","in":"path","description":"Data identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false}],"requestBody":{"description":"The updated Data resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Data-doser.write.jsonMergePatch"}}},"required":true}}}},"components":{"schemas":{"ConstraintViolation":{"type":"object","description":"Unprocessable entity","properties":{"status":{"default":422,"type":"integer"},"violations":{"type":"array","items":{"type":"object","properties":{"propertyPath":{"type":"string","description":"The property path of the violation"},"message":{"type":"string","description":"The message associated with the violation"},"code":{"type":"string","description":"The code of the violation"},"hint":{"type":"string","description":"An extra hint to understand the violation"},"payload":{"type":"object","additionalProperties":true,"description":"The serialized payload of the violation"}},"required":["propertyPath","message"]}},"detail":{"readOnly":true,"type":"string"},"type":{"readOnly":true,"type":"string"},"title":{"readOnly":true,"type":["string","null"]},"instance":{"readOnly":true,"type":["string","null"]}}},"ConstraintViolation.jsonld":{"allOf":[{"$ref":"#\/components\/schemas\/HydraItemBaseSchema"},{"type":"object","properties":{"status":{"default":422,"type":"integer"},"violations":{"type":"array","items":{"type":"object","properties":{"propertyPath":{"type":"string","description":"The property path of the violation"},"message":{"type":"string","description":"The message associated with the violation"},"code":{"type":"string","description":"The code of the violation"},"hint":{"type":"string","description":"An extra hint to understand the violation"},"payload":{"type":"object","additionalProperties":true,"description":"The serialized payload of the violation"}},"required":["propertyPath","message"]}},"detail":{"readOnly":true,"type":"string"},"description":{"readOnly":true,"type":"string"},"type":{"readOnly":true,"type":"string"},"title":{"readOnly":true,"type":["string","null"]},"instance":{"readOnly":true,"type":["string","null"]}}}],"description":"Unprocessable entity"},"Data":{"type":"object","properties":{"id":{"readOnly":true,"type":"integer"},"piglinkRefList":{"type":["array","null"],"items":{"type":"string"}},"supplierRef":{"type":"array","items":{"type":"string"}},"serialNumberSD":{"type":"string"},"ucid":{"description":"UCID (Unique Chip ID) d\u00e9clar\u00e9 par le doser \u2014 sert de secret d'appairage\npour que le propri\u00e9taire puisse revendiquer sa pompe c\u00f4t\u00e9 portail.","type":["string","null"]},"equipment":{"type":"string"},"installationDateSD":{"type":["string","null"],"format":"date-time"},"lastDiagnosisDate":{"type":["string","null"],"format":"date-time"},"lastDiagnosisResult":{"type":["integer","null"]},"lastMaintenanceDate":{"type":["string","null"],"format":"date-time"},"batteryDefect":{"default":false,"type":"boolean"},"maintenanceRequired":{"type":["boolean","null"]},"softwareVersion":{"pattern":"^(\\d+\\.\\d+\\.\\d+\\.\\d+ B\\d+)$","example":"1.2.3.4 B567","type":"string"},"date":{"type":["string","null"],"format":"date-time"},"room":{"type":"array","items":{"type":"string"}},"treatmentType":{"type":["string","null"],"enum":["MED","VAC","ACI","RIN","DIS","BLT","OTH",null]},"treatmentMed":{"type":["string","null"]},"startUpVolume":{"type":["number","null"]},"treatmentStart":{"type":["string","null"],"format":"date-time"},"treatmentDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"0d 07:54:23","type":"string"},"waterConsumption":{"type":"number"},"treatmentConsumption":{"type":"number"},"dosage":{"type":"number"},"stopReason":{"type":["string","null"],"enum":["EMP","MAN",null]},"alarmType":{"type":["array","null"],"items":{"type":"string"}},"alarmOccurence":{"type":["array","null"],"items":{"type":"string"}},"noConsumptionDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"15d 12:05:18","type":"string"},"noTreatedQuantity":{"type":"number"},"status":{"default":false,"type":"boolean"}}},"Data-doser.write":{"type":"object","properties":{"supplierRef":{"type":"array","items":{"type":"string"}},"serialNumberSD":{"type":"string"},"ucid":{"description":"UCID (Unique Chip ID) d\u00e9clar\u00e9 par le doser \u2014 sert de secret d'appairage\npour que le propri\u00e9taire puisse revendiquer sa pompe c\u00f4t\u00e9 portail.","type":["string","null"]},"equipment":{"type":"string"},"installationDateSD":{"type":["string","null"],"format":"date-time"},"lastDiagnosisDate":{"type":["string","null"],"format":"date-time"},"lastDiagnosisResult":{"type":["integer","null"]},"lastMaintenanceDate":{"type":["string","null"],"format":"date-time"},"batteryDefect":{"default":false,"type":"boolean"},"maintenanceRequired":{"type":["boolean","null"]},"softwareVersion":{"pattern":"^(\\d+\\.\\d+\\.\\d+\\.\\d+ B\\d+)$","example":"1.2.3.4 B567","type":"string"},"date":{"type":["string","null"],"format":"date-time"},"room":{"type":"array","items":{"type":"string"}},"treatmentType":{"type":["string","null"],"enum":["MED","VAC","ACI","RIN","DIS","BLT","OTH",null]},"treatmentMed":{"type":["string","null"]},"startUpVolume":{"type":["number","null"]},"treatmentStart":{"type":["string","null"],"format":"date-time"},"treatmentDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"0d 07:54:23","type":"string"},"waterConsumption":{"type":"number"},"treatmentConsumption":{"type":"number"},"dosage":{"type":"number"},"stopReason":{"type":["string","null"],"enum":["EMP","MAN",null]},"alarmType":{"type":["array","null"],"items":{"type":"string"}},"alarmOccurence":{"type":["array","null"],"items":{"type":"string"}},"noConsumptionDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"15d 12:05:18","type":"string"},"noTreatedQuantity":{"type":"number"},"status":{"default":false,"type":"boolean"}}},"Data-doser.write.jsonMergePatch":{"type":"object","properties":{"supplierRef":{"type":"array","items":{"type":"string"}},"serialNumberSD":{"type":"string"},"ucid":{"description":"UCID (Unique Chip ID) d\u00e9clar\u00e9 par le doser \u2014 sert de secret d'appairage\npour que le propri\u00e9taire puisse revendiquer sa pompe c\u00f4t\u00e9 portail.","type":["string","null"]},"equipment":{"type":"string"},"installationDateSD":{"type":["string","null"],"format":"date-time"},"lastDiagnosisDate":{"type":["string","null"],"format":"date-time"},"lastDiagnosisResult":{"type":["integer","null"]},"lastMaintenanceDate":{"type":["string","null"],"format":"date-time"},"batteryDefect":{"default":false,"type":"boolean"},"maintenanceRequired":{"type":["boolean","null"]},"softwareVersion":{"pattern":"^(\\d+\\.\\d+\\.\\d+\\.\\d+ B\\d+)$","example":"1.2.3.4 B567","type":"string"},"date":{"type":["string","null"],"format":"date-time"},"room":{"type":"array","items":{"type":"string"}},"treatmentType":{"type":["string","null"],"enum":["MED","VAC","ACI","RIN","DIS","BLT","OTH",null]},"treatmentMed":{"type":["string","null"]},"startUpVolume":{"type":["number","null"]},"treatmentStart":{"type":["string","null"],"format":"date-time"},"treatmentDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"0d 07:54:23","type":"string"},"waterConsumption":{"type":"number"},"treatmentConsumption":{"type":"number"},"dosage":{"type":"number"},"stopReason":{"type":["string","null"],"enum":["EMP","MAN",null]},"alarmType":{"type":["array","null"],"items":{"type":"string"}},"alarmOccurence":{"type":["array","null"],"items":{"type":"string"}},"noConsumptionDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"15d 12:05:18","type":"string"},"noTreatedQuantity":{"type":"number"},"status":{"default":false,"type":"boolean"}}},"Data-piglink.read":{"type":"object","properties":{"piglinkRefList":{"type":["array","null"],"items":{"type":"string"}},"lastMaintenanceDate":{"type":["string","null"],"format":"date-time"},"treatmentType":{"type":["string","null"],"enum":["MED","VAC","ACI","RIN","DIS","BLT","OTH",null]},"treatmentMed":{"type":["string","null"]},"treatmentStart":{"type":["string","null"],"format":"date-time"},"treatmentDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"0d 07:54:23","type":"string"},"waterConsumption":{"type":"number"},"treatmentConsumption":{"type":"number"},"dosage":{"type":"number"},"stopReason":{"type":["string","null"],"enum":["EMP","MAN",null]},"alarmType":{"type":["array","null"],"items":{"type":"string"}},"alarmOccurence":{"type":["array","null"],"items":{"type":"string"}},"noConsumptionDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"15d 12:05:18","type":"string"},"noTreatedQuantity":{"type":"number"},"status":{"default":false,"type":"boolean"}}},"Data.jsonld":{"allOf":[{"$ref":"#\/components\/schemas\/HydraItemBaseSchema"},{"type":"object","properties":{"id":{"readOnly":true,"type":"integer"},"piglinkRefList":{"type":["array","null"],"items":{"type":"string"}},"supplierRef":{"type":"array","items":{"type":"string"}},"serialNumberSD":{"type":"string"},"ucid":{"description":"UCID (Unique Chip ID) d\u00e9clar\u00e9 par le doser \u2014 sert de secret d'appairage\npour que le propri\u00e9taire puisse revendiquer sa pompe c\u00f4t\u00e9 portail.","type":["string","null"]},"equipment":{"type":"string"},"installationDateSD":{"type":["string","null"],"format":"date-time"},"lastDiagnosisDate":{"type":["string","null"],"format":"date-time"},"lastDiagnosisResult":{"type":["integer","null"]},"lastMaintenanceDate":{"type":["string","null"],"format":"date-time"},"batteryDefect":{"default":false,"type":"boolean"},"maintenanceRequired":{"type":["boolean","null"]},"softwareVersion":{"pattern":"^(\\d+\\.\\d+\\.\\d+\\.\\d+ B\\d+)$","example":"1.2.3.4 B567","type":"string"},"date":{"type":["string","null"],"format":"date-time"},"room":{"type":"array","items":{"type":"string"}},"treatmentType":{"type":["string","null"],"enum":["MED","VAC","ACI","RIN","DIS","BLT","OTH",null]},"treatmentMed":{"type":["string","null"]},"startUpVolume":{"type":["number","null"]},"treatmentStart":{"type":["string","null"],"format":"date-time"},"treatmentDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"0d 07:54:23","type":"string"},"waterConsumption":{"type":"number"},"treatmentConsumption":{"type":"number"},"dosage":{"type":"number"},"stopReason":{"type":["string","null"],"enum":["EMP","MAN",null]},"alarmType":{"type":["array","null"],"items":{"type":"string"}},"alarmOccurence":{"type":["array","null"],"items":{"type":"string"}},"noConsumptionDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"15d 12:05:18","type":"string"},"noTreatedQuantity":{"type":"number"},"status":{"default":false,"type":"boolean"}}}]},"Data.jsonld-piglink.read":{"allOf":[{"$ref":"#\/components\/schemas\/HydraItemBaseSchema"},{"type":"object","properties":{"piglinkRefList":{"type":["array","null"],"items":{"type":"string"}},"lastMaintenanceDate":{"type":["string","null"],"format":"date-time"},"treatmentType":{"type":["string","null"],"enum":["MED","VAC","ACI","RIN","DIS","BLT","OTH",null]},"treatmentMed":{"type":["string","null"]},"treatmentStart":{"type":["string","null"],"format":"date-time"},"treatmentDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"0d 07:54:23","type":"string"},"waterConsumption":{"type":"number"},"treatmentConsumption":{"type":"number"},"dosage":{"type":"number"},"stopReason":{"type":["string","null"],"enum":["EMP","MAN",null]},"alarmType":{"type":["array","null"],"items":{"type":"string"}},"alarmOccurence":{"type":["array","null"],"items":{"type":"string"}},"noConsumptionDuration":{"pattern":"^(.*(^\\d+d (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$).*)$","example":"15d 12:05:18","type":"string"},"noTreatedQuantity":{"type":"number"},"status":{"default":false,"type":"boolean"}}}]},"Error":{"type":"object","description":"A representation of common errors.","properties":{"title":{"readOnly":true,"description":"A short, human-readable summary of the problem.","type":["string","null"]},"detail":{"readOnly":true,"description":"A human-readable explanation specific to this occurrence of the problem.","type":["string","null"]},"status":{"type":["integer","null"],"examples":[404],"default":400},"instance":{"readOnly":true,"description":"A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.","type":["string","null"]},"type":{"readOnly":true,"description":"A URI reference that identifies the problem type","type":"string"}}},"Error.jsonld":{"allOf":[{"$ref":"#\/components\/schemas\/HydraItemBaseSchema"},{"type":"object","properties":{"title":{"readOnly":true,"description":"A short, human-readable summary of the problem.","type":["string","null"]},"detail":{"readOnly":true,"description":"A human-readable explanation specific to this occurrence of the problem.","type":["string","null"]},"status":{"type":["integer","null"],"examples":[404],"default":400},"instance":{"readOnly":true,"description":"A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.","type":["string","null"]},"type":{"readOnly":true,"description":"A URI reference that identifies the problem type","type":"string"},"description":{"readOnly":true,"type":["string","null"]}}}],"description":"A representation of common errors."},"HydraCollectionBaseSchema":{"allOf":[{"$ref":"#\/components\/schemas\/HydraCollectionBaseSchemaNoPagination"},{"type":"object","properties":{"view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"first":{"type":"string","format":"iri-reference"},"last":{"type":"string","format":"iri-reference"},"previous":{"type":"string","format":"iri-reference"},"next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","@type":"string","first":"string","last":"string","previous":"string","next":"string"}}}}]},"HydraCollectionBaseSchemaNoPagination":{"type":"object","properties":{"totalItems":{"type":"integer","minimum":0},"search":{"type":"object","properties":{"@type":{"type":"string"},"template":{"type":"string"},"variableRepresentation":{"type":"string"},"mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":["string","null"]},"required":{"type":"boolean"}}}}}}}},"HydraItemBaseSchema":{"type":"object","properties":{"@context":{"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"type":"string"},"@type":{"type":"string"}},"required":["@id","@type"]}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{}},"security":[],"tags":[{"name":"Data","description":"Resource 'Data' operations."}],"webhooks":{}}