{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/novence-ai/json-schema/novence-ai-project-schema.json",
  "title": "Project",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/novence-ai-openapi.yml#/components/schemas/Project",
  "type": "object",
  "required": [
    "id",
    "name",
    "suffix",
    "url",
    "status"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "suffix": {
      "type": "string",
      "description": "Subdomain label for https://{suffix}.novence.ai/"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "status": {
      "type": "string",
      "description": "Project lifecycle (active/deleted/suspended) — NOT deploy status"
    },
    "randomSuffix": {
      "type": "string",
      "deprecated": true,
      "description": "Alias of suffix (deprecated)"
    },
    "customDomain": {
      "type": [
        "string",
        "null"
      ]
    },
    "customDomainStatus": {
      "type": "string"
    },
    "analyticsEnabled": {
      "type": "boolean",
      "description": "Cookieless edge analytics. Default false. Enable via PATCH."
    },
    "shareGateEmails": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "email"
      },
      "description": "Invited emails for the optional share gate (max 5). Empty means the\nplatform host is public. Custom domains are never gated.\n"
    },
    "siteMcp": {
      "type": "string",
      "enum": [
        false,
        "read",
        "forms"
      ],
      "description": "Visitor Site MCP. off by default. Discovery at /.well-known/mcp.json\non the live origin; tools at /sites/{suffix}/mcp with no nv_ key.\n"
    },
    "dataEditEmails": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "email"
      },
      "description": "Owner emails for optional /edit (max 5). Empty means off. Pro/Scale.\nCustom domains included.\n"
    },
    "dataEditNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Collection names the owner may edit."
    },
    "dataEditPath": {
      "type": "string",
      "description": "Editor path segment. Default edit."
    }
  }
}