Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions spec_objects_business/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ artifact_types: []
lint_rules: []
object_types:
- name: domain
allowed_links:
contains: [entity, aggregate_root, value_object, repository, event, state_machine, process, enumeration]
data_schema:
type: object
body_extraction:
Expand Down Expand Up @@ -58,6 +60,11 @@ object_types:
after_heading: Ubiquitous Language
required: false
- name: entity
roles: [domain-object, persistable]
allowed_links:
contains: [nested_entity, value_object]
owns: [state_machine]
references: [entity, aggregate_root, enumeration]
data_schema:
type: object
body_extraction:
Expand All @@ -71,6 +78,10 @@ object_types:
after_heading: Properties
required: true
- name: value_object
roles: [domain-object]
allowed_links:
composes: [value_object, enumeration]
references: [enumeration]
data_schema:
type: object
body_extraction:
Expand All @@ -88,6 +99,12 @@ object_types:
after_heading: Fields
required: false
- name: aggregate_root
roles: [domain-object, persistable]
allowed_links:
aggregates: [entity, nested_entity]
contains: [value_object]
emits: [event]
references: [aggregate_root, enumeration]
data_schema:
type: object
body_extraction:
Expand All @@ -101,6 +118,10 @@ object_types:
after_heading: Members
required: true
- name: nested_entity
roles: [domain-object]
allowed_links:
contains: [value_object]
references: [enumeration]
data_schema:
type: object
body_extraction:
Expand All @@ -114,6 +135,9 @@ object_types:
after_heading: Parent
required: true
- name: repository
allowed_links:
persists: [aggregate_root, entity]
references: [data_schema]
data_schema:
type: object
body_extraction:
Expand All @@ -127,6 +151,10 @@ object_types:
after_heading: Operations
required: true
- name: event
roles: [event-like]
allowed_links:
carries: [value_object, entity]
references: [aggregate_root, enumeration]
data_schema:
type: object
body_extraction:
Expand All @@ -141,6 +169,10 @@ object_types:
required: true
language: json
- name: state_machine
allowed_links:
transitions_to: [state_machine]
raises: [event]
references: [enumeration]
data_schema:
type: object
body_extraction:
Expand All @@ -155,6 +187,14 @@ object_types:
required: true
language: mermaid
- name: process
roles: [measurable]
allowed_links:
triggers: [process, action]
consumes: [event]
emits: [event]
reads: [aggregate_root, entity]
writes: [aggregate_root, entity]
operates_on: [domain-object]
data_schema:
type: object
body_extraction:
Expand Down Expand Up @@ -188,6 +228,8 @@ object_types:
after_heading: Algorithm
required: false
- name: enumeration
allowed_links:
references: [enumeration]
data_schema:
type: object
body_extraction:
Expand Down