package org.fao.fenix.commons.msd.dto.full;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.fao.fenix.commons.annotations.Description;
import org.fao.fenix.commons.annotations.Format;
import org.fao.fenix.commons.annotations.Label;
import org.fao.fenix.commons.annotations.Order;
import org.fao.fenix.commons.msd.dto.JSONEntity;

import java.io.Serializable;
import java.util.Map;

public class SeDataValidation extends JSONEntity implements Serializable {

    @JsonProperty
    @Label(en="Data validation - intermediate")
    @Description(en= "Assessment of the quality and correctness of intermediate calculations leading to statistical outputs.")
    @Order(2)
    @Format(Format.FORMAT.textarea)
    private Map<String, String> dataValidationIntermediate;

    @JsonProperty
    @Label(en="Data validation - output")
    @Description(en= "Assessment of discrepancies and/or inaccuracies observed in the statistical outputs.")
    @Order(3)
    @Format(Format.FORMAT.textarea)
    private Map<String, String> dataValidationOutput;

    @JsonProperty
    @Label(en="Data validation - source")
    @Description(en= "Assessment of discrepancies and/or inaccuracies inherent to the data source.")
    @Order(1)
    @Format(Format.FORMAT.textarea)
    private Map<String, String> dataValidationSource;


    public Map<String, String> getDataValidationIntermediate() {
        return dataValidationIntermediate;
    }

    public void setDataValidationIntermediate(Map<String, String> dataValidationIntermediate) {
        this.dataValidationIntermediate = dataValidationIntermediate;
    }

    public Map<String, String> getDataValidationOutput() {
        return dataValidationOutput;
    }

    public void setDataValidationOutput(Map<String, String> dataValidationOutput) {
        this.dataValidationOutput = dataValidationOutput;
    }

    public Map<String, String> getDataValidationSource() {
        return dataValidationSource;
    }

    public void setDataValidationSource(Map<String, String> dataValidationSource) {
        this.dataValidationSource = dataValidationSource;
    }
}

@@ -533,18 +533,102 @@
 mediate%22
+, fr=%22Validation des donn%C3%A9es - interm%C3%A9diaire%22, es=%22Validaci%C3%B3n de datos - intermedio%22
 )%0A
-
     @Des
@@ -915,16 +915,89 @@
  output%22
+, fr=%22Validation des donn%C3%A9es - output%22, es=%22Validaci%C3%B3n de datos - salida%22
 )%0A    @D
@@ -1214,32 +1214,32 @@
   @JsonProperty%0A
-
     @Label(en=%22D
@@ -1262,16 +1262,90 @@
  source%22
+, fr=%22Validation des donn%C3%A9es - sources%22, es=%22Validaci%C3%B3n de datos - fuente%22
 )%0A    @D

Update SeDataValidation.java