simple-proposals.yaml (2331B)
1 # Example: Simple proposals based on one intent 2 3 '@context': 4 - https://git.io/vf-examples-jsonld-context 5 - alice: https://alice.example/ 6 map: https://mapping.service/ 7 8 '@id': rgh:valueflows/valueflows/master/examples/proposals-intent.yaml 9 '@graph': 10 11 # One offer with expected reciprocity 12 13 - '@id': alice:8791913c-0152-4c32-bb3f-f25d61df736c 14 '@type': Proposal 15 name: Used bike 16 hasBeginning: 2019-03-01T00:00:00-5:00 17 hasEnd: 2019-03-31T00:00:00-5:00 18 eligibleLocation: map:566a2c01-96f8-4b3c-adcf-f197eced3092 # Madison, WI 19 20 - '@id': alice:02b39a30-3e04-4305-9656-7f261aa63c84 21 '@type': Intent 22 name: Old adult Schwinn one speed bike 23 skos:note: Pedals fine, not good for hills, has basket, brakes are a bit dodgy 24 action: transfer 25 provider: https://alice.example/ 26 resourceClassifiedAs: https://www.wikidata.org/wiki/Q11442 # bicycle 27 28 - '@id': alice:a8236bbb-81e0-422d-9861-56d2417db0fb 29 '@type': ProposedIntent 30 publishedIn: alice:8791913c-0152-4c32-bb3f-f25d61df736c # the proposal 31 publishes: alice:02b39a30-3e04-4305-9656-7f261aa63c84 # the intent 32 reciprocal: false 33 34 - '@id': alice:e72f7d1d-4f0a-4518-a44c-96658cafda95 35 '@type': Intent 36 name: Payment 37 action: transfer 38 receiver: https://alice.example/ 39 resourceClassifiedAs: https://www.wikidata.org/wiki/Q4917 # US Dollar 40 resourceQuantity: 41 om2:hasUnit: om2:one 42 om2:hasNumericalValue: 15 43 44 - '@id': alice:f325a950-5737-488d-b122-8f21114d0eb0 45 '@type': ProposedIntent 46 publishedIn: alice:8791913c-0152-4c32-bb3f-f25d61df736c # the proposal 47 publishes: alice:e72f7d1d-4f0a-4518-a44c-96658cafda95 # the intent 48 reciprocal: true 49 50 # Alice did not get any responses to her proposal above, so decided to offer the bike for free 51 52 - '@id': alice:8e5fe80d-a769-4bd5-89e5-2136d33eab9f 53 '@type': Proposal 54 name: Free used bike 55 hasBeginning: 2019-04-01T00:00:00-5:00 56 hasEnd: 2019-05-01T00:00:00-5:00 57 eligibleLocation: map:566a2c01-96f8-4b3c-adcf-f197eced3092 # Madison, WI 58 59 - '@id': alice:a8236bbb-81e0-422d-9861-56d2417db0fb 60 '@type': ProposedIntent 61 publishedIn: alice:8e5fe80d-a769-4bd5-89e5-2136d33eab9f # the proposal 62 publishes: alice:02b39a30-3e04-4305-9656-7f261aa63c84 # the intent (this is the same intent alice originally published)