XLS-0089d Multi-Purpose Token Metadata Schema #264
DennisDawson
started this conversation in
Standard Proposals
Replies: 1 comment
-
Great example, thank you Dennis & Contributors! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
XLS-0089d Multi-Purpose Token Metadata Schema
1. Abstract
This document describes a Ripple-recommended metadata format for the XRPL community to follow standardized practices that allow interoperability among XRPL applications and cross-chain apps. To ensure successful adoption, the proposal focuses on the following:
1.1. Approach
MPTs include a 1024-byte field for arbitrary metadata. The metadata field is part of a hybrid approach of storing essential information on the ledger, while additional information can be stored off the ledger using an external URI in the metadata field. Advantages to this approach include:
2 Schemas
These are proposed schemas for common financial instruments that might be stored as MPTs.
2.1 Bond Schema
Name
Identifier
Issuer
IssueDate
MaturityDate
FaceValue
InterestRate
InterestFrequency
Collateral
Jurisdiction
RegulatoryCompliance
SecurityType
ExternalUri
2.1.1 Example: US Treasury Bill
First class fields
Metadata schema
Metadata example
2.2 Alternative Fund Tokens Schema
Name
Identifier
Issuer
IssueDate
FundType
FundSize
InvestmentPeriod
LockupPeriodDate
ManagementFee
Carry
Jurisdiction
RegulatoryCompliance
InvestorRights
DividendPolicy
InvestmentStrategy
ExternalUri
Example Alternative Fund Token
2.3 Generalized Metadata Standard
This is the standard for MPT issuers of assets other than bonds and private equity funds.
Name
Description
Image
FallbackImage
ExternalUri
GroupKey
Keywords
Media
Localization
AssetType
Attributes
2.4 External URI Format
These are the recommended formats for additional information to be stored outside of the XRP Ledger.
MPT storage options are similar to those used for NFTs. Some suggested solutions are described in the blog post NFT Payload Storage Options.
2.4.1 Localization
locales
primary_uri
secondary_uris
2.4.2 Rights
fee_split
agreements
2.4.3 Files
type
description
encrypted
primary_uri
secondary_uris
2.4.4 Extended Attributes
attribute_name
value_type
value
Security Considerations
Beta Was this translation helpful? Give feedback.
All reactions