{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "codes": {
      "description": "A list of particle accelerator simulation codes",
      "type": "array",
      "items": [{
        "type": "object",
        "required": ["title", "description", "homepage", "license"],
        "properties": {
          "title": {"type": "string"},
          "subtitle": {"type": "string"},
          "description": {"type": "string"},
          "application": {"type": "array"},
          "compute": {"type": "array"},
          "method": {"type": "array"},
          "phenomena": {"type": "array"},
          "homepage": {"type": "string"},
          "institutions": {"type": "array"},
          "institution_link": {"type": "array"},
          "repository": {"type": "string"},
          "download_link": {"type": "string"},
          "issue_tracker": {"type": "string"},
          "platform": {"type": "array"},
          "license": {"type": "string"},
          "publication": {"type": "string"},
          "publication_link": {"type": "string"}
        }
      }]
    }
  },
  "required": [ "codes" ]
}