Agent Code

Agent

{
  type: "Agent",
  id: String!,
  name: String!,
  classification: String!,
  image: String,
  primaryLocation: Location,
  note: String
}

Notes Classification is "Person" or "Organization". Also might want at some point user-defined relationships with other agents (such as membership, sub-groups, etc)

AgentRelationship

{
  type: 'AgentRelationship',
  subject: Agent!,
  object: Agent!,
  relationship: AgentRelationshipRole!    
}

AgentRelationshipRole

{
  type: 'AgentRelationshipRole',
  label: String!,
  reverseLabel: String!
}

Economic Event

EconomicEvent is the minimum needed for recording work and distribution. EconomicEvent and Agent, plus the taxonomy, would be enough to provide a lot of the information needed for stats and accounting, if every app could provide just those.

{
  type:  'EconomicEvent',
  provider: Agent!,
  receiver: Agent,
  action:  String!,
  affectedQuantity: {
    quantity: Decimal!,
    unit: String!
  },
  date: String!,
  resourceClassifiedAs: ResourceClassification!,
  note: String,
  scope: Agent
}

Notes

  • ResourceClassification will be a taxonomy item from the taxonomy that is chosen by FairCoop to be used across apps. Right now CE is working on unifying the taxonomy, including skills.

  • unit at some point will probably be from a list, instead of a string, so that units can be normalized across apps.

  • action is "work" or "give", to cover just the requirements of work events and income payment events. There are other actions for when resources are being created or transported (meaning there is a Process in addition to EconomicEvents), like "use", "consume", "produce", and others.

Also might want at some point

affects: this is an EconomicResource, and used when something identifiable is involved, which could be a material or digital item that is recorded in inventory, or an account, say a FairCoin account) fulfills: this is a Fulfillment of an Intent, or part of a plan, that is fulfilled completely or partially by the economic event) - this would connect the plan to the work, and also add a piece of we would need to know what payment was done for what work (what work is already paid)

Last updated