tupelo.schema

Prismatic Schema type definitions

Array

An ordered sequence of vectors.

CharVec

An ordered sequence of characters of indeterminate length.

Collection

Any collection type of Vec (& List), Map, or Set

EnliveNode

An Enlive tree node

Fn

HttpRequest

Interceptor

Plumatic Schema type name for interceptor type used by `walk-entity`.

KeyMap

List

An ordered sequence of items of indeterminate length (synonymous for Vec).

Map

MapEntry

MapList

Pair

Quad

Quarter

Set

Either a Clojure hash-set or a java.util.HashSet

Single

TagVal

Triple

Tuple

A specific type of sequential collection, typically a vector of constant length where each
element has a pre-defined interpretation.

TupleList

A sequence of tuples (typically a vector of vectors)

TupleMap

TupleMaps

TupleSet

The result of any Datomic using the Entity API is logically a hash-set of tuples (vectors).
The contents and order of each tuple is determined by the find clause:

     ----- query -----                         ----- tuples -----
   (d/q '{:find [?e ?name ?age] ...)     ->    [?e ?name ?age]

Vec

An ordered sequence of items of indeterminate length (synonymous for List).

with-validation-disabled

macro

(with-validation-disabled & forms)
Run forms with Plumatic Schema disabled

with-validation-enabled

macro

(with-validation-enabled & forms)
Run forms with Plumatic Schema enabled