mirror of
https://github.com/hanzoai/insights.git
synced 2026-11-03 00:52:32 +00:00
The tree was a debranded snapshot of upstream taken around 2026-02-20, and upstream has moved about five months since. This replaces it with upstream master, mechanically re-derived: bin/debrand does the rename, and the pipeline and squashed migrations are restored from the shipped tree. Not a merge. The previous import replaced the tree wholesale in a single commit, so there is no shared content history to merge against. Reproducing the rename on the new tree is what actually converges. What survives: .hanzo/workflows, the Dockerfiles and bin/docker* entrypoints, compose files, LLM.md, and insights/migrations. The squashed initial migration is load-bearing — the live database records it by name, so upstream's ~918 individual migrations cannot come back. Nine products are dropped as unreferenced. Twenty-one more that we do not run are kept anyway because the core app still imports them; unpicking those is a refactor and does not belong in a rebase. This base does not build yet, and the reasons are not in the rename: upstream now wants Python 3.13.13 against our 3.12.12 and Django 5.2 against our 4.2, and the dependency manifests still name upstream packages that we republish under our own names. Those are decisions, not renames.
54 lines
2.5 KiB
JSON
54 lines
2.5 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"properties": {
|
|
"data": {
|
|
"description": "The property definition data to update",
|
|
"properties": {
|
|
"description": {
|
|
"description": "Description explaining what the property represents",
|
|
"type": "string"
|
|
},
|
|
"hidden": {
|
|
"description": "Mark property as no longer used. Hides it from the UI while preserving historical data",
|
|
"type": "boolean"
|
|
},
|
|
"property_type": {
|
|
"description": "The data type of the property. Controls how the property is parsed, displayed, and filtered.",
|
|
"enum": ["DateTime", "String", "Numeric", "Boolean", "Duration"],
|
|
"type": "string"
|
|
},
|
|
"tags": {
|
|
"description": "Tags to organize properties by product area (e.g. \"checkout\", \"onboarding\") or user journey stage (e.g. \"acquisition\", \"activation\", \"monetization\", \"retention\"). Warning: this REPLACES the property's entire tag list, it does not merge. To keep existing tags, include them alongside the new ones; to remove a tag, omit it. Omit this field entirely to leave tags unchanged.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"verified": {
|
|
"description": "Mark as verified to indicate the property is correctly instrumented and safe to use",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"groupTypeIndex": {
|
|
"description": "Required when type is \"group\": the zero-based index of the group type the property belongs to.",
|
|
"maximum": 9007199254740991,
|
|
"minimum": -9007199254740991,
|
|
"type": "integer"
|
|
},
|
|
"propertyName": {
|
|
"description": "The exact name of the property to update (e.g. \"$browser\", \"plan_type\")",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"default": "event",
|
|
"description": "Which property taxonomy the property belongs to. Defaults to \"event\" (event properties).",
|
|
"enum": ["event", "person", "group", "session"],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["propertyName", "data"],
|
|
"type": "object"
|
|
}
|