{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "openqa-incomplete.json",
  "type": "object",
  "title": "Schema for incomplete upstream format openQA job template data",
  "anyOf": [
    {"required": [ "Machines" ]},
    {"required": [ "TestSuites" ]},
    {"required": [ "Products" ]},
    {"required": [ "JobTemplates" ]},
    {"required": [ "JobGroups" ]}
  ],
  "properties": {
    "Machines": { "$ref": "openqa-machines.json" },
    "TestSuites": { "$ref": "openqa-testsuites.json" },
    "Products": { "$ref": "openqa-products.json" },
    "JobTemplates": { "$ref": "openqa-jobtemplates.json" },
    "JobGroups": { "$ref": "openqa-jobgroups.json" }
  },
  "additionalProperties": false
}