{
  "schemaVersion": 99,
  "generatedBy": "generation/forms_p7.py",
  "note": "INTENTIONALLY CORRUPT SAMPLE form schema. Every entry below breaks one rule on purpose.",
  "defects": [
    "an unknown schemaVersion",
    "a field with no name",
    "a field type outside the vocabulary",
    "a select with no options",
    "a default value that is not among the options",
    "min greater than max",
    "two fields sharing an id"
  ],
  "fields": [
    {
      "id": "a",
      "name": "",
      "type": "text",
      "label": "A field with no name"
    },
    {
      "id": "b",
      "name": "colour",
      "type": "colour-picker",
      "label": "An unknown type"
    },
    {
      "id": "c",
      "name": "region",
      "type": "select",
      "label": "A select with no options",
      "options": []
    },
    {
      "id": "d",
      "name": "tier",
      "type": "select",
      "label": "A default outside the options",
      "options": [
        "bronze",
        "silver"
      ],
      "default": "platinum"
    },
    {
      "id": "e",
      "name": "seats",
      "type": "number",
      "label": "Bounds the wrong way round",
      "min": 100,
      "max": 1
    },
    {
      "id": "e",
      "name": "duplicate_id",
      "type": "text",
      "label": "Shares an id with the field above"
    }
  ]
}
