{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/civai-co/json-schema/civai-co-project-create-schema.json",
  "title": "ProjectCreate",
  "description": "Model for creating a new project.",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audience-resolver-api.civai.co-openapi.json#/components/schemas/ProjectCreate",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "description": "Project name"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "description": "Product description"
    },
    "keywords": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Keywords",
      "description": "Comma-separated keywords"
    },
    "output_dir": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Dir",
      "description": "Output directory (auto-generated if not provided)"
    },
    "days_back": {
      "type": "integer",
      "title": "Days Back",
      "description": "How many days back to search",
      "default": 90
    },
    "min_query": {
      "type": "integer",
      "title": "Min Query",
      "description": "Minimum number of queries",
      "default": 5
    },
    "max_query": {
      "type": "integer",
      "title": "Max Query",
      "description": "Maximum number of queries",
      "default": 20
    },
    "require_product_name_in_queries": {
      "type": "boolean",
      "title": "Require Product Name In Queries",
      "description": "Require product name in queries",
      "default": false
    },
    "report_only": {
      "type": "boolean",
      "title": "Report Only",
      "description": "Report-only mode",
      "default": false
    },
    "promo": {
      "type": "boolean",
      "title": "Promo",
      "description": "Promo mode",
      "default": false
    },
    "export_pdf": {
      "type": "boolean",
      "title": "Export Pdf",
      "description": "Export PDF",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "name",
    "description"
  ]
}