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;
    }
}

@@ -503,16 +503,42 @@
 Clarity%22
+,fr=%22Clart%C3%A9%22,es=%22Claridad%22
 )%0A    @D
@@ -874,16 +874,96 @@
 ss rate%22
+,fr=%22Taux de compl%C3%A9tude des m%C3%A9tadonn%C3%A9es%22,es=%22Porcentaje de integridad -Metadata%22
 )%0A    @D

Update SeClarity.java