{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getorquesta-com/json-schema/getorquesta-com-project-schema.json",
  "title": "Project",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getorquesta-com-openapi.json#/components/schemas/Project",
  "type": "object",
  "required": [
    "id",
    "name",
    "createdAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "agentOnline": {
      "type": "boolean"
    },
    "agentLastSeen": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "productionUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "iconUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Project icon: the published site's favicon, else the GitHub repo owner's avatar. Null when the project has neither (https only)."
    },
    "derplins": {
      "type": "object",
      "description": "Whether the project opted into Derplins.",
      "properties": {
        "enrolled": {
          "type": "boolean"
        },
        "enrolledAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "role": {
      "type": "string",
      "enum": [
        "org_owner",
        "org_admin",
        "admin"
      ],
      "description": "Only with `grantable=1`: why the user may administer this project."
    }
  }
}