Skip to content

Introduction ​

Datum is forms infrastructure you run in your own environment: your forms, your data, your keys. A form is designed once, as one JSON document, and rendered on any page. What comes out is the output you choose: a submission validated in a WASM sandbox on your own server, a PDF from a layout you designed or an existing PDF filled in, a printed page, a JSON record, a signature with a certificate or a passkey.

It is a set of packages you host, not a service you subscribe to. Datum's own code fetches nothing from a third party at runtime, so an air-gapped deployment works the same as any other. A design-system binding may load fonts, icons or images from a third-party host (Google Fonts, Adobe Fonts or the design system's own site); the table in Design-system bindings lists each.

The words on this site, such as definition, envelope, binding, journey and sandbox, each have one meaning. Concepts says how a form flows from the builder to the page, to your server and into a record, and defines every term in a line with a link to its page. Datum is pre-release: Release status says what that means for the contracts.

The pieces ​

PieceWhat it isWhere it runs
The form element<datum-form>, a web component that renders a definition, validates the answers and raises the submissionAny page, any framework
The builder<datum-form-builder>, the design surface: canvas, inspector, logic, data, journeys, PDF layouts, tests, languagesThe browser
The definitionOne JSON document: components, rules, journeys, layouts, translations, testsYour repository, your storage
The sandboxA WebAssembly runtime and the sandbox program in it, which validates a submissionYour server, and the page while you develop
The PDF programDraws a layout from the answers or fills an existing PDF, with tagging, PDF/A and signaturesThe browser or your server
A server hostEndpoints for definitions, submissions, PDFs, timestamps and passkeys, in your frameworkSpring Boot, FastAPI; more planned

Each piece stands on its own.

  • A team can design, test and publish a complete form with the first two alone.
  • The form element is the engine with a face on it: a page that wants the runtime, the rules and the validation without the element can use the engine on its own.
  • A person filling it in can print it, or download a PDF or the answers as a file.
  • When submissions should be kept in one place, signed with a server's key or verified centrally, a server host takes over without changing the form.

How a form flows ​

A form is designed in the builder, published on a page, filled in, submitted as a canonical envelope, checked again by your server in the sandbox, and kept as a record, with a PDF if you want one. Concepts walks the six steps and names what happens in each.

Where to go next ​

  • Concepts defines every term the site uses.
  • Getting started goes from the build to a form on a page of your own, a form you designed, and its answers on a server.
  • Building a form walks the builder's workspaces, and Components lists what a form is made of.
  • The definition is the one file a form is, and The form element lists every attribute, property, event and method.
  • Server hosts covers the Spring Boot and FastAPI packages, and what any other server needs.

Release status ​

Datum is pre-release, at version 0.1.0. This is the one place that says what is published; other pages link here instead of repeating it.

Today nothing is published to npm, Maven Central or PyPI, so you build from the repository.

The first release, 0.1.0, publishes:

WhereWhat
npm@argusvane/datum (the form and builder bundles), @argusvane/datum-conformance-suite and @argusvane/datum-form-test
GitHub ReleaseThe same bundles as plain script files, with the source maps
Maven CentralThe Spring Boot host, under the group com.argusvane
PyPIThe FastAPI host, as the argusvane-datum-* distributions

What is never a package of its own: the engine, the PDF kernel, the sandbox host and the submissions reference server (what ships of them is built into the packages above), the reference bindings, the PIV signing agent (it runs from the repository) and the other server hosts, which are documented as snippets.

What to expect from a 0.x release: the definition format and the program contracts can change between releases, and every change is recorded in the changelog. Security fixes go to the latest 0.x release and to main. Datum is tested on Linux.

Versions today:

WhatVersionWhere it shows
Packages0.1.0Every package
Sandbox program interface4.1.0Running the programs on your own server
PDF program interface4.0.0The same table
schemaVersion of a definitionany non-empty string; the examples use "1"The definition
  • The major number of an interface changes when a payload's shape breaks, and a host refuses a program built for another major.
  • A schemaVersion is compared for equality when a draft is restored, and nothing migrates a definition from one to another.
  • Deploy servers first or together with the browser bundle.

MIT licence. Your forms, your data, your keys.