{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/letsship-ai/json-schema/letsship-ai-project-schema.json",
  "title": "Project",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/letsship-ai-openapi.json#/components/schemas/Project",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "orgId": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/ProjectStatus"
    },
    "tracker": {
      "$ref": "#/$defs/ProjectTracker"
    },
    "trackerConnectorId": {
      "type": [
        "string",
        "null"
      ]
    },
    "trackerTeamId": {
      "type": [
        "string",
        "null"
      ]
    },
    "trackerProjectId": {
      "type": [
        "string",
        "null"
      ]
    },
    "scmConnectorId": {
      "type": "string"
    },
    "scmOwner": {
      "type": "string"
    },
    "scmRepo": {
      "type": "string"
    },
    "llmConnectorId": {
      "type": "string"
    },
    "autoMerge": {
      "type": "boolean"
    },
    "issueCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "defaultSandboxTemplateId": {
      "type": [
        "string",
        "null"
      ]
    },
    "siteTemplate": {
      "type": [
        "string",
        "null"
      ]
    },
    "provisionedBy": {
      "$ref": "#/$defs/ProjectProvisionedBy"
    },
    "createdAt": {
      "type": "integer"
    },
    "missingConnectorKinds": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "tracker",
          "scm",
          "llm"
        ]
      }
    }
  },
  "required": [
    "id",
    "orgId",
    "slug",
    "name",
    "status",
    "tracker",
    "trackerConnectorId",
    "trackerTeamId",
    "trackerProjectId",
    "scmConnectorId",
    "scmOwner",
    "scmRepo",
    "llmConnectorId",
    "autoMerge",
    "issueCode",
    "defaultSandboxTemplateId",
    "siteTemplate",
    "createdAt"
  ],
  "$defs": {
    "ProjectProvisionedBy": {
      "type": "string",
      "enum": [
        "ship",
        "owner"
      ]
    },
    "ProjectStatus": {
      "type": "string",
      "enum": [
        "active",
        "paused",
        "archived"
      ]
    },
    "ProjectTracker": {
      "type": "string",
      "enum": [
        "linear",
        "github-issues",
        "jira",
        "none"
      ]
    }
  }
}