Audience#
An Audience represents a population of people who use the System, grouped by their business relationship to the organization operating it.
People with the same kind of business relationship belong to the same Audience, even when they work for different organizations. Differences in departments, responsibilities, or permissions do not create separate Audiences. Roles distinguish access to Processes within an Audience.
An Audience represents people, not software components or execution mechanisms. Automated Processes reference the Audience whose business work they support.
Each Audience's description explains who those people are and their business relationship to the operating organization. User, Role, and access-grant management are provided separately by the runtime and are outside System Design.
The produced file is audiences/<audience-name>.json; it follows Audience.schema.json.
| Property | Meaning |
|---|---|
name |
Audience name, unique among Audiences in this System and used in references and its filename. |
description |
Who these people are and their business relationship to the operating organization. |
context |
Optional typed fields identifying whom these people represent or their business scope. Values are assigned separately by the runtime's access administration. |
People can execute a Process through a user interface, an API-backed application or a chat tool.
For example, a retail System can serve Employees and Customers. A procurement System can serve Employees and Suppliers. A transport System can serve Employees, Customers and Transporters. The System's author identifies the Audiences appropriate to its purpose.
An Audience has a name and documentation explaining its population and business relationship. Each Process declares one required audience, using the exact Audience name. The Audience's Process list is read from those references; do not store a second list in the Audience file. Internal, scheduled and message-driven Processes also declare the Audience whose work they support. Their channels determine how they can be invoked, not this association.
The Audience specification is Audience.schema.json.
Context#
An Audience may declare context fields identifying the business entities or scope its users represent. Declare fields, not actual assignments. Each field has a unique name, a label, a type and an optional description. Types and constraints follow Process Inputs: a reference uses collection; an object or array uses schema.
The System author chooses these fields from the business relationships. For example, people representing independent suppliers can share one Suppliers Audience with a supplier reference in its context. Do not create one Audience per supplier or add context when the business relationship does not need it.
The runtime's access administration assigns values for all declared context fields when granting an Audience scope to a Role. A Role can cover several Systems and Audiences; their context values remain separate. If the Audience has no context fields, that scope has no context bindings. Actual Users, Roles and binding values are not authored in AISDL.
A Process Input can use source: {"audience": "Suppliers", "field": "supplier"} to receive an assigned value. The source Audience must be the Process's own Audience. Field and Input names need not match. This declaration does not grant access; it states where that Input's trusted business value comes from. See Process Inputs.
{
"name": "Suppliers",
"description": "People representing supplier organizations that provide goods and services to the organization operating the System.",
"context": [
{"name": "supplier", "label": "Supplier", "type": "reference", "collection": "Supplier"}
]
}
The Supplier Collection is declared separately. The context reference carries a Supplier record's identity, not the whole record. Different authorized assignments can select different Supplier records while using the same Audience definition.
JSON Example#
{
"name": "Employees",
"description": "People working for the organization operating the System who maintain supplier information for purchasing activities."
}
The ReadSupplier Process declares "audience": "Employees". The referenced Audience must exist in the System. This association describes business responsibility; it does not configure access permissions.