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

37 lines
942 B
Plaintext
Raw Normal View History

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