{
  "description": "Update selected metadata of this data set. Updating metadata will create an on-chain transaction you have to approve in your wallet.",
  "form": {
    "success": "🎉 Successfully updated. 🎉",
    "successAction": "Close",
    "error": "Updating DDO failed.",
    "data": [
      {
        "name": "name",
        "label": "New Title",
        "placeholder": "e.g. Shapes of Desert Plants",
        "help": "Enter a concise title.",
        "required": true
      },
      {
        "name": "description",
        "label": "New Description",
        "help": "Add a thorough description with as much detail as possible. You can use [Markdown](https://daringfireball.net/projects/markdown/basics).",
        "type": "textarea",
        "rows": 10,
        "required": true
      },
      {
        "name": "price",
        "label": "New Price",
        "type": "number",
        "min": "1",
        "placeholder": "0",
        "help": "Enter a new price.",
        "required": true
      },
      {
        "name": "links",
        "label": "Sample file",
        "placeholder": "e.g. https://file.com/samplefile.json",
        "help": "Please provide a URL to a sample of your data set file. 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": "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": "author",
        "label": "New Author",
        "placeholder": "e.g. Mrs McJellyfish",
        "help": "Give proper attribution for your data set.",
        "required": false
      }
    ]
  }
}
