EconomicEvent

An observed economic flow, as opposed to a flow planned to happen in the future. This could reflect a change in the quantity of an economic resource.

Fields

Field
Type
Description

id

ID!

A unique identifier for the economic event.

revisionId

ID!

The identifier of the last revision of this economic event.

action

Action!

Relates an economic event to a verb, such as consume, produce, work, improve, etc.

provider

Agent!

The economic agent from whom the event is initiated.

receiver

Agent!

The economic agent for whom the event is.

inScopeOf

[AccountingScope!]

The accounting scope this event falls within.

resourceInventoriedAs

EconomicResource

The specific economic resource involved in the event.

toResourceInventoriedAs

EconomicResource

The resource on the receiving side of a transfer or move.

resourceClassifiedAs

[URI!]

References a concept in a common taxonomy for categorization.

resourceQuantity

Measure

The amount and unit of the economic resource.

effortQuantity

Measure

The amount and unit of the work or use action.

hasBeginning

DateTime

The beginning of the economic event.

hasEnd

DateTime

The end of the economic event.

hasPointInTime

DateTime

The date/time at which the economic event occurred.

note

String

A textual description or comment.

agreedIn

URI

A reference to an agreement governing this event.

triggeredBy

EconomicEvent

References another economic event that implied this one.

satisfies

[Intent!]

The intents this economic event satisfies.

fulfills

[Commitment!]

The commitments this economic event fulfills.

corrects

EconomicEvent

The economic event that this event corrects.

deletable

Boolean

Indicates if the event can be safely deleted.

triggers

[EconomicEvent!]

Other economic events which have been triggered by this one.

previous

[ProductionFlowItem!]

The previous item(s) in a production flow.

next

[ProductionFlowItem!]

The next item(s) in a production flow.

track

[TrackTraceItem!]

The item(s) to track from this event.

trace

[TrackTraceItem!]

The item(s) to trace from this event.

Queries

economicEvent(id: ID!)

Retrieves a single EconomicEvent by its id.

economicEvents(first: Int, after: String, last: Int, before: String)

Retrieves a paginated list of all EconomicEvents.

Mutations

createEconomicEvent(event: EconomicEventCreateParams!)

Registers a new EconomicEvent.

updateEconomicEvent(event: EconomicEventUpdateParams!)

Updates an existing EconomicEvent.

deleteEconomicEvent(revisionId: ID!)

Deletes an EconomicEvent.


Input: EconomicEventCreateParams

Field
Type
Description

provider

ID!

The ID of the provider Agent.

receiver

ID!

The ID of the receiver Agent.

action

ID!

The ID of the Action for the event.

resourceInventoriedAs

ID

The ID of the EconomicResource involved in the event.

resourceClassifiedAs

[URI!]

References to a taxonomy for categorization.

resourceQuantity

IMeasure

The amount and unit of the economic resource.

effortQuantity

IMeasure

The amount and unit of the work or use action.

hasBeginning

DateTime

The beginning of the economic event.

hasEnd

DateTime

The end of the economic event.

hasPointInTime

DateTime

The date/time at which the economic event occurred.

note

String

A textual description or comment.

agreedIn

URI

A reference to an agreement governing this event.

triggeredBy

ID

The ID of the EconomicEvent that triggered this event.

toResourceInventoriedAs

ID

The ID of the EconomicResource on the receiving side of a transfer or move.

satisfies

[ID!]

The intents this economic event satisfies.

fulfills

[ID!]

The commitments this economic event fulfills.

Input: EconomicEventUpdateParams

Field
Type
Description

revisionId

ID!

The revision ID of the event to update.

note

String

A textual description or comment.

agreedIn

URI

A reference to an agreement governing this event.

triggeredBy

ID

The ID of the EconomicEvent that triggered this event.

Response: EconomicEventResponse

Field
Type
Description

economicEvent

EconomicEvent!

The event record that was created or updated.

economicResource

EconomicResource

Any new resource created by the event.

Connection: EconomicEventConnection

Field
Type
Description

edges

[EconomicEventEdge!]!

A list of economic event edges.

pageInfo

PageInfo!

Information to aid in pagination.

Edge: EconomicEventEdge

Field
Type
Description

node

EconomicEvent!

The economic event record.

cursor

String!

A cursor for use in pagination.

Union: ProductionFlowItem

Represents an item in a production flow.

union ProductionFlowItem = EconomicResource

Union: TrackTraceItem

Represents an item that can be tracked or traced.

union TrackTraceItem = EconomicResource | EconomicEvent

Last updated