{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/marketbrew-ai/json-schema/marketbrew-ai-content-tool-analysis-body-schema.json",
  "title": "ContentToolAnalysisBody",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/marketbrew-ai-openapi.yaml#/components/schemas/ContentToolAnalysisBody",
  "type": "object",
  "properties": {
    "loadSimilarWords": {
      "type": "boolean"
    },
    "includeVectors": {
      "type": "boolean"
    },
    "focus": {
      "$ref": "#/$defs/ContentToolFocusBody"
    },
    "selectionStart": {
      "format": "int32",
      "type": "integer"
    },
    "selectionEnd": {
      "format": "int32",
      "type": "integer"
    },
    "useTopCluster": {
      "type": "boolean"
    },
    "crew": {
      "$ref": "#/$defs/CrewSummary"
    },
    "website": {
      "$ref": "#/$defs/WebsiteSummary"
    },
    "targetUrl": {
      "type": "string"
    },
    "comparisonUrl": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "rankingSensorId": {
      "format": "int32",
      "type": "integer"
    },
    "snapshotId": {
      "format": "int32",
      "type": "integer"
    },
    "taskId": {
      "format": "int64",
      "type": "integer"
    },
    "content": {
      "$ref": "#/$defs/ContentToolPageBody"
    },
    "comparisonContent": {
      "$ref": "#/$defs/ContentToolPageBody"
    },
    "draft": {
      "$ref": "#/$defs/ContentToolPageBody"
    },
    "prompts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "expansionTerms": {
      "type": "string"
    },
    "anchorContent": {
      "type": "string"
    },
    "topic": {
      "type": "string"
    },
    "compressionLevel": {
      "format": "int32",
      "type": "integer"
    },
    "recommendations": {
      "type": "boolean"
    },
    "generatePrompts": {
      "type": "boolean"
    },
    "pageSize": {
      "format": "int32",
      "type": "integer"
    },
    "offset": {
      "format": "int32",
      "type": "integer"
    }
  },
  "$defs": {
    "ContentToolAnchorBody": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string"
        },
        "linkFlow": {
          "type": "number"
        }
      }
    },
    "ContentToolFocusBody": {
      "type": "object",
      "properties": {
        "entities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ContentToolFocusEntityBody"
          }
        },
        "anchors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ContentToolAnchorBody"
          }
        }
      }
    },
    "ContentToolFocusEntityBody": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "uri": {
          "type": "string"
        },
        "mentions": {
          "format": "int32",
          "type": "integer"
        },
        "topicBoost": {
          "type": "boolean"
        }
      }
    },
    "ContentToolPageBody": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "body": {
          "type": "string"
        },
        "headings": {
          "type": "string"
        }
      }
    },
    "CrewSummary": {
      "type": "object",
      "properties": {
        "id": {
          "format": "int64",
          "type": "integer"
        },
        "email": {
          "type": "string"
        },
        "businessName": {
          "type": "string"
        }
      }
    },
    "WebsiteSummary": {
      "type": "object",
      "properties": {
        "websiteId": {
          "format": "int64",
          "type": "integer"
        },
        "serverHost": {
          "type": "string"
        }
      }
    }
  }
}