UNPKG

@valueflows/vf-graphql

Version:

Reference GraphQL implementation of the ValueFlows spec

1,409 lines (1,131 loc) 116 kB
// Generated by scripts/build.js - edit the *.gql file instead! module.exports = ` """ An action verb defining the kind of event, commitment, or intent. It is recommended that the lowercase action verb should be used as the record ID in order that references to \`Action\`s elsewhere in the system are easily readable. """ type Action { id: ID! """A unique verb which defines the action.""" label: String! """ The accounting effect of an economic event on a resource, increment, decrement, no effect, or decrement resource and increment 'to' resource. """ resourceEffect: String! """ The onhand effect of an economic event on a resource, increment, decrement, no effect, or decrement resource and increment 'to' resource. """ onhandEffect: String! """Denotes if a process input or output, or not related to a process.""" inputOutput: String """ The action that should be included on the other direction of the process, for example accept with modify. """ pairsWith: String } type Query { action(id: ID!): Action actions: [Action!] """Loads details of the currently authenticated REA agent""" myAgent: Agent """Find an agent (person or organization) by their ID""" agent(id: ID!): Agent """Loads all agents publicly registered within this collaboration space""" agents(first: Int, after: String, last: Int, before: String, filter: AgentFilterParams): AgentConnection! """Find an organization (group) agent by its ID""" organization(id: ID!): Organization """ Loads all organizations publicly registered within this collaboration space """ organizations(first: Int, after: String, last: Int, before: String, filter: AgentFilterParams): OrganizationConnection! """Find a person by their ID""" person(id: ID!): Person """ Loads all people who have publicly registered with this collaboration space. """ people(first: Int, after: String, last: Int, before: String, filter: AgentFilterParams): PersonConnection! """Retrieve details of an agent relationship by its ID""" agentRelationship(id: ID!): AgentRelationship """ Retrieve details of all the relationships between all agents registered in this collaboration space """ agentRelationships(first: Int, after: String, last: Int, before: String): AgentRelationshipConnection! """Retrieve details of an agent relationship role by its ID""" agentRelationshipRole(id: ID!): AgentRelationshipRole """ Retrieve all possible kinds of associations that agents may have with one another in this collaboration space """ agentRelationshipRoles(first: Int, after: String, last: Int, before: String): AgentRelationshipRoleConnection! agreement(id: ID!): Agreement agreements(first: Int, after: String, last: Int, before: String): AgreementConnection! appreciation(id: ID!): Appreciation! appreciations(first: Int, after: String, last: Int, before: String): AppreciationConnection! claim(id: ID!): Claim claims(first: Int, after: String, last: Int, before: String, filter: ClaimFilterParams): ClaimConnection! settlement(id: ID!): Settlement settlements(first: Int, after: String, last: Int, before: String): SettlementConnection! commitment(id: ID!): Commitment commitments(first: Int, after: String, last: Int, before: String, filter: CommitmentFilterParams): CommitmentConnection! spatialThing(id: ID!): SpatialThing spatialThings(first: Int, after: String, last: Int, before: String): SpatialThingConnection! intent(id: ID!): Intent intents(first: Int, after: String, last: Int, before: String, filter: IntentFilterParams, orderBy: IntentsOrder): IntentConnection! unit(id: ID!): Unit units(first: Int, after: String, last: Int, before: String): UnitConnection! economicEvent(id: ID!): EconomicEvent economicEvents(first: Int, after: String, last: Int, before: String, filter: EconomicEventFilterParams): EconomicEventConnection! economicResource(id: ID!): EconomicResource economicResources(first: Int, after: String, last: Int, before: String): EconomicResourceConnection! plan(id: ID!): Plan plans(first: Int, after: String, last: Int, before: String): PlanConnection! process(id: ID!): Process processes(first: Int, after: String, last: Int, before: String, filter: ProcessFilterParams): ProcessConnection! processSpecification(id: ID!): ProcessSpecification processSpecifications(first: Int, after: String, last: Int, before: String): ProcessSpecificationConnection! productBatch(id: ID!): ProductBatch productBatches(first: Int, after: String, last: Int, before: String): ProductBatchConnection! proposal(id: ID!): Proposal proposals(first: Int, after: String, last: Int, before: String, filter: ProposalFilterParams): ProposalConnection! """List all proposals that are being listed as offers.""" offers(first: Int, after: String, last: Int, before: String): ProposalConnection! """List all proposals that are being listed as requests.""" requests(first: Int, after: String, last: Int, before: String): ProposalConnection! recipeFlow(id: ID!): RecipeFlow recipeFlows(first: Int, after: String, last: Int, before: String): RecipeFlowConnection! recipeProcess(id: ID!): RecipeProcess recipeProcesses(first: Int, after: String, last: Int, before: String): RecipeProcessConnection! recipeExchange(id: ID!): RecipeExchange recipeExchanges(first: Int, after: String, last: Int, before: String): RecipeExchangeConnection! resourceSpecification(id: ID!): ResourceSpecification resourceSpecifications(first: Int, after: String, last: Int, before: String): ResourceSpecificationConnection! scenario(id: ID!): Scenario scenarios(first: Int, after: String, last: Int, before: String): ScenarioConnection! scenarioDefinition(id: ID!): ScenarioDefinition scenarioDefinitions(first: Int, after: String, last: Int, before: String): ScenarioDefinitionConnection! } """ A boundary or context grouped around some other record- used for documenting, accounting, planning. """ union AccountingScope = Person | Organization """A person or group or organization with economic agency.""" interface Agent { id: ID! revisionId: ID! """ An informal or formal textual identifier for an agent. Does not imply uniqueness. """ name: String! """ The uri to an image relevant to the agent, such as a logo, avatar, photo, etc. """ image: URI """A textual description or comment.""" note: String relationships(first: Int, after: String, last: Int, before: String, filter: AgentRelationshipFilterParams): AgentRelationshipConnection relationshipsAsSubject(first: Int, after: String, last: Int, before: String, filter: AgentRelationshipFilterParams): AgentRelationshipConnection relationshipsAsObject(first: Int, after: String, last: Int, before: String, filter: AgentRelationshipFilterParams): AgentRelationshipConnection roles: [AgentRelationshipRole!] claims(first: Int, after: String, last: Int, before: String): IntentConnection claimsAsProvider(first: Int, after: String, last: Int, before: String): IntentConnection claimsAsReceiver(first: Int, after: String, last: Int, before: String): IntentConnection claimsInScope(first: Int, after: String, last: Int, before: String): IntentConnection commitments(first: Int, after: String, last: Int, before: String, filter: AgentCommitmentFilterParams): CommitmentConnection commitmentsAsProvider(first: Int, after: String, last: Int, before: String): CommitmentConnection commitmentsAsReceiver(first: Int, after: String, last: Int, before: String): CommitmentConnection commitmentsInScope(first: Int, after: String, last: Int, before: String): CommitmentConnection """ The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location. """ primaryLocation: SpatialThing intents(first: Int, after: String, last: Int, before: String, filter: AgentIntentFilterParams): IntentConnection intentsAsProvider(first: Int, after: String, last: Int, before: String): IntentConnection intentsAsReceiver(first: Int, after: String, last: Int, before: String): IntentConnection intentsInScope(first: Int, after: String, last: Int, before: String): IntentConnection economicEvents(filter: AgentEventFilterParams, first: Int, after: String, last: Int, before: String): EconomicEventConnection inventoriedEconomicResources(filter: AgentResourceFilterParams, first: Int, after: String, last: Int, before: String): EconomicResourceConnection processes(filter: AgentProcessFilterParams, first: Int, after: String, last: Int, before: String): ProcessConnection economicEventsAsProvider(first: Int, after: String, last: Int, before: String): EconomicEventConnection economicEventsAsReceiver(first: Int, after: String, last: Int, before: String): EconomicEventConnection economicEventsInScope(first: Int, after: String, last: Int, before: String): EconomicEventConnection plans(filter: AgentPlanFilterParams, first: Int, after: String, last: Int, before: String): PlanConnection proposals(filter: agentProposalSearchParams, first: Int, after: String, last: Int, before: String): ProposalConnection proposalsInScope(first: Int, after: String, last: Int, before: String): ProposalConnection proposalsTo(first: Int, after: String, last: Int, before: String): ProposalConnection scenariosInScope(first: Int, after: String, last: Int, before: String): ScenarioConnection revision(revisionId: ID!): Agent meta: RecordMeta! } """A natural person.""" type Person implements Agent { id: ID! revisionId: ID! """The name that this agent will be referred to by.""" name: String! """ The uri to an image relevant to the agent, such as a logo, avatar, photo, etc. """ image: URI """A textual description or comment.""" note: String relationships(first: Int, after: String, last: Int, before: String, filter: AgentRelationshipFilterParams): AgentRelationshipConnection relationshipsAsSubject(first: Int, after: String, last: Int, before: String, filter: AgentRelationshipFilterParams): AgentRelationshipConnection relationshipsAsObject(first: Int, after: String, last: Int, before: String, filter: AgentRelationshipFilterParams): AgentRelationshipConnection roles: [AgentRelationshipRole!] claims(first: Int, after: String, last: Int, before: String): IntentConnection claimsAsProvider(first: Int, after: String, last: Int, before: String): IntentConnection claimsAsReceiver(first: Int, after: String, last: Int, before: String): IntentConnection claimsInScope(first: Int, after: String, last: Int, before: String): IntentConnection commitments(first: Int, after: String, last: Int, before: String, filter: AgentCommitmentFilterParams): CommitmentConnection commitmentsAsProvider(first: Int, after: String, last: Int, before: String): CommitmentConnection commitmentsAsReceiver(first: Int, after: String, last: Int, before: String): CommitmentConnection commitmentsInScope(first: Int, after: String, last: Int, before: String): CommitmentConnection """ The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location. """ primaryLocation: SpatialThing intents(first: Int, after: String, last: Int, before: String, filter: AgentIntentFilterParams): IntentConnection intentsAsProvider(first: Int, after: String, last: Int, before: String): IntentConnection intentsAsReceiver(first: Int, after: String, last: Int, before: String): IntentConnection intentsInScope(first: Int, after: String, last: Int, before: String): IntentConnection economicEvents(filter: AgentEventFilterParams, first: Int, after: String, last: Int, before: String): EconomicEventConnection inventoriedEconomicResources(filter: AgentResourceFilterParams, first: Int, after: String, last: Int, before: String): EconomicResourceConnection processes(filter: AgentProcessFilterParams, first: Int, after: String, last: Int, before: String): ProcessConnection economicEventsAsProvider(first: Int, after: String, last: Int, before: String): EconomicEventConnection economicEventsAsReceiver(first: Int, after: String, last: Int, before: String): EconomicEventConnection economicEventsInScope(first: Int, after: String, last: Int, before: String): EconomicEventConnection plans(filter: AgentPlanFilterParams, first: Int, after: String, last: Int, before: String): PlanConnection proposals(filter: agentProposalSearchParams, first: Int, after: String, last: Int, before: String): ProposalConnection proposalsInScope(first: Int, after: String, last: Int, before: String): ProposalConnection proposalsTo(first: Int, after: String, last: Int, before: String): ProposalConnection scenariosInScope(first: Int, after: String, last: Int, before: String): ScenarioConnection revision(revisionId: ID!): Person meta: RecordMeta! } """A formal or informal group, or legal organization.""" type Organization implements Agent { id: ID! revisionId: ID! """The name that this agent will be referred to by.""" name: String! """ The uri to an image relevant to the agent, such as a logo, avatar, photo, etc. """ image: URI """ References one or more concepts in a common taxonomy or other classification scheme for purposes of categorization or grouping. """ classifiedAs: [URI!] """A textual description or comment.""" note: String relationships(first: Int, after: String, last: Int, before: String, filter: AgentRelationshipFilterParams): AgentRelationshipConnection relationshipsAsSubject(first: Int, after: String, last: Int, before: String, filter: AgentRelationshipFilterParams): AgentRelationshipConnection relationshipsAsObject(first: Int, after: String, last: Int, before: String, filter: AgentRelationshipFilterParams): AgentRelationshipConnection roles: [AgentRelationshipRole!] claims(first: Int, after: String, last: Int, before: String): IntentConnection claimsAsProvider(first: Int, after: String, last: Int, before: String): IntentConnection claimsAsReceiver(first: Int, after: String, last: Int, before: String): IntentConnection claimsInScope(first: Int, after: String, last: Int, before: String): IntentConnection commitments(first: Int, after: String, last: Int, before: String, filter: AgentCommitmentFilterParams): CommitmentConnection commitmentsAsProvider(first: Int, after: String, last: Int, before: String): CommitmentConnection commitmentsAsReceiver(first: Int, after: String, last: Int, before: String): CommitmentConnection commitmentsInScope(first: Int, after: String, last: Int, before: String): CommitmentConnection """ The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location. """ primaryLocation: SpatialThing intents(first: Int, after: String, last: Int, before: String, filter: AgentIntentFilterParams): IntentConnection intentsAsProvider(first: Int, after: String, last: Int, before: String): IntentConnection intentsAsReceiver(first: Int, after: String, last: Int, before: String): IntentConnection intentsInScope(first: Int, after: String, last: Int, before: String): IntentConnection economicEvents(filter: AgentEventFilterParams, first: Int, after: String, last: Int, before: String): EconomicEventConnection inventoriedEconomicResources(filter: AgentResourceFilterParams, first: Int, after: String, last: Int, before: String): EconomicResourceConnection processes(filter: AgentProcessFilterParams, first: Int, after: String, last: Int, before: String): ProcessConnection economicEventsAsProvider(first: Int, after: String, last: Int, before: String): EconomicEventConnection economicEventsAsReceiver(first: Int, after: String, last: Int, before: String): EconomicEventConnection economicEventsInScope(first: Int, after: String, last: Int, before: String): EconomicEventConnection plans(filter: AgentPlanFilterParams, first: Int, after: String, last: Int, before: String): PlanConnection proposals(filter: agentProposalSearchParams, first: Int, after: String, last: Int, before: String): ProposalConnection proposalsInScope(first: Int, after: String, last: Int, before: String): ProposalConnection proposalsTo(first: Int, after: String, last: Int, before: String): ProposalConnection scenariosInScope(first: Int, after: String, last: Int, before: String): ScenarioConnection revision(revisionId: ID!): Organization meta: RecordMeta! } """ The role of an economic relationship that exists between 2 agents, such as member, trading partner. """ type AgentRelationship { id: ID! revisionId: ID! """ The subject of a relationship between 2 agents. For example, if Mary is a member of a group, then Mary is the subject. """ subject: Agent! """ The object of a relationship between 2 agents. For example, if Mary is a member of a group, then the group is the object. """ object: Agent! """A kind of relationship that exists between 2 agents.""" relationship: AgentRelationshipRole! """ Grouping around something to create a boundary or context, used for documenting, accounting, planning. """ inScopeOf: [AccountingScope!] """A textual description or comment.""" note: String revision(revisionId: ID!): AgentRelationship meta: RecordMeta! } """ A relationship role defining the kind of association one agent can have with another. """ type AgentRelationshipRole { id: ID! revisionId: ID! """The human readable name of the role, from the subject to the object.""" roleLabel: String! """The human readable name of the role, from the object to the subject.""" inverseRoleLabel: String """A textual description or comment.""" note: String agentRelationships(first: Int, after: String, last: Int, before: String): AgentRelationshipConnection revision(revisionId: ID!): AgentRelationshipRole meta: RecordMeta! } input AgentCreateParams { """ An informal or formal textual identifier for an agent. Does not imply uniqueness. """ name: String! """ The uri to an image relevant to the agent, such as a logo, avatar, photo, etc. """ image: URI """A textual description or comment.""" note: String """ (\`SpatialThing\`) The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location. """ primaryLocation: ID } input AgentUpdateParams { revisionId: ID! """ An informal or formal textual identifier for an agent. Does not imply uniqueness. """ name: String """ The uri to an image relevant to the agent, such as a logo, avatar, photo, etc. """ image: URI """A textual description or comment.""" note: String """ (\`SpatialThing\`) The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location. """ primaryLocation: ID } input OrganizationCreateParams { """ An informal or formal textual identifier for an agent. Does not imply uniqueness. """ name: String! """ The uri to an image relevant to the agent, such as a logo, avatar, photo, etc. """ image: URI """ References one or more concepts in a common taxonomy or other classification scheme for purposes of categorization or grouping. """ classifiedAs: [URI!] """A textual description or comment.""" note: String """ (\`SpatialThing\`) The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location. """ primaryLocation: ID } input OrganizationUpdateParams { revisionId: ID! """ An informal or formal textual identifier for an agent. Does not imply uniqueness. """ name: String """ The uri to an image relevant to the agent, such as a logo, avatar, photo, etc. """ image: URI """ References one or more concepts in a common taxonomy or other classification scheme for purposes of categorization or grouping. """ classifiedAs: [URI!] """A textual description or comment.""" note: String """ (\`SpatialThing\`) The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location. """ primaryLocation: ID } type PersonResponse { agent: Person! } type OrganizationResponse { agent: Organization! } input AgentRelationshipCreateParams { """ (\`Agent\`) The subject of a relationship between 2 agents. For example, if Mary is a member of a group, then Mary is the subject. """ subject: ID! """ (\`Agent\`) The object of a relationship between 2 agents. For example, if Mary is a member of a group, then the group is the object. """ object: ID! """ (\`AgentRelationshipRole\`) The role of an economic relationship that exists between 2 agents, such as member, trading partner. """ relationship: ID! """ (\`AccountingScope\`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. """ inScopeOf: [ID!] """A textual description or comment.""" note: String } input AgentRelationshipUpdateParams { revisionId: ID! """ (\`Agent\`) The subject of a relationship between 2 agents. For example, if Mary is a member of a group, then Mary is the subject. """ subject: ID """ (\`Agent\`) The object of a relationship between 2 agents. For example, if Mary is a member of a group, then the group is the object. """ object: ID """ (\`AgentRelationshipRole\`) The role of an economic relationship that exists between 2 agents, such as member, trading partner. """ relationship: ID """ (\`AccountingScope\`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. """ inScopeOf: [ID!] """A textual description or comment.""" note: String } type AgentRelationshipResponse { agentRelationship: AgentRelationship! } input AgentRelationshipRoleCreateParams { """ The human readable name of the role, inverse from the object to the subject. For example, 'is member of'. """ roleLabel: String! """ The human readable name of the role, inverse from the object to the subject. For example, 'has member'. """ inverseRoleLabel: String """A textual description or comment.""" note: String } input AgentRelationshipRoleUpdateParams { revisionId: ID! """ The human readable name of the role, inverse from the object to the subject. For example, 'is member of'. """ roleLabel: String """ The human readable name of the role, inverse from the object to the subject. For example, 'has member'. """ inverseRoleLabel: String """A textual description or comment.""" note: String } type AgentRelationshipRoleResponse { agentRelationshipRole: AgentRelationshipRole } type AgentConnection { edges: [AgentEdge!]! pageInfo: PageInfo! } type AgentEdge { node: Agent! cursor: String! } type PersonConnection { edges: [PersonEdge!]! pageInfo: PageInfo! } type PersonEdge { node: Person! cursor: String! } type OrganizationConnection { edges: [OrganizationEdge!]! pageInfo: PageInfo! } type OrganizationEdge { node: Organization! cursor: String! } type AgentRelationshipConnection { edges: [AgentRelationshipEdge!]! pageInfo: PageInfo! } type AgentRelationshipEdge { node: AgentRelationship! cursor: String! } type AgentRelationshipRoleConnection { edges: [AgentRelationshipRoleEdge!]! pageInfo: PageInfo! } type AgentRelationshipRoleEdge { node: AgentRelationshipRole! cursor: String! } type Mutation { """Registers a new (human) person with the collaboration space""" createPerson(person: AgentCreateParams!): PersonResponse! """Update profile details""" updatePerson(person: AgentUpdateParams!): PersonResponse! """ Erase record of a person and thus remove them from the collaboration space """ deletePerson(revisionId: ID!): Boolean! """ Registers a new organization (group agent) with the collaboration space """ createOrganization(organization: OrganizationCreateParams!): OrganizationResponse! """Update organization profile details""" updateOrganization(organization: OrganizationUpdateParams!): OrganizationResponse! """ Erase record of an organization and thus remove it from the collaboration space """ deleteOrganization(revisionId: ID!): Boolean! createAgentRelationship(relationship: AgentRelationshipCreateParams!): AgentRelationshipResponse! updateAgentRelationship(relationship: AgentRelationshipUpdateParams!): AgentRelationshipResponse! deleteAgentRelationship(revisionId: ID!): Boolean! createAgentRelationshipRole(agentRelationshipRole: AgentRelationshipRoleCreateParams!): AgentRelationshipRoleResponse! updateAgentRelationshipRole(agentRelationshipRole: AgentRelationshipRoleUpdateParams!): AgentRelationshipRoleResponse! deleteAgentRelationshipRole(revisionId: ID!): Boolean! createAgreement(agreement: AgreementCreateParams): AgreementResponse! updateAgreement(agreement: AgreementUpdateParams): AgreementResponse! deleteAgreement(revisionId: ID!): Boolean! createAppreciation(appreciation: AppreciationCreateParams!): AppreciationResponse! updateAppreciation(appreciation: AppreciationUpdateParams!): AppreciationResponse! deleteAppreciation(revisionId: ID!): Boolean! createClaim(claim: ClaimCreateParams!): ClaimResponse! updateClaim(claim: ClaimUpdateParams!): ClaimResponse! deleteClaim(revisionId: ID!): Boolean! createSettlement(settlement: SettlementCreateParams!): SettlementResponse! updateSettlement(settlement: SettlementUpdateParams!): SettlementResponse! deleteSettlement(revisionId: ID!): Boolean! createCommitment(commitment: CommitmentCreateParams!): CommitmentResponse! updateCommitment(commitment: CommitmentUpdateParams!): CommitmentResponse! deleteCommitment(revisionId: ID!): Boolean! createSpatialThing(spatialThing: SpatialThingCreateParams!): SpatialThingResponse! updateSpatialThing(spatialThing: SpatialThingUpdateParams!): SpatialThingResponse! deleteSpatialThing(revisionId: ID!): Boolean! createIntent(intent: IntentCreateParams!): IntentResponse! updateIntent(intent: IntentUpdateParams!): IntentResponse! deleteIntent(revisionId: ID!): Boolean! createUnit(unit: UnitCreateParams!): UnitResponse! updateUnit(unit: UnitUpdateParams!): UnitResponse! deleteUnit(revisionId: ID!): Boolean! """ Registers a new (\`EconomicEvent\`) with the collaboration space. Also serves as a means to register (\`EconomicResource\`) as well, instead of createEconomicResource """ createEconomicEvent(event: EconomicEventCreateParams!, newInventoriedResource: EconomicResourceCreateParams): EconomicEventResponse! updateEconomicEvent(event: EconomicEventUpdateParams!): EconomicEventResponse! updateEconomicResource(resource: EconomicResourceUpdateParams!): EconomicResourceResponse! createPlan(plan: PlanCreateParams!): PlanResponse! updatePlan(plan: PlanUpdateParams!): PlanResponse! deletePlan(revisionId: ID!): Boolean! createProcess(process: ProcessCreateParams!): ProcessResponse! updateProcess(process: ProcessUpdateParams!): ProcessResponse! deleteProcess(id: ID!): Boolean! createProcessSpecification(processSpecification: ProcessSpecificationCreateParams!): ProcessSpecificationResponse! updateProcessSpecification(processSpecification: ProcessSpecificationUpdateParams!): ProcessSpecificationResponse! deleteProcessSpecification(revisionId: ID!): Boolean! createProductBatch(productBatch: ProductBatchCreateParams!): ProductBatchResponse! updateProductBatch(productBatch: ProductBatchUpdateParams!): ProductBatchResponse! deleteProductBatch(id: ID!): Boolean! createProposal(proposal: ProposalCreateParams!): ProposalResponse! updateProposal(proposal: ProposalUpdateParams!): ProposalResponse! deleteProposal(revisionId: ID!): Boolean! createRecipeFlow(recipeFlow: RecipeFlowCreateParams!): RecipeFlowResponse! updateRecipeFlow(recipeFlow: RecipeFlowUpdateParams!): RecipeFlowResponse! deleteRecipeFlow(revisionId: ID!): Boolean! createRecipeProcess(recipeProcess: RecipeProcessCreateParams!): RecipeProcessResponse! updateRecipeProcess(recipeProcess: RecipeProcessUpdateParams!): RecipeProcessResponse! deleteRecipeProcess(revisionId: ID!): Boolean! createRecipeExchange(recipeExchange: RecipeExchangeCreateParams!): RecipeExchangeResponse! updateRecipeExchange(recipeExchange: RecipeExchangeUpdateParams!): RecipeExchangeResponse! deleteRecipeExchange(revisionId: ID!): Boolean! createResourceSpecification(resourceSpecification: ResourceSpecificationCreateParams!): ResourceSpecificationResponse! updateResourceSpecification(resourceSpecification: ResourceSpecificationUpdateParams!): ResourceSpecificationResponse! deleteResourceSpecification(revisionId: ID!): Boolean! createScenario(plan: ScenarioCreateParams!): ScenarioResponse! updateScenario(plan: ScenarioUpdateParams!): ScenarioResponse! deleteScenario(revisionId: ID!): Boolean! createScenarioDefinition(plan: ScenarioDefinitionCreateParams!): ScenarioDefinitionResponse! updateScenarioDefinition(plan: ScenarioDefinitionUpdateParams!): ScenarioDefinitionResponse! deleteScenarioDefinition(revisionId: ID!): Boolean! } """Any type of agreement among economic agents.""" type Agreement { id: ID! revisionId: ID! """ An informal or formal textual identifier for an agreement. Does not imply uniqueness. """ name: String """The date and time the agreement was created.""" created: DateTime """A textual description or comment.""" note: String involvedAgents(first: Int, after: String, last: Int, before: String): AgentConnection commitments: [Commitment!] revision(revisionId: ID!): Agreement meta: RecordMeta! economicEvents: [EconomicEvent!] unplannedEconomicEvents: [EconomicEvent!] } input AgreementCreateParams { """ An informal or formal textual identifier for an agreement. Does not imply uniqueness. """ name: String """The date and time the agreement was created.""" created: DateTime """A textual description or comment.""" note: String } input AgreementUpdateParams { revisionId: ID! """ An informal or formal textual identifier for an agreement. Does not imply uniqueness. """ name: String """The date and time the agreement was created.""" created: DateTime """A textual description or comment.""" note: String } type AgreementResponse { agreement: Agreement! } type AgreementConnection { edges: [AgreementEdge!]! pageInfo: PageInfo! } type AgreementEdge { node: Agreement! cursor: String! } """ A way to tie an economic event that is given in loose fulfilment for another economic event, without commitments or expectations. Supports the gift economy. """ type Appreciation { id: ID! revisionId: ID! """ The economic event this appreciation has been given in acknowledgement of. """ appreciationOf: EconomicEvent! """The economic event provided as a gift in this appreciation.""" appreciationWith: EconomicEvent! """A textual description or comment.""" note: String revision(revisionId: ID!): Appreciation meta: RecordMeta! } input AppreciationCreateParams { """ (\`EconomicEvent\`) The economic event this appreciation has been given in acknowledgement of. """ appreciationOf: ID! """ (\`EconomicEvent\`) The economic event provided as a gift in this appreciation. """ appreciationWith: ID! """A textual description or comment.""" note: String } input AppreciationUpdateParams { revisionId: ID! """ (\`EconomicEvent\`) The economic event this appreciation has been given in acknowledgement of. """ appreciationOf: ID """ (\`EconomicEvent\`) The economic event provided as a gift in this appreciation. """ appreciationWith: ID """A textual description or comment.""" note: String } type AppreciationResponse { appreciation: Appreciation! } type AppreciationConnection { edges: [AppreciationEdge!]! pageInfo: PageInfo! } type AppreciationEdge { node: Appreciation! cursor: String! } """ A claim for a future economic event(s) in reciprocity for an economic event that already occurred. For example, a claim for payment for goods received. """ type Claim { id: ID! revisionId: ID! """ Relates a claim to a verb, such as consume, produce, work, improve, etc. """ action: Action! """ References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. """ resourceClassifiedAs: [URI!] """The amount and unit of the economic resource counted or inventoried.""" resourceQuantity: Measure """ The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. """ effortQuantity: Measure """ The economic event which already occurred which this claim has been made against. """ triggeredBy: EconomicEvent! """The time the claim is expected to be settled.""" due: DateTime """The data on which the claim was made.""" created: DateTime """ The claim is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. """ finished: Boolean """A textual description or comment.""" note: String """ Reference to an agreement between agents which specifies the rules or policies or calculations which govern this claim. """ agreedIn: URI settledBy(first: Int, after: String, last: Int, before: String): SettlementConnection """The economic agent from whom the claim is expected.""" provider: Agent """The economic agent whom the claim is for.""" receiver: Agent """ Grouping around something to create a boundary or context, used for documenting, accounting, planning. """ inScopeOf: [AccountingScope!] """ The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. """ resourceConformsTo: ResourceSpecification revision(revisionId: ID!): Claim meta: RecordMeta! } """ Represents many-to-many relationships between claim and economic events that fully or partially settle one or more claims. """ type Settlement { id: ID! revisionId: ID! """A claim which is fully or partially settled by an economic event.""" settles: Claim! """The economic event fully or partially settling a claim.""" settledBy: EconomicEvent! """The amount and unit of the economic resource counted or inventoried.""" resourceQuantity: Measure """ The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. """ effortQuantity: Measure """A textual description or comment.""" note: String revision(revisionId: ID!): Settlement meta: RecordMeta! } input ClaimCreateParams { """ (\`Action\`) Relates a claim to a verb, such as consume, produce, work, improve, etc. """ action: ID! """ References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. """ resourceClassifiedAs: [URI!] """The amount and unit of the economic resource counted or inventoried.""" resourceQuantity: IMeasure """ The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. """ effortQuantity: IMeasure """The time the claim is expected to be settled.""" due: DateTime """ (\`EconomicEvent\`) The economic event which already occurred which this claim has been made against. """ triggeredBy: ID! """The data on which the claim was made.""" created: DateTime """ The claim is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. """ finished: Boolean """A textual description or comment.""" note: String """ Reference to an agreement between agents which specifies the rules or policies or calculations which govern this claim. """ agreedIn: URI """(\`Agent\`) The economic agent from whom the claim is expected.""" provider: ID """(\`Agent\`) The economic agent whom the claim is for.""" receiver: ID """ (\`AccountingScope\`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. """ inScopeOf: [ID!] """ (\`ResourceSpecification\`) The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. """ resourceConformsTo: ID } input ClaimUpdateParams { revisionId: ID! """ (\`Action\`) Relates a claim to a verb, such as consume, produce, work, improve, etc. """ action: ID """ References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. """ resourceClassifiedAs: [URI!] """The amount and unit of the economic resource counted or inventoried.""" resourceQuantity: IMeasure """ The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. """ effortQuantity: IMeasure """The time the claim is expected to be settled.""" due: DateTime """ (\`EconomicEvent\`) The economic event which already occurred which this claim has been made against. """ triggeredBy: ID """The data on which the claim was made.""" created: DateTime """ The claim is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. """ finished: Boolean """A textual description or comment.""" note: String """ Reference to an agreement between agents which specifies the rules or policies or calculations which govern this claim. """ agreedIn: URI """(\`Agent\`) The economic agent from whom the claim is expected.""" provider: ID """(\`Agent\`) The economic agent whom the claim is for.""" receiver: ID """ (\`AccountingScope\`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. """ inScopeOf: [ID!] """ (\`ResourceSpecification\`) The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. """ resourceConformsTo: ID } type ClaimResponse { claim: Claim! } input SettlementCreateParams { """ (\`Claim\`) A claim which is fully or partially settled by an economic event. """ settles: ID! """ (\`EconomicEvent\`) The economic event fully or partially settling a claim. """ settledBy: ID! """The amount and unit of the economic resource counted or inventoried.""" resourceQuantity: IMeasure """ The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. """ effortQuantity: IMeasure """A textual description or comment.""" note: String } input SettlementUpdateParams { revisionId: ID! """ (\`Claim\`) A claim which is fully or partially settled by an economic event. """ settles: ID """ (\`EconomicEvent\`) The economic event fully or partially settling a claim. """ settledBy: ID """The amount and unit of the economic resource counted or inventoried.""" resourceQuantity: IMeasure """ The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. """ effortQuantity: IMeasure """A textual description or comment.""" note: String } type SettlementResponse { settlement: Settlement! } type ClaimConnection { edges: [ClaimEdge!]! pageInfo: PageInfo! } type ClaimEdge { node: Claim! cursor: String! } type SettlementConnection { edges: [SettlementEdge!]! pageInfo: PageInfo! } type SettlementEdge { node: Settlement! cursor: String! } """ A planned economic flow that has been promised by an agent to another agent. """ type Commitment { id: ID! revisionId: ID! """ Relates a commitment to a verb, such as consume, produce, work, improve, etc. """ action: Action! """ References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. """ resourceClassifiedAs: [URI!] """The amount and unit of the economic resource counted or inventoried.""" resourceQuantity: Measure """ The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. """ effortQuantity: Measure """The planned beginning of the commitment.""" hasBeginning: DateTime """The planned end of the commitment.""" hasEnd: DateTime """ The planned date/time for the commitment. Can be used instead of beginning and end. """ hasPointInTime: DateTime """The time something is expected to be complete.""" due: DateTime """The creation time of the commitment.""" created: DateTime """ The commitment is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. """ finished: Boolean """A textual description or comment.""" note: String """ Reference to an agreement between agents which specifies the rules or policies or calculations which govern this commitment. """ agreedIn: URI """The commitment can be safely deleted, has no dependent information.""" deletable: Boolean """The intent which this commitment satisfies.""" satisfies: Intent """The economic agent from whom the commitment is initiated.""" provider: Agent! """The economic agent whom the commitment is for.""" receiver: Agent! """ Grouping around something to create a boundary or context, used for documenting, accounting, planning. """ inScopeOf: [AccountingScope!] involvedAgents: [Agent!] """This commitment is part of the exchange agreement.""" clauseOf: Agreement """The place where a commitment occurs. Usually mappable.""" atLocation: SpatialThing """Exact economic resource involved in the commitment.""" resourceInventoriedAs: EconomicResource fulfilledBy: [EconomicEvent!] """Represents a desired deliverable expected from this plan.""" independentDemandOf: Plan """The transfer commitment is part of the plan.""" plannedWithin: Plan """ References the ProcessSpecification of the last process the economic resource went through. Stage is used when the last process is important for finding proper resources, such as where the publishing process wants only documents that have gone through the editing process. """ stage: ProcessSpecification """ The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. """ resourceConformsTo: ResourceSpecification revision(revisionId: ID!): Commitment meta: RecordMeta! """Defines the process to which this commitment is an input.""" inputOf: Process """Defines the process for which this commitment is an output.""" outputOf: Process } input CommitmentCreateParams { """ (\`Action\`) Relates a commitment to a verb, such as consume, produce, work, improve, etc. """ action: ID! """ References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. """ resourceClassifiedAs: [URI!] """The amount and unit of the economic resource counted or inventoried.""" resourceQuantity: IMeasure """ The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. """ effortQuantity: IMeasure """The planned beginning of the commitment.""" hasBeginning: DateTime """The planned end of the commitment.""" hasEnd: DateTime """ The planned date/time for the commitment. Can be used instead of beginning and end. """ hasPointInTime: DateTime """The time something is expected to be complete.""" due: DateTime """ The commitment is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. """ finished: Boolean """A textual description or comment.""" note: String """ Reference to an agreement between agents which specifies the rules or policies or calculations which govern this commitment. """ agreedIn: URI """The intent which this commitment satisfies.""" satisfies: ID """(\`Agent\`) The economic agent from whom the commitment is initiated.""" provider: ID! """(\`Agent\`) The economic agent whom the commitment is for.""" receiver: ID! """ (\`AccountingScope\`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. """ inScopeOf: [ID!] """(\`Agreement\`) This commitment is part of the agreement.""" clauseOf: ID """ (\`SpatialThing\`) The place where an commitment occurs. Usually mappable. """ atLocation: ID """ (\`EconomicResource\`) Exact economic resource involved in the commitment. """ resourceInventoriedAs: ID """(\`Plan\`) Represents a desired deliverable expected from this plan.""" independentDemandOf: ID """(\`Plan\`) The transfer commitment is part of the plan.""" plannedWithin: ID """The process stage of the commitment.""" stage: URI """ (\`ResourceSpecification\`) The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. """ resourceConformsTo: ID """(\`Process\`) Defines the process to which this commitment is an input.""" inputOf: ID """ (\`Process\`) Defines the process for which this commitment is an output. """ outputOf: ID } input CommitmentUpdateParams { revisionId: ID! """ References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. """ resourceClassifiedAs: [URI!] """The amount and unit of the economic resource counted or inventoried.""" resourceQuantity: IMeasure """ The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. """ effortQuantity: IMeasure """The planned beginning of the commitment.""" hasBeginning: DateTime """The planned end of the commitment.""" hasEnd: DateTime """ The planned date/time for the commitment. Can be used instead of beginning and end. """ hasPointInTime: DateTime """The time something is expected to be complete.""" due: DateTime """ The commitment is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. """ finished: Boolean """A textual description or comment.""" note: String """ Reference to an agreement between agents which specifies the rules or policies or calculations which govern this commitment. """ agreedIn: URI """The intent which this commitment satisfies.""" satisfies: ID """(\`Agent\`) The economic agent from whom the commitment is initiated.""" provider: ID """(\`Agent\`) The economic agent whom the commitment is for.""" receiver: ID """ (\`AccountingScope\`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. """ inScopeOf: [ID!] """(\`Agreement\`) This commitment is part of the agreement.""" clauseOf: ID """ (\`SpatialThing\`) The place where an commitment occurs. Usually mappable. """ atLocation: ID """ (\`EconomicResource\`) Exact economic resource involved in the commitment. """ resourceInventoriedAs: ID """(\`Plan\`) Represents a desired deliverable expected from this plan.""" independentDemandOf: ID """(\`Plan\`) The transfer commitment is part of the plan.""" plannedWithin: ID """The process stage of the commitment.""" stage: URI """ (\`ResourceSpecification\`) The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. """ resourceConformsTo: ID """(\`Process\`) Defines the process to which this commitment is an input.""" inputOf: ID """ (\`Process\`) Defines the process for which this commitment is an output. """ outputOf: ID } type