Re: correct way to rapresents monetary transaction

OK - I got the wrong end of your question.

The properties (of *MoneyTransfer*) you are looking for are *agent* (*The
direct performer or driver of the action*) and *object* (*The object upon
which the action is carried out*... ) which could be considered as the
*Thing* (*Person*) that benefitted from the action (received the funds).

Something like this:

{
  "@context": "http://schema.org",
  "@type": "MoneyTransfer",
  "name": "Sample credit payments",
  "amount": [
        {
           "@type": "MonetaryAmount",
           "name": "Payment No 1",
           "currency": "GBP",
           "value": "100.00",
           "validThrough": "2018-11-01"
        },
        {
           "@type": "MonetaryAmount",
           "name": "Payment No 2",
           "currency": "GBP",
           "value": "100.00",
           "validThrough": "2018-12-01"
         }
    ],
    "agent": {
       "@type": "BankOrCreditUnion",
       "name": "The Rilthy Rich Bank"
    },
    "object": {
       "@type": "Person",
       "name": "Mr Joe Soap"
    },
    "beneficiaryBank": {
       "@type": "BankOrCreditUnion",
       "name": "Joe's Personal Bank"
    }
}




Richard Wallis
Founder, Data Liberate
http://dataliberate.com
Linkedin: http://www.linkedin.com/in/richardwallis
Twitter: @rjw



On Wed, 24 Oct 2018 at 14:12, Michele Meloni <cleaversdev@gmail.com> wrote:

> Thanks Richard,
> MonetaryAmount has no source or destination  properties for the
> transaction and I think that are mandatory.
>
> Il giorno mer 24 ott 2018 alle ore 14:31 Richard Wallis <
> richard.wallis@dataliberate.com> ha scritto:
>
>> I would suggest the most appropriate route would be to use multiple
>> amounts thus:
>>
>>
>> {
>>   "@context": "http://schema.org",
>>   "@type": "LoanOrCredit",
>>   "name": "Sample credit payments",
>>   "amount": [
>>         {
>>            "@type": "MonetaryAmount",
>>            "name": "Payment No 1",
>>            "currency": "GBP",
>>            "value": "100.00",
>>            "validThrough": "2018-11-01"
>>         },
>>         {
>>            "@type": "MonetaryAmount",
>>            "name": "Payment No 2",
>>            "currency": "GBP",
>>            "value": "100.00",
>>            "validThrough": "2018-12-01"
>>          }
>>     ]
>> }
>>
>>
>> Hope that helps,
>>   ~Richard
>>
>> Richard Wallis
>> Founder, Data Liberate
>> http://dataliberate.com
>> Linkedin: http://www.linkedin.com/in/richardwallis
>> Twitter: @rjw
>>
>>
>>
>> On Fri, 19 Oct 2018 at 13:43, Michele Meloni <cleaversdev@gmail.com>
>> wrote:
>>
>>> Hi all,
>>> what is the correct way to rapresents a transaction of money between two
>>> bank account?
>>> In ours case  a loan can be made by multiple money transactions.
>>> How can make a connection between a series of money transfer and a loan.
>>>
>>> I'm triing to use MoneyTransfer for the transaction and LoanOrCredit for
>>> the loan.
>>>
>>> What do you think about that?
>>>
>>> Thanks in advance
>>>
>>>
>>> --
>>> *Michele Meloni*
>>>
>>> *Php Senior Software Developer*
>>>
>>> *http://www.linkedin.com/pub/michele-meloni/27/109/789
>>> <http://www.linkedin.com/pub/michele-meloni/27/109/789>*
>>>
>>
>
> --
> *Michele Meloni*
>
> *Php Senior Software Developer*
>
> *http://www.linkedin.com/pub/michele-meloni/27/109/789
> <http://www.linkedin.com/pub/michele-meloni/27/109/789>*
>

Received on Wednesday, 24 October 2018 13:30:18 UTC