Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


title: "Person" weight: 15 summary: "A Person represents a human user of your software system."

Person

A Person represents a human user of your software system (e.g., "Customer", "Admin", "Employee").

Syntax

import { * } from 'sruja.ai/stdlib'


ID = person "Label" {
description "Optional description"
tags ["tag1", "tag2"]
}

Example

import { * } from 'sruja.ai/stdlib'


Customer = person "Bank Customer" {
description "A customer of the bank with personal accounts."
}