gcube-model/src/main/java/org/gcube/resourcemanagement/model/reference/entities/facets/XSDSchemaFacet.java

27 lines
884 B
Java

/**
*
*/
package org.gcube.resourcemanagement.model.reference.entities.facets;
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.gcube.informationsystem.types.annotations.ISProperty;
import org.gcube.resourcemanagement.model.impl.entities.facets.XSDSchemaFacetImpl;
/**
* @author Luca Frosini (ISTI - CNR)
* https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#XSD_Schema_Facet
*/
@JsonDeserialize(as=XSDSchemaFacetImpl.class)
public interface XSDSchemaFacet extends SchemaFacet {
public static final String NAME = "XSDSchemaFacet"; // XSDSchemaFacet.class.getSimpleName();
public static final String DESCRIPTION = "Provide a way to store a JSON Schema";
public static final String VERSION = "1.0.0";
@ISProperty(mandatory=true, nullable=false)
public String getContent();
public void setContent(String content);
}