mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 09:44:53 +01:00
7c09ceca06
* changing the info text for dataset input * Updating error message for invalid dataset input * chaning button styling to make it look more like a button * fixing package-lock.json issue * removing changes from package-lock.json * adding onBlur event to validate the data input * Removing autoclose on error message * adding success message when the dataset is valid
85 lines
3.2 KiB
JSON
85 lines
3.2 KiB
JSON
{
|
|
"title": "Publish",
|
|
"description": "Highlight the important features of your data set to make it more discoverable and catch the interest of data consumers.",
|
|
"warning": "Given the beta status, publishing on Ropsten or Rinkeby first is strongly recommended. Please familiarize yourself with [the market](https://oceanprotocol.com/technology/marketplaces), [the risks](https://blog.oceanprotocol.com/on-staking-on-data-in-ocean-market-3d8e09eb0a13), and the [Terms of Use](/terms).",
|
|
"form": {
|
|
"title": "Publish",
|
|
"data": [
|
|
{
|
|
"name": "name",
|
|
"label": "Title",
|
|
"placeholder": "e.g. Shapes of Desert Plants",
|
|
"help": "Enter a concise title.",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "description",
|
|
"label": "Description",
|
|
"help": "Add a thorough description with as much detail as possible. You can use [Markdown](https://daringfireball.net/projects/markdown/basics).",
|
|
"type": "textarea",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "files",
|
|
"label": "File",
|
|
"placeholder": "e.g. https://file.com/file.json",
|
|
"help": "Please enter the URL to your data set file and click \"ADD FILE\" to validate the data. This URL will be stored encrypted after publishing.",
|
|
"type": "files",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "links",
|
|
"label": "Sample file",
|
|
"placeholder": "e.g. https://file.com/samplefile.json",
|
|
"help": "Please enter the URL to a sample of your data set file and click \"ADD FILE\" to validate the data. This file should reveal the data structure of your data set, e.g. by including the header and one line of a CSV file. This file URL will be publicly available after publishing.",
|
|
"type": "files"
|
|
},
|
|
{
|
|
"name": "access",
|
|
"label": "Access Type",
|
|
"help": "Choose how you want your files to be accessible for the specified price.",
|
|
"type": "select",
|
|
"options": ["Download"],
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "timeout",
|
|
"label": "Timeout",
|
|
"help": "Define how long buyers should be able to download the data set again after the initial purchase.",
|
|
"type": "select",
|
|
"options": ["Forever", "1 day", "1 week", "1 month", "1 year"],
|
|
"sortOptions": false,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "dataTokenOptions",
|
|
"label": "Datatoken Name & Symbol",
|
|
"type": "datatoken",
|
|
"help": "The datatoken for this data set will be created with this name & symbol.",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "author",
|
|
"label": "Author",
|
|
"placeholder": "e.g. Jelly McJellyfish",
|
|
"help": "Give proper attribution for your data set.",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "tags",
|
|
"label": "Tags",
|
|
"placeholder": "e.g. logistics, ai",
|
|
"help": "Separate tags with comma."
|
|
},
|
|
{
|
|
"name": "termsAndConditions",
|
|
"label": "Terms & Conditions",
|
|
"type": "terms",
|
|
"options": ["I agree to these Terms and Conditions"],
|
|
"required": true
|
|
}
|
|
],
|
|
"success": "Asset Created!"
|
|
}
|
|
}
|