| 1. Definition | 2. Functional Requirements | 3. Syntax | 4. Semantics |
1 Definition
Simple Contract is an MPAI-specified Contract providing basic functionalities for use in the MMM-TEC context.
2 Functional Requirements
A Simple Contract includes:
- Contract ID
- Time of Contract (Start Time and End Time).
- Data of Seller.
- Data of Buyer.
- Data of Service Provider (the one that facilitates Basic Contract definition and execution).
- Basic Contract Status (one of Model, Final)
3 Syntax
https://schemas.mpai.community/MMM4/V2.1/data/SimpleContract.json
4 Semantics
| Label | Description |
| Header | Simple Contract Header |
| – Standard-SimpleContract | The characters “MMM-SCT-V” |
| – Version | Major version – 1 or 2 characters |
| – Dot-separator | The character “.” |
| – Subversion | Minor version – 1 or 2 characters |
| 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 | Posting Licence sent to SP. |
| – SenderPostValue | Value sent to SP after sale. |
| – ReceiverLicence | Licence sent to buyer. |
| – SenderWalletID | Sender Wallet ID. |
| – ReceiverData | Receiver Data. |
| – ReceiverID | Receiver ID. |
| – ReceiverPostValue | Value Sent by buyer. |
| – ValueToSender | Rights received by buyer. |
| – ReceiverWalletID | Receiver Wallet ID. |
| – ServiceProviderData | Service Provider Data. |
| – ServiceProviderID | Service Provider ID. |
| – ServiceProviderWalletID | Service Provider Wallet ID. |
| – Basic Contract Status | One of Model or Final. |
| DescrMetadata | Descriptive Metadata. |