mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
f0ed9f68cb
* created BoxSelection component * wip * design changes * integrate with form * refactoring * used inside appearance component * WIP, added space between options * adde new fields to BoxSelection used for chain selection * fixed errors * removed access type option from publish.json * updated component for chain selection * updated for compute type on publish dataset * added component to dockerImageOpions * removed Dotdotdot component from options * remove space * styling updates, fix React warning for terms checkbox Co-authored-by: Norbi <katunanorbert@gmai.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
80 lines
2.7 KiB
JSON
80 lines
2.7 KiB
JSON
{
|
|
"title": "Publish a Data Set",
|
|
"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. For a compute data set, your file should match the file type required by the algorithm, and should not exceed 1 GB in file size.",
|
|
"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": "boxSelection",
|
|
"options": ["Download", "Compute"],
|
|
"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!"
|
|
}
|