Metadata standards
Metadata standards
This documentation consist of various JSON schemas (examples or standards) that can be referenced by the reader of this EIP for implementing EIP-3475 bonds storage.
1. Description metadata:
[
{
"title": "defining the title information",
"_type": "explaining the type of the title information added",
"description": "little description about the information stored in the bond",
}
]
Example: adding details in bonds describing the local jurisdiction of the bonds where its issued:
{
"title": "localisation",
"_type": "string",
"description": "jurisdiction law codes compatibility "
"values": ["fr ", "de", "ch"] // can also be ISO codes
}
2. Nonce metadata:
- Information defining the state of the bond
[
{
"title": "maturity",
"_type": "uint",
"description": "Lorem ipsum..."
"values": [0, 0, 0]
}
]
3. Class metadata:
```json [ { “title”: “symbol”, “_type”: “string”, “description”: “Lorem ipsum…” “values”: [“Class symbol 1”, “Class symbol 2”, “Class symbol 3”], },
{
"title": "issuer",
"_type": "string",
"description": "Lorem ipsum..."
"values": ["Issuer name 1", "Issuer name 2", "Issuer name 3"],
},
{
"title": "issuer_address",
"_type": "address",
"description": "Lorem ipsum..."
"values":["Address 1.", "Address 2", "Address 3"]
},
{
"title": "class_type",
"_type": "string",
"description": "Lorem ipsum..."
"values": ["Class Type 1", "Class Type 2", "Class Type 3"]
},
{
"title": "token_address",
"_type": "address",
"description": "Lorem ipsum..."
"values":["Address 1.", "Address 2", "Address 3"]
},
{
"title": "period",
"_type": "uint",
"description": "Lorem ipsum..."
"values": [0, 0, 0]
} ] ## Examples of other standards:
- ISO-20022 standard is the recent adopted standard by banks for communicating the financial operations.