diff --git a/EIPS/eip-5570.md b/EIPS/eip-5570.md index 04ed1d66f1a462..007079116f7aef 100644 --- a/EIPS/eip-5570.md +++ b/EIPS/eip-5570.md @@ -13,7 +13,7 @@ requires: 721 ## Abstract -This EIP proposes a standard schema for digital receipts of transactions. Digital Receipt Non-Fungible Tokens are issued by a vendor when a customer makes a purchase from their store and contains transaction details necessary for record keeping. Digital Receipt Non-Fungible Tokens extend [EIP-721](./eip-721.md) which allows for the management and ownership of unique tokens. +This ERC proposes a standard schema for digital receipts of transactions. Digital Receipt Non-Fungible Tokens are issued by a vendor when a customer makes a purchase from their store and contains transaction details necessary for record keeping. Digital Receipt Non-Fungible Tokens extend [ERC-721](./eip-721.md) which allows for the management and ownership of unique tokens. ## Motivation @@ -213,6 +213,16 @@ The JSON schema is composed of 2 parts. The root schema contains high level deta "type": "string", "format": "uri" }, + "contract": { + "title": "Contract", + "description": "URL link or hash to an external contract for this product or service", + "type": "string" + }, + "serial_number": { + "title": "Serial Number", + "description": "Serial number of the item", + "type": "string" + }, "date": { "title": "Supply Date", "description": "The date the goods or service were provided", @@ -261,11 +271,11 @@ The JSON schema is composed of 2 parts. The root schema contains high level deta ## Rationale -The schema introduced complies with EIP-721's metadata extension, conveniently allowing previous tools for viewing NFTs to show our receipts. The new property "receipt" contains our newly provided receipt structure and the signature property optionally allows the vendor to digitally sign the receipt structure. +The schema introduced complies with ERC-721's metadata extension, conveniently allowing previous tools for viewing NFTs to show our receipts. The new property "receipt" contains our newly provided receipt structure and the signature property optionally allows the vendor to digitally sign the receipt structure. ## Backwards Compatibility -This standard is an extension of EIP-721. It is compatible with both optional extensions, Metadata and Enumerable, mentioned in EIP-721. +This standard is an extension of ERC-721. It is compatible with both optional extensions, Metadata and Enumerable, mentioned in ERC-721. ## Security Considerations