Prismatic's Schema for Server and Client-Side Data Shape Declaration and Validation
summary
Library called Schema declares shapes as data and performs runtime validation of maps, sequences, tuples and functions in Clojure and ClojureScript. It adds optional defn/defrecord annotations, lets teams enable validation selectively during tests, and keeps client and server in sync via ClojureScript client/server sharing. The team generates Objective‑C/Java classes from schemas, reduces duplicated parsing code, and reports that these tools run in production and speed up onboarding and API stability.
AI-written summary · about
chapters (10)
- 0:00Introduction to schema
- 2:18Motivation and pain points
- 10:48Defining data structures
- 15:16Validation mechanisms
- 17:58Typing versus communication
- 20:03Namespace structure practices
- 24:04Schemas as data
- 26:22Advanced schema examples
- 37:24Extensibility and generation
- 44:40Q&A session
related talks
48mContracts & Clojure: The Best-Yet Compromise of Types and Tests
24mSpeculative Development
29mSchemas: The Key To Data Happiness
04mLightning Talk JSON Schema
28mHow startups can move fast with Clojure
25mFull-stack forms with JSON Schemas
12mShared Schema Policies and Automatic Standards Across Your Company’s Teams
27mType Your Data!
