{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/we-inc/json-schema/we-inc-project-schema.json",
  "title": "Project",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/we-inc-openapi.json#/components/schemas/Project",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "user_id": {
      "type": "string",
      "format": "uuid"
    },
    "org_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "org_client_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The agency client this project belongs to, if any"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "archived"
      ]
    },
    "template": {
      "type": [
        "string",
        "null"
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "starred": {
      "type": "boolean"
    },
    "is_public": {
      "type": "boolean"
    },
    "subdomain": {
      "type": [
        "string",
        "null"
      ]
    },
    "custom_domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "custom_domain_status": {
      "type": [
        "string",
        "null"
      ]
    },
    "published_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "The live website address. Null until the project is published."
    },
    "last_published_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "preview_image_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "last_opened_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}