All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.relogiclabs.json.schema.internal.builder.JValidatorBuilder Maven / Gradle / Ivy

Go to download

The New JSON Schema prioritizes simplicity, conciseness, and readability, making it user-friendly and accessible without the need for extensive prior knowledge. It offers efficient read-write facilities, precise JSON document definition through various data types and functions, and extensibility to meet modern web service diverse requirements.

There is a newer version: 1.12.1
Show newest version
package com.relogiclabs.json.schema.internal.builder;

import com.relogiclabs.json.schema.type.JDataType;
import com.relogiclabs.json.schema.type.JFunction;
import com.relogiclabs.json.schema.type.JNode;
import com.relogiclabs.json.schema.type.JReceiver;
import com.relogiclabs.json.schema.type.JValidator;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

@Getter @Setter
@Accessors(fluent = true)
public class JValidatorBuilder extends JNodeBuilder {
    private JNode value;
    private List functions;
    private List dataTypes;
    private List receivers;
    private boolean optional;

    @Override
    public JValidator build() {
        return JValidator.from(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy