From 0ae2b73a8cdd36d7143ccab0c9ea243a401c8cf1 Mon Sep 17 00:00:00 2001 From: larry <26318510+larry0x@users.noreply.github.com> Date: Mon, 19 Sep 2022 01:55:34 +0100 Subject: [PATCH] update schema --- contracts/nft/schema/instantiate_msg.json | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/contracts/nft/schema/instantiate_msg.json b/contracts/nft/schema/instantiate_msg.json index fb28071..402b569 100644 --- a/contracts/nft/schema/instantiate_msg.json +++ b/contracts/nft/schema/instantiate_msg.json @@ -3,22 +3,25 @@ "title": "InstantiateMsg", "type": "object", "required": [ + "api_url", "collection_info", - "minter", - "name", - "symbol" + "hub" ], "properties": { - "collection_info": { - "$ref": "#/definitions/CollectionInfo_for_RoyaltyInfoResponse" - }, - "minter": { + "api_url": { + "description": "URL of an API that serves the Badges metadata. The full URL will be `${api_url}?id=${id}&serial=${serial}`", "type": "string" }, - "name": { - "type": "string" + "collection_info": { + "description": "SG-721 collection info", + "allOf": [ + { + "$ref": "#/definitions/CollectionInfo_for_RoyaltyInfoResponse" + } + ] }, - "symbol": { + "hub": { + "description": "Address of the Badges Hub contract", "type": "string" } },