graph TD
A[Start JSON Compiler Subagent] --> B[Receive Media URLs]
B --> C[Collect Website Video URL]
B --> D[Collect YouTube Video URL]
B --> E[Collect Product Image URLs]
B --> F[Collect News Video URLs]
C --> G[Format Website Section]
D --> H[Format YouTube Section]
E --> I[Format Images Array]
F --> J[Format News Videos Array]
G --> K[Compile Final JSON]
H --> K
I --> K
J --> K
K --> L[Validate JSON Structure]
L --> M[Return Final JSON Output]
M --> N[End JSON Compiler Subagent]
subgraph Input Processing
B
C
D
E
F
end
subgraph JSON Formatting
G
H
I
J
end
subgraph Final Steps
K
L
M
end