Wanted items should also be Proposals, and the directionality can be specified using provider
and receiver
properties of the intents.
@lynnfoster and I talked about this in another thread:
So, for example, if you have an Offer, the intents would look like this:
{
"type": "Proposal",
"attributedTo": "https://market.example/users/alice",
"publishes": {
"provider": "https://market.example/users/alice"
},
"reciprocal": {
"receiver": "https://market.example/users/alice"
}
}
And if you have a Request:
{
"type": "Proposal",
"attributedTo": "https://market.example/users/alice",
"publishes": {
"receiver": "https://market.example/users/alice"
},
"reciprocal": {
"provider": "https://market.example/users/alice"
}
}
It would be easier to use a single boolean property, but if I understood correctly Valueflows vocabulary doesn’t have it at the moment.