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 SeClarity extends JSONEntity implements Serializable {

    @JsonProperty
    @Label(en="Clarity")
    @Description(en= "Extent to which easily comprehensible metadata are available. It indicates whether a resource is accompanied by appropriate metadata and other relevant documentation.")
    @Order(1)
    @Format(Format.FORMAT.textarea)
    private Map<String, String> clarity;

    @JsonProperty
    @Label(en="Metadata completeness rate")
    @Description(en= "The percentage of completeness of metadata offers a numerical evaluation of the extent to which the resource is documented.")
    @Order(2)
    @Format(Format.FORMAT.string)
    private Integer metadataCompletenessRate;


    public Map<String, String> getClarity() {
        return clarity;
    }

    public void setClarity(Map<String, String> clarity) {
        this.clarity = clarity;
    }

    public Integer getMetadataCompletenessRate() {
        return metadataCompletenessRate;
    }

    public void setMetadataCompletenessRate(Integer metadataCompletenessRate) {
        this.metadataCompletenessRate = metadataCompletenessRate;
    }
}

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 SeClarity extends JSONEntity implements Serializable {

    @JsonProperty
    @Label(en="Clarity",fr="Clarté",es="Claridad")
    @Description(en= "Extent to which easily comprehensible metadata are available. It indicates whether a resource is accompanied by appropriate metadata and other relevant documentation.")
    @Order(1)
    @Format(Format.FORMAT.textarea)
    private Map<String, String> clarity;

    @JsonProperty
    @Label(en="Metadata completeness rate",fr="Taux de complétude des métadonnées",es="Porcentaje de integridad -Metadata")
    @Description(en= "The percentage of completeness of metadata offers a numerical evaluation of the extent to which the resource is documented.")
    @Order(2)
    @Format(Format.FORMAT.string)
    private Integer metadataCompletenessRate;


    public Map<String, String> getClarity() {
        return clarity;
    }

    public void setClarity(Map<String, String> clarity) {
        this.clarity = clarity;
    }

    public Integer getMetadataCompletenessRate() {
        return metadataCompletenessRate;
    }

    public void setMetadataCompletenessRate(Integer metadataCompletenessRate) {
        this.metadataCompletenessRate = metadataCompletenessRate;
    }
}

Update SeClarity.java