Go to Items

1. Definition 2. Functional Requirements 3. Syntax 4. Semantics

1      Definition

Simple Contract is an MPAI-specified Contract providing basic functionalities for seller (Sender), buyer (Receiver), and Service Provider that facilitates Basic Contract definition and execution.

2      Functional Requirements

A Simple Contract includes:

  1. Contract ID
  2. Duration of Contract (Start Time and End Time).
  3. Data of Seller.
  4. Data of Buyer.
  5. Data of Service Provider.
  6. Basic Contract Status (one of Model, Final)

3      Syntax

https://schemas.mpai.community/MMM4/V2.2/data/SimpleContract.json

4      Semantics

Label Description
Header Simple Contract Header – Standard “MMM-SCT-Vx.y”
MInstanceID Identifier of M-Instance.
SimpleContractID Identifier of Simple Contract.
SimpleContractTime Validity of Simple Contract.
SimpleContractData Data contained in a Simple Contract.
– SenderData Seller Data.
  – SenderID Seller ID.
  – SenderPreValue Value sent to SP before sale,
  – SPLicence Licence granting SP the Rights to Post an Asset.
  – SenderPostValue Value sent to SP after sale.
  – ReceiverLicence Licence granting buyer the Rights to the Asset.
  – SenderWalletID Seller’s Wallet ID.
– ReceiverData Receiver Data.
  – ReceiverID Buyer ID.
  – ReceiverPostValue Value sent by buyer to SP.
  – ValueToSender Value sent by buyer sent to seller.
  – ReceiverWalletID Receiver’s Wallet ID.
– ServiceProviderData Service Provider Data.
  – ServiceProviderID Service Provider ID.
  – ServiceProviderWalletID Service Provider Wallet ID.
– Basic Contract Status One of Model or Final.
Rights Rights to this Simple Contract instance.
DataExchangeMetadata Metadata about this Simple Contract instance.
Trace Metadata about who/when produced this Simple Contract instance.
DescrMetadata Descriptive Metadata.

Go to Items