com.atlassian.json.schema.model.ObjectSchema Maven / Gradle / Ivy
package com.atlassian.json.schema.model;
import com.atlassian.json.schema.SchemaType;
import java.util.Map;
import java.util.Set;
public class ObjectSchema extends BasicSchema
{
private Map properties;
private Set required;
private Integer maxProperties;
private Integer minProperties;
private Boolean additionalProperties;
private Set patternProperties;
private Map> dependencies;
public ObjectSchema()
{
setType(SchemaType.OBJECT.name().toLowerCase());
}
public Map getProperties()
{
return properties;
}
public void setProperties(Map properties)
{
this.properties = properties;
}
public Set getRequired()
{
return required;
}
public void setRequired(Set required)
{
this.required = required;
}
public Integer getMaxProperties()
{
return maxProperties;
}
public void setMaxProperties(Integer maxProperties)
{
this.maxProperties = maxProperties;
}
public Integer getMinProperties()
{
return minProperties;
}
public void setMinProperties(Integer minProperties)
{
this.minProperties = minProperties;
}
public Boolean getAdditionalProperties()
{
return additionalProperties;
}
public void setAdditionalProperties(Boolean additionalProperties)
{
this.additionalProperties = additionalProperties;
}
public Set getPatternProperties()
{
return patternProperties;
}
public void setPatternProperties(Set patternProperties)
{
this.patternProperties = patternProperties;
}
public Map> getDependencies()
{
return dependencies;
}
public void setDependencies(Map> dependencies)
{
this.dependencies = dependencies;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy