mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
97 lines
3.1 KiB
JSON
97 lines
3.1 KiB
JSON
{
|
|
"title": "Publish an Algorithm",
|
|
"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 algorithm file and click \"ADD FILE\" to validate the data. This URL will be stored encrypted after publishing.",
|
|
"type": "files",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "dockerImage",
|
|
"label": "Docker Image",
|
|
"placeholder": "e.g. python3.7",
|
|
"help": "Please select an image to run your algorithm.",
|
|
"type": "select",
|
|
"options": ["node:latest", "python:latest", "custom image"],
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "image",
|
|
"label": "Image URL",
|
|
"placeholder": "e.g. oceanprotocol/algo_dockers or https://example.com/image_path",
|
|
"help": "Provide the name of a public Docker image or the full url if you have it hosted in a 3rd party repo",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "containerTag",
|
|
"label": "Docker Image Tag",
|
|
"placeholder": "e.g. latest",
|
|
"help": "Provide the tag for your Docker image.",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "timeout",
|
|
"label": "Timeout",
|
|
"help": "Define how long buyers should be able to download the algorithm again after the initial purchase.",
|
|
"placeholder": "Forever",
|
|
"type": "select",
|
|
"options": ["Forever", "1 day", "1 week", "1 month", "1 year"],
|
|
"sortOptions": false,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "entrypoint",
|
|
"label": "Entrypoint",
|
|
"placeholder": "e.g. python $ALGO",
|
|
"help": "Provide the entrypoint for your algorithm.",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "algorithmPrivacy",
|
|
"label": "Algorithm Privacy",
|
|
"type": "checkbox",
|
|
"options": ["Keep my algorithm private"],
|
|
"help": "By default, your algorithm can be downloaded for a fixed or dynamic price in addition to running in compute jobs. Enabling this option will prevent downloading, so your algorithm can only be run as part of a compute job on a data set.",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "author",
|
|
"label": "Author",
|
|
"placeholder": "e.g. Jelly McJellyfish",
|
|
"help": "Give proper attribution for your algorithm.",
|
|
"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": "Algorithm Published!"
|
|
}
|