Skip to content

Commit

Permalink
Add missing Array wrapper for Mint assets
Browse files Browse the repository at this point in the history
  • Loading branch information
klntsky committed Apr 25, 2024
1 parent 987aa28 commit 144e049
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions CIP-0116/cardano-babbage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1557,21 +1557,24 @@
"$ref": "cardano-babbage.json#/definitions/ScriptHash"
},
"assets": {
"title": "Assets",
"type": "object",
"properties": {
"key": {
"$ref": "cardano-babbage.json#/definitions/AssetName"
"type": "array",
"items": {
"title": "Assets",
"type": "object",
"properties": {
"asset_name": {
"$ref": "cardano-babbage.json#/definitions/AssetName"
},
"amount": {
"$ref": "cardano-babbage.json#/definitions/NonZeroInt64"
}
},
"value": {
"$ref": "cardano-babbage.json#/definitions/NonZeroInt64"
}
},
"required": [
"key",
"value"
],
"additionalProperties": false
"required": [
"asset_name",
"amount"
],
"additionalProperties": false
}
}
},
"required": [
Expand Down

0 comments on commit 144e049

Please sign in to comment.