syndicate-js/packages/core/local-protocols/schemas/mirror.prs

37 lines
942 B
Plaintext

version 1 .
Reflect = <reflect @thing #!any> .
Type = <type @thing #!any @type TypeName> .
Facet = <facet @thing #!any @facet #!any> .
Attribute = <attribute @thing #!any @attribute any> .
TypeName =
/ =entity
/ =facet
/ =actor
/ =space
/ =external
/ @other symbol .
# Entities - user controlled properties, but here are some suggestions
EntityClass = <entity-class @value any> .
# Facet
FacetActor = <actor @actor #!any> .
FacetAlive = <alive @alive bool> .
FacetChild = <child @child #!any> .
FacetParent = =root / <parent @parent #!any> .
FacetAssertion = <assertion @handle int @target #!any>.
FacetInertPreventers = <inert-preventers @inertPreventers int> .
# Actor
ActorName = <name @name any> .
ActorRoot = <root @root #!any> .
ActorStatus = =running / =done / <crashed @reason string> .
# Space
SpaceTaskCount = <task-count @taskCount int> .
SpaceActor = <actor @actor #!any> .
SpaceStatus = =running / =paused / =terminated .