{
 "type": "object",
 "required": [
  "id",
  "title",
  "build"
 ],
 "properties": {
  "id": {
   "type": "string",
   "pattern": "^[a-z0-9][a-z0-9-]*$"
  },
  "title": {
   "type": "string"
  },
  "created": {
   "type": "string"
  },
  "mission": {
   "type": [
    "object",
    "null"
   ]
  },
  "target": {
   "type": "object"
  },
  "fetches": {
   "type": "object"
  },
  "status": {
   "type": "object"
  },
  "build": {
   "type": "object",
   "required": [
    "command",
    "outputs"
   ],
   "properties": {
    "command": {
     "type": [
      "string",
      "null"
     ]
    },
    "outputs": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "from"
      ],
      "properties": {
       "from": {
        "type": "string"
       },
       "to": {
        "type": "string"
       },
       "note": {
        "type": "string"
       },
       "optional": {
        "type": "boolean"
       }
      }
     }
    },
    "private_note": {
     "type": "string"
    },
    "diff_from": {
     "type": "string"
    },
    "diff_note": {
     "type": "string"
    },
    "needs": {
     "type": "string"
    }
   }
  }
 },
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "urn:exploder-kit:project:1",
 "title": "A Mission Studio project",
 "description": "project.json: the definition a build runs from."
}
