arachne.core.config.model

Utilities for creating a configuration schema using a richer data model.

attr

(attr & args)
Build an attribute definition map using a sequence of 'shorthand' keywords.

See the source for arachne/core/schema.clj for usage examples.

rules

Datalog rules to determine type relationships in an Arachne config. Provided rules are:

- (supertype ?supertype ?subtype) - determine supertype/subtype relationships (including transitively)
- (type ?type ?entity) - determine what entities are instances of what types (if possible), based on its attributes.

type

(type & args)
Build a type definition map, returning a seq of txdata.

See the source for arachne/core/schema.clj for usage examples.

The `specs` arg should only be provided if the type being defined extends component.