| 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:
- Contract ID
- Duration of Contract (Start Time and End Time).
- Data of Seller.
- Data of Buyer.
- Data of Service Provider.
- 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. |