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.string)
    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(-1)
    @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;
    }
}

@@ -699,33 +699,32 @@
 n.%22)%0A    @Order(
--
 1)%0A    @Format(F
@@ -728,38 +728,40 @@
 t(Format.FORMAT.
-string
+textarea
 )%0A    private Ma
@@ -1013,10 +1013,9 @@
 der(
--1
+2
 )%0A  

Update SeClarity.java