{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vulk-dev/json-schema/vulk-dev-project-schema.json",
  "title": "Project",
  "description": "`versions` counts the builds; `files` and `bytes` describe the latest one. `siteName` and `liveUrl` are set once the project is published.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vulk-dev-openapi.json#/components/schemas/Project",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "folder": {
      "type": "string"
    },
    "versions": {
      "type": "integer"
    },
    "versionsWithFiles": {
      "type": "integer"
    },
    "files": {
      "type": "integer"
    },
    "bytes": {
      "type": "integer"
    },
    "lastVersionStatus": {
      "type": "string",
      "description": "A word such as `delivered` or `failed`."
    },
    "lastVersionError": {
      "type": [
        "string",
        "null"
      ],
      "description": "An error code when the last version failed."
    },
    "siteName": {
      "type": [
        "string",
        "null"
      ]
    },
    "previewUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "liveUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The project's page in the editor."
    }
  },
  "required": [
    "id",
    "title",
    "folder",
    "versions",
    "versionsWithFiles",
    "files",
    "bytes",
    "lastVersionStatus",
    "url"
  ]
}