Skip to content

Instantly share code, notes, and snippets.

@npetrovski
Created December 9, 2025 22:20
Show Gist options
  • Select an option

  • Save npetrovski/9373dd8322883bd0b29a8f62fee7e391 to your computer and use it in GitHub Desktop.

Select an option

Save npetrovski/9373dd8322883bd0b29a8f62fee7e391 to your computer and use it in GitHub Desktop.
Nested JSON structure
{
"id": "root",
"name": "Product Knowledge Graph",
"type": "root",
"children": [
{
"id": "platform",
"name": "Platform",
"type": "category",
"children": [
{
"id": "platform-web",
"name": "Web",
"type": "category",
"children": [
{
"id": "platform-web-frontend",
"name": "Frontend",
"type": "category",
"children": [
{
"id": "platform-web-frontend-components",
"name": "Components",
"type": "category",
"children": [
{ "id": "platform-web-frontend-components-button", "name": "Button", "type": "leaf" },
{ "id": "platform-web-frontend-components-form", "name": "Form", "type": "leaf" },
{ "id": "platform-web-frontend-components-table", "name": "Table", "type": "leaf" },
{ "id": "platform-web-frontend-components-modal", "name": "Modal", "type": "leaf" }
]
},
{
"id": "platform-web-frontend-layouts",
"name": "Layouts",
"type": "category",
"children": [
{ "id": "platform-web-frontend-layouts-dashboard", "name": "Dashboard layout", "type": "leaf" },
{ "id": "platform-web-frontend-layouts-list", "name": "List layout", "type": "leaf" },
{ "id": "platform-web-frontend-layouts-detail", "name": "Detail layout", "type": "leaf" }
]
}
]
},
{
"id": "platform-web-backend",
"name": "Backend",
"type": "category",
"children": [
{ "id": "platform-web-backend-rest", "name": "REST API", "type": "leaf" },
{ "id": "platform-web-backend-graphql", "name": "GraphQL API", "type": "leaf" },
{ "id": "platform-web-backend-auth", "name": "Authentication service", "type": "leaf" }
]
}
]
},
{
"id": "platform-mobile",
"name": "Mobile",
"type": "category",
"children": [
{
"id": "platform-mobile-ios",
"name": "iOS",
"type": "category",
"children": [
{ "id": "platform-mobile-ios-native", "name": "Native iOS", "type": "leaf" },
{ "id": "platform-mobile-ios-hybrid", "name": "Hybrid iOS", "type": "leaf" }
]
},
{
"id": "platform-mobile-android",
"name": "Android",
"type": "category",
"children": [
{ "id": "platform-mobile-android-native", "name": "Native Android", "type": "leaf" },
{ "id": "platform-mobile-android-hybrid", "name": "Hybrid Android", "type": "leaf" }
]
}
]
},
{
"id": "platform-desktop",
"name": "Desktop",
"type": "category",
"children": [
{ "id": "platform-desktop-windows", "name": "Windows client", "type": "leaf" },
{ "id": "platform-desktop-macos", "name": "macOS client", "type": "leaf" },
{ "id": "platform-desktop-linux", "name": "Linux client", "type": "leaf" }
]
}
]
},
{
"id": "features",
"name": "Features",
"type": "category",
"children": [
{
"id": "features-analytics",
"name": "Analytics",
"type": "category",
"children": [
{
"id": "features-analytics-dashboards",
"name": "Dashboards",
"type": "category",
"children": [
{
"id": "features-analytics-dashboards-sales",
"name": "Sales dashboard",
"type": "leaf"
},
{
"id": "features-analytics-dashboards-marketing",
"name": "Marketing dashboard",
"type": "leaf"
},
{
"id": "features-analytics-dashboards-support",
"name": "Support dashboard",
"type": "leaf"
}
]
},
{
"id": "features-analytics-reports",
"name": "Reports",
"type": "category",
"children": [
{ "id": "features-analytics-reports-daily", "name": "Daily report", "type": "leaf" },
{ "id": "features-analytics-reports-weekly", "name": "Weekly report", "type": "leaf" },
{ "id": "features-analytics-reports-monthly", "name": "Monthly report", "type": "leaf" }
]
}
]
},
{
"id": "features-collaboration",
"name": "Collaboration",
"type": "category",
"children": [
{
"id": "features-collaboration-chat",
"name": "Chat",
"type": "category",
"children": [
{ "id": "features-collaboration-chat-channels", "name": "Channels", "type": "leaf" },
{ "id": "features-collaboration-chat-direct", "name": "Direct messages", "type": "leaf" }
]
},
{
"id": "features-collaboration-comments",
"name": "Comments",
"type": "category",
"children": [
{ "id": "features-collaboration-comments-inline", "name": "Inline comments", "type": "leaf" },
{ "id": "features-collaboration-comments-threaded", "name": "Threaded comments", "type": "leaf" }
]
},
{ "id": "features-collaboration-sharing", "name": "Sharing links", "type": "leaf" }
]
},
{
"id": "features-automation",
"name": "Automation",
"type": "category",
"children": [
{
"id": "features-automation-workflows",
"name": "Workflows",
"type": "category",
"children": [
{ "id": "features-automation-workflows-onboarding", "name": "Onboarding flow", "type": "leaf" },
{ "id": "features-automation-workflows-renewals", "name": "Renewals flow", "type": "leaf" }
]
},
{ "id": "features-automation-notifications", "name": "Notifications", "type": "leaf" },
{ "id": "features-automation-reminders", "name": "Reminders", "type": "leaf" }
]
}
]
},
{
"id": "integrations",
"name": "Integrations",
"type": "category",
"children": [
{
"id": "integrations-crm",
"name": "CRM",
"type": "category",
"children": [
{ "id": "integrations-crm-salesforce", "name": "Salesforce", "type": "leaf" },
{ "id": "integrations-crm-hubspot", "name": "HubSpot", "type": "leaf" },
{ "id": "integrations-crm-pipedrive", "name": "Pipedrive", "type": "leaf" }
]
},
{
"id": "integrations-communication",
"name": "Communication",
"type": "category",
"children": [
{ "id": "integrations-communication-slack", "name": "Slack", "type": "leaf" },
{ "id": "integrations-communication-teams", "name": "Microsoft Teams", "type": "leaf" },
{ "id": "integrations-communication-email", "name": "Email", "type": "leaf" }
]
},
{
"id": "integrations-storage",
"name": "Storage",
"type": "category",
"children": [
{ "id": "integrations-storage-drive", "name": "Google Drive", "type": "leaf" },
{ "id": "integrations-storage-dropbox", "name": "Dropbox", "type": "leaf" },
{ "id": "integrations-storage-s3", "name": "Amazon S3", "type": "leaf" }
]
}
]
},
{
"id": "use-cases",
"name": "Use cases",
"type": "category",
"children": [
{
"id": "use-cases-sales",
"name": "Sales",
"type": "category",
"children": [
{ "id": "use-cases-sales-prospecting", "name": "Prospecting", "type": "leaf" },
{ "id": "use-cases-sales-pipeline", "name": "Pipeline management", "type": "leaf" },
{ "id": "use-cases-sales-forecasting", "name": "Forecasting", "type": "leaf" }
]
},
{
"id": "use-cases-marketing",
"name": "Marketing",
"type": "category",
"children": [
{ "id": "use-cases-marketing-campaigns", "name": "Campaign management", "type": "leaf" },
{ "id": "use-cases-marketing-segmentation", "name": "Audience segmentation", "type": "leaf" },
{ "id": "use-cases-marketing-journeys", "name": "Customer journeys", "type": "leaf" }
]
},
{
"id": "use-cases-support",
"name": "Support",
"type": "category",
"children": [
{ "id": "use-cases-support-ticketing", "name": "Ticketing", "type": "leaf" },
{ "id": "use-cases-support-sla", "name": "SLA tracking", "type": "leaf" },
{ "id": "use-cases-support-selfservice", "name": "Self-service portal", "type": "leaf" }
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment