{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cite42-dev/json-schema/cite42-dev-post-api-v1-workflows-content-brief-response-schema.json",
  "title": "PostApiV1WorkflowsContentBriefResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/cite42-dev-openapi-generated.yml#/components/schemas/PostApiV1WorkflowsContentBriefResponse",
  "type": "object",
  "properties": {
    "endpoint": {
      "type": "string"
    },
    "tool": {
      "type": "string"
    },
    "why": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "topic": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "timeframe": {
          "type": "string"
        },
        "provider": {
          "type": "string"
        },
        "publishedAfter": {
          "type": "string",
          "format": "date-time"
        },
        "risingVideos": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "videoId": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "channelTitle": {
                "type": "string"
              },
              "channelId": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "publishedAt": {
                "type": "string",
                "format": "date-time"
              },
              "descriptionSnippet": {
                "type": "string"
              },
              "thumbnailUrl": {
                "type": "string"
              },
              "duration": {
                "type": "string"
              },
              "viewCount": {
                "type": "integer"
              },
              "likeCount": {
                "type": "integer"
              },
              "commentCount": {
                "type": "integer"
              },
              "viewsPerDay": {
                "type": "integer"
              }
            }
          }
        },
        "titlePatterns": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "pattern": {
                "type": "string"
              },
              "count": {
                "type": "integer"
              }
            }
          }
        },
        "creatorAngles": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "angle": {
                "type": "string"
              },
              "why": {
                "type": "string"
              }
            }
          }
        },
        "channelBreakdown": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "channelTitle": {
                "type": "string"
              },
              "videos": {
                "type": "integer"
              },
              "totalViews": {
                "type": "integer"
              },
              "totalComments": {
                "type": "integer"
              }
            }
          }
        },
        "formatIdeas": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "sourceUrls": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "fetchedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "ok": {
      "type": "boolean"
    }
  }
}