claim.yaml (2330B)
1 # Example: Claim (simple) 2 3 '@context': 4 - https://git.io/vf-examples-jsonld-context 5 - bob: https://bob.example/ 6 mfg: https://manufacturer.example/ 7 8 '@id': rgh:valueflows/valueflows/master/examples/claim.yaml 9 '@graph': 10 11 # Bob does some work to create a product that the mfg team wishes to sell on the marketplace 12 13 - '@id': mfg:02b39a30-3e04-4305-9656-7f261aa63c83 14 '@type': EconomicEvent 15 action: work 16 provider: https://bob.example/ 17 receiver: https://manufacturing.example/ 18 resourceClassifiedAs: https://www.wikidata.org/wiki/Q192047 # machining 19 effortQuantity: 20 om2:hasUnit: om2:hour 21 om2:hasNumericalValue: 7 22 hasBeginning: 2018-10-14T8:00:00-0:00 23 hasEnd: 2018-10-14T15:00:00-0:00 24 25 # this triggers a claim for payment in the future based on an income distribution agreement among the mfg group 26 27 - '@id': mfg:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da58 28 '@type': Claim 29 action: transfer 30 provider: https://manufacturing.example/ 31 receiver: https://bob.example/ 32 resourceClassifiedAs: https://www.wikidata.org/wiki/Q1104069 # Canadian dollar 33 resourceQuantity: 34 om2:hasUnit: om2:one 35 om2:hasNumericalValue: 140 36 dcterms:created: 2018-10-14T15:30:00-0:00 37 triggeredBy: mfg:02b39a30-3e04-4305-9656-7f261aa63c83 38 agreedIn: mfg:e1721a61-cd47-4556-84b9-8b1b81da15be # a distribution agreement (not detailed in example) 39 40 # half of the manufactured product is sold along with some other products, and income is distributed 41 42 - '@id': mfg:c7897c39-7f05-4a5d-a487-80e130a2414a 43 '@type': EconomicEvent 44 action: transfer 45 provider: https://manufacturing.example/ 46 receiver: https://bob.example/ 47 resourceClassifiedAs: https://www.wikidata.org/wiki/Q1104069 # Canadian dollar 48 resourceQuantity: 49 om2:hasUnit: om2:one 50 om2:hasNumericalValue: 260 # here Bob received income for more than one work event (others not included in the example) 51 hasPointInTime: 2018-10-25T09:30:00-0:00 52 53 - '@id': mfg:b52a5815-fae9-43bf-be95-833b95dc0ada 54 '@type': Settlement 55 settles: mfg:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da58 # the claim 56 settlededBy: mfg:c7897c39-7f05-4a5d-a487-80e130a2414a # the economic event 57 resourceQuantity: 58 om2:hasUnit: om2:one 59 om2:hasNumericalValue: 70 # half of the original claim for the work