com.networknt.oas.model.Schema Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-parser Show documentation
Show all versions of openapi-parser Show documentation
A light-weight, fast OpenAPI 3.0 parser and validator
/*******************************************************************************
* Copyright (c) 2017 ModelSolv, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* ModelSolv, Inc. - initial API and implementation and/or initial documentation
*******************************************************************************/
package com.networknt.oas.model;
import java.util.List;
import java.util.Map;
import com.networknt.jsonoverlay.IJsonOverlay;
import com.networknt.jsonoverlay.IModelPart;
public interface Schema extends IJsonOverlay, IModelPart {
String getName();
// Title
String getTitle();
void setTitle(String title);
// MultipleOf
Number getMultipleOf();
void setMultipleOf(Number multipleOf);
// Maximum
Number getMaximum();
void setMaximum(Number maximum);
// ExclusiveMaximum
Boolean getExclusiveMaximum();
boolean isExclusiveMaximum();
void setExclusiveMaximum(Boolean exclusiveMaximum);
// Minimum
Number getMinimum();
void setMinimum(Number minimum);
// ExclusiveMinimum
Boolean getExclusiveMinimum();
boolean isExclusiveMinimum();
void setExclusiveMinimum(Boolean exclusiveMinimum);
// MaxLength
Integer getMaxLength();
void setMaxLength(Integer maxLength);
// MinLength
Integer getMinLength();
void setMinLength(Integer minLength);
// Pattern
String getPattern();
void setPattern(String pattern);
// MaxItems
Integer getMaxItems();
void setMaxItems(Integer maxItems);
// MinItems
Integer getMinItems();
void setMinItems(Integer minItems);
// UniqueItems
Boolean getUniqueItems();
boolean isUniqueItems();
void setUniqueItems(Boolean uniqueItems);
// MaxProperties
Integer getMaxProperties();
void setMaxProperties(Integer maxProperties);
// MinProperties
Integer getMinProperties();
void setMinProperties(Integer minProperties);
// RequiredField
List getRequiredFields();
List getRequiredFields(boolean elaborate);
boolean hasRequiredFields();
String getRequiredField(int index);
void setRequiredFields(List requiredFields);
void setRequiredField(int index, String requiredField);
void addRequiredField(String requiredField);
void insertRequiredField(int index, String requiredField);
void removeRequiredField(int index);
// Enum
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy