ca.ibodrov.mica.api.model.ViewLike Maven / Gradle / Ivy
package ca.ibodrov.mica.api.model;
import com.fasterxml.jackson.databind.JsonNode;
import java.util.List;
import java.util.Optional;
public interface ViewLike {
String name();
Selector selector();
Data data();
Optional extends Validation> validation();
Optional parameters();
interface Selector {
Optional> includes();
String entityKind();
Optional> namePatterns();
}
interface Data {
String jsonPath();
Optional flatten();
Optional merge();
Optional jsonPatch();
Optional> dropProperties();
}
interface Validation {
String asEntityKind();
}
}