UML Diagram & Text
UML diagram
This diagram includes all elements necessary for a complete REA-based core economic vocabulary, so includes elements that we re-use from other vocabularies. All namespaces are documented by the prefix to each element.
The arrows point towards a single instance of the class at the end of the arrow, relational-style. So each arrow represents an additional property in the class at the beginning of the arrow. The subordinate classes in the gray section at the bottom are not connected with arrows, so the viewer should assume that every property ending in "Quantity" is a om2:Measure; every property ending in "Duration" is a time:Duration, and every property ending in "Location" is a geo:SpatialThing.
To make the diagram bigger, you can right click and select 'View Image' or 'Open Image in New Tab' or a similar command in your browser.
Subject area overviews
Agent
The Agent subject area defines roles in the Knowledge Layer and defines agents and their relationships in the Observation Layer. More info at Agent concepts.
vf:Agent
The Valueflows view of Agent is fairly broad, including people, organizations (formal or informal), and ecological agents such as non-human beings and ecosystems. But all of these have economic or governance agency of some sort.
Agents are key to the overall ontology, particularly the flows in Planning and Observation: Intents, Commitments, EconomicEvents, Claims, where each can reference a provider and receiver Agent. Proposals can be published to Agent(s), and Agents can have many AgentRelationships with other Agents of any type.
There are 3 subclasses of Agent: vf:Person, vf:Organization, and vf:EcologicalAgent.
vf:AgentRelationship
The subject and object of an AgentRelationship are Agents. Their role the subject plays in relation to the object is represented by the AgentRelationshipRole. Agents can have multiple relationships and multiple kinds of relationships in the same network.
vf:AgentRelationshipRole
Agent relationship roles define the roles or types of agent relationships within a network, completely defined by the network itself. Each role has a RoleBehavior. Roles can be a good base to define user account permissions.
vf:RoleBehavior
Role behaviors, on the other hand, are defined in Valueflows, so that there are standard types of AgentRelationshipRole (and therefore AgentRelationship) that can govern behavior in and across applications. Examples are "member" or "sub-organization".
Resource
Resources are defined in different ways, depending on their need and ability to be accounted for specifically. Every flow of any kind will reference a resource, represented either by ResourceSpecification or EconomicResource. Resource classifications also assist in understanding or finding a resource. More info at Resource concepts, Classification concepts.
vf:ResourceSpecification
This specifies the kind of resource, to the most specific level needed. It also fills the space for the resource when it is not yet, or never will be, an actual resource. It can be used in and across networks to communicate the resource type needed. EconomicResource and RecipeResource, as well as the resource concept referenced in flows (EconomicEvent, Intent, Commitment, Claim), conform to a ResourceSpecification.
vf:EconomicResource
An actual EconomicResource is created only by EconomicEvents. It is also updated only by EconomicEvents for all its accounting related properties. It becomes involved in a Process by being referenced by an EconomicEvent. It can appear on a Commitment or Intent if recording of a specific resource is needed. It must have a ResourceSpecification. It can have a stage and/or a state. It knows its primary accountable Agent at any point in time. It can be contained in another EconomicResource.
dfc:ProductBatch
ProductBatch is a lot or batch associated with an EconomicResource. It has its own identity because many EconomicResources can be part of the same lot/batch, and it has other useful information as a lot.
Putting flows into motion...
First, some necessary pieces. More flow info at Flows concepts, Actions concepts, Processes concepts, Transfers concepts, Exchanges concepts.
vf:Action
An Action specifies the type of flow and what the flow will do or has done. EconomicEvent, Commitment, Intent, Claim, RecipeFlow have an Action. Actions are specified in Valueflows to cover the various ways flows affect resources. Actions have properties defined that can drive the code logic to create or change EconomicResources when EconomicEvents are recorded, if desired.
geo:SpatialThing
Location, represented by SpatialThing, is not used by itself in Valueflows, although it can stand on its own if needed. It is primarily used for mapping. Although the relationships are not shown in the above diagram, the following are a SpatialThing: in EconomicResource, currentLocation; in Agent, primaryLocation; in EconomicEvent, Commitment, Intent, atLocation; and in EconomicEvent, toLocation.
om2:Measure
Measure does not ever live on its own, it is a way to unify how quantities are represented in Valueflows. Although the relationships are not shown in the above diagram, the following are Measures: in EconomicResource, accountingQuantity and onhandQuantity; in EconomicEvent, Commitment, Intent, RecipeFlow, resourceQuantity, effortQuantity. Measure is a numerical value plus a Unit.
om2:Unit
It is very helpful for interoperaability that the same units of measure are used as networks communicate. OM2 has a long list of recommended Units, extracted here.
Flows in motion: Recipe
This set of Knowledge Layer entities together make a recipe for creating a Resource conforming to this ResourceSpecification. It can be used to automate generating a plan in the Plan Layer, since they follow the same basic input-process-output graph pattern. The recipe model will probably be made more complete in the future, to support forking, versioning, and variants. It currently supports multiple recipes for the same ResourceSpecification. More info at Recipes concepts.
vf:RecipeResource
This is the resource portion of a recipe, and conforms to, but can override data from, the ResourceSpecification. It can be thought of as part of the RecipeFlow, or as a node in the recipe graph.
vf:RecipeProcess
This defines a process node in the recipe graph. A recipe can contain as many RecipeProcesses as it needs to produce the resource defined in the final ResourceSpecification. It can optionally conform to a ProcessSpecification. It will have at least one input or output RecipeFlow.
time:Duration
A RecipeProcess has a Duration, used in planning.
vf:RecipeExchange
RecipeExchange corresponds to the Agreement in the Plan Layer. It enables generation of plans that include agreements. It can contain as many RecipeFlows as needed.
vf:RecipeFlow
A RecipeFlow defines either an input or output to a RecipeProcess, and/or a clause of a RecipeExchange. RecipeProcesses and RecipeExchanges can be combined into one recipe if desired. A RecipeFlow through its Action defines how it will affect its RecipeResource. If it defines a ProcessSpecification stage, then the flow expects a resource at that stage of production.
Flows in motion: Planning
Planning can be done with or without recipes. And planning is not always done, sometimes the economic activity is only observed, depending on the use case. This section is about operational planning, proesses and agreements that are intended to be executed in this lowest level of detail. More info at Planning concepts.
vf:Plan
A Plan is a collection of one or more operational Processes and/or non-process Commitments in the input-output-process graph pattern. Plans can also reference a Commitment that creates the independent demand(s) that provide the reason for and final output of the Plan. If the use case calls for it, Plans can be nested in Scenarios to give higher level views that drill down to operational Plans, or reference a Scenario that was done as a pre-planning effort.
vf:Process
This section talks about operational processes, see below for higher level processes. Process can exist both in the Plan and Observation Layers, or either one. If it is planned, then observed as an actual process, it remains the same Process. So it can have input or output Commitments, and/or input or output EconomicEvents. It can also have input or output Intents, if all or some of its flows are not committed, but are intended to happen. Processes are usually (but not required to be) planned within a Plan. A Process can be based on a ProcessSpecification or not.
vf:ProcessSpecification
This specifies the kind of Process, to the most specific level needed. Processes can be based on a ProcessSpecification. It is also used as the stage of an EconomicResource that is created in stages, and is part of the logical identifier in those cases. RecipeFlow and Commitment can have a ProcessSpecification stage specified to indicate that the resource they expect is at a particular stage, for example "tested" or "edited".
vf:Commitment
A Commitment is a planned flow. It can be input or output of an operational Process or planned directly in a Plan if it is a non-process flow. It also can be defined as an independent demand of a Plan, meaning it is creating what the plan is for. It can be a clause of an Agreement, even if also an input or output of a Process. It references something to define a current or future resource, often a ResourceSpecification, but sometimes an existing EconomicResource if that exists and is important, usually because it is one-of-a-kind. Like all flows, it references an Action that defines its effects on the resource. It can satisfy one or more Intents or be fulfilled by one or more EconomicEvents. A Commitment references both a provider Agent and a receiver Agent, although it can be planned temporarily without both provider and receiver if there is a committed Agent assumed or immediately expected as part of planning.
vf:Agreement
An Agreement is a purposefully abstract term, so that it can represent many existing (or not-yet-invented) kinds of agreements, e.g. exchanges or income distributions. Its main purpose is to contain related Commitments in planning, usually reciprocal commitments. It can also be used to contain reciprocal EconomicEvents in cases where there has been no planning, such as point of sale.
vf:Intent
Intent is defined here as part of operational planning, but can also be key as part of a Proposal or part of a Scenario, see below for those uses of Intent. An Intent has a provider or a receiver Agent, but not both. As part of planning, Intents can be entered directly or generated from recipe, as inputs or outputs to a Process, or as non-process flows, when there is no known Agent assumed to be the missing provider or receiver. An Intent can be satisfied by one or more Commitments, and/or one or more EconomicEvents if the Commitment does not exist. And as a flow, an Intent will have an Action. In operational planning, it will also reference a ResourceSpecification or EconomicResource.
vf:Satisfaction
Since a Commitment (or EconomicEvent) can satisfy more than one Intent, or an Intent can be satisfied by more than one Commitment (or EconomicEvent), Satisfaction is needed, along with the quantity satisfied.
Flows in motion: Offers and Requests
Offers and requests are published primarily to look for a reciprocal match, although they can also be gift offers or requests. Common use cases are e-commerce, timebanks, mutual aid, price lists, publication of help needed for planned work in a network. More info at Proposals concepts.
vf:Proposal
A Proposal is a container of related Intents, and is an offer or a request, determined by the whether the provider or receiver Agent is undefined in the non-reciprocal Intent. Proposals often have more than one Intent, either because there is a reciprocal Intent, or because more than one resource is being offered or requested together. An Intent can be re-used in more than one Proposal. A Proposal can be proposed to one or more specific Agents, or just be part of a scope where Proposals are published.
vf:Intent
Intents that are part of Proposals can be more loosely defined than if they are part of a Plan, although planned Intents can also be part of one or more Proposals. For example, the note is often used to explain some of the defined fields when the offers/needs application mostly supports just text. But all Intents need an Action, and either a provider or receiver Agent.
vf:ProposedIntent
Since a Proposal can publish more than one Intent, and an Intent can be published in more than one Proposal, in this type of model, an intermediate entity is needed to make that association. Reciprocal ProposedIntents are not meant to show up in Proposal search or filter.
Flows in motion: Observation
The Observation subject area is where economic activity actually happens. The basic input-process-output graph pattern is again the same as for recipes and planning. More info at Flows concepts.
vf:Process
See the operational Process defined in the Planning subject area. Operational Processes are carried down to the Observation layer as they are executed, or can be directly defined for Observation if planning is not done.
vf:EconomicEvent
An EconomicEvent is the "real" flow. Its behavior is governed by its Action. It actually affects an EconomicResource if one is defined as inventoried in the EconomicEvent, possibly including quantities, location, primary accountable, stage, state, containment. EconomicEvent always has a provider and receiver Agent, and can be input or output of a Process, and/or part of an Agreement. An EconomicEvent knows its resource, either an EconomicResource or a ResourceSpecification. In some actions, for example transfers and moves, there can also be another EconomicResource on the receiver side. EconomicEvents can fulfill Commitments or satisfy Intents (where there is no Commitment) or settle Claims. An EconomicEvent can be triggered by another EconomicEvent, for example a transfer of accountability triggered by a receipt of a resource. An EconomicEvent can correct a previous EconomicEvent, or reverse it completely.
vf:Fulfillment
Since a EconomicEvent can fulfill more than one Commitment, or a Commitment can be fulfilled by more than one EconomicEvent, this is needed, along with the quantity fulfilled.
vf:Claim
A Claim on another Agent is triggered by an EconomicEvent, according to rules agreed to elsewhere, although most EconomicEvents do not trigger a Claim, and if there is already a Commitment, a Claim is not needed. The Claim then can be settled by other EconomicEvent(s). As a flow, a Claim has an Action, provider and receiver Agent, and reference to a ResourceSpecification.
vf:Appreciation
An EconomicEvent can be recorded in appreciation for a prior EconomicEvent, with no prior Commitment or Intent, in support of gift economies.
Analysis, Pre-planning, Aggregation
More info at Budgeting and Analysis concepts.
vf:Scenario
A Scenario is used as a grouping mechanism for flows. It is a loose concept, and can support many situations. It can be defined by a ScenarioDefinition. It can contain Plans, Processes, Intents, aggregated EconomicEvents. A Scenario can also be nested in itself, to support continued zooming out to less detail. The uses below are some but probably not all of the possibilities.
vf:Plan
When Plans (which are operational) are nested in a Scenario, the Scenario can be used to zoom out for less detail in a UX. When a Plan is a refinement of a Scenario, the Scenario was an earlier estimate or pre-plan.
vf:Process, vf:Intent, vf:EconomicEvent
When Processes are nested in a Scenario, they are generally higher level processes for aggregated as-is or to-be resource flows, for analysis or persuasion. Non-process Intents or EconomicEvents could also be part of these Process higher level flows.
Processes and/or Intents could also be nested when they are part of a budget, forecast, or other higher level pre-plan. Or with-list Intents might be listed, say for large many-agent barter, or when saved for future Proposals.
Accounting & Reporting
More info at Accounting concepts.
Wherever an entity is recorded as in scope of an Agent, the entity can be part of the formal accounting of that Agent. This usually applies to EconomicEvent, Process (can be used to get in-scope EconomicEvents), Commitment, Claim. Also, in general, these and other entities can be in scope of an Agent in order to gather the right data for display and processing.