docstrings

This commit is contained in:
Josh Hawkins
2026-10-30 21:51:55 -05:00
parent e3cb3412d6
commit 00214bcec8
7 changed files with 23 additions and 4 deletions
+1
View File
@@ -22,6 +22,7 @@ OUTPUT = Path(__file__).parent / "docs" / "static" / "frigate-analytics-schema.j
def render() -> str:
"""The JSON Schema for the current report models."""
schema = AnalyticsReport.model_json_schema()
schema["$schema"] = "https://json-schema.org/draft/2020-12/schema"
schema["$id"] = "https://docs.frigate.video/frigate-analytics-schema.json"