Skip to content

Commit

Permalink
Move PoolMetadataHash to a separate type
Browse files Browse the repository at this point in the history
  • Loading branch information
klntsky committed Apr 29, 2024
1 parent cdc6b6b commit 16c9e4d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CIP-0116/cardano-babbage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,13 @@
"maxLength": 64,
"format": "string64"
},
"PoolMetadataHash": {
"title": "PoolMetadataHash",
"description": "Pool Metadata Hash",
"type": "string",
"format": "hex",
"pattern": "^[0-9a-f]{64}$"
},
"PoolMetadata": {
"title": "PoolMetadata",
"type": "object",
Expand All @@ -1220,10 +1227,7 @@
"$ref": "cardano-babbage.json#/definitions/URL"
},
"hash": {
"title": "Pool Metadata Hash",
"type": "string",
"format": "hex",
"pattern": "^[0-9a-f]{64}$"
"$ref": "cardano-babbage.json#/definitions/PoolMetadataHash"
}
},
"additionalProperties": false,
Expand Down

0 comments on commit 16c9e4d

Please sign in to comment.