feat: form-input library with schema parsing and endpoint

This commit is contained in:
Jonas Miederer 2026-09-12 07:36:05 +02:00
parent 80d81b8022
commit 46ecab00db
13 changed files with 2775 additions and 2 deletions

View file

@ -37,6 +37,18 @@ class FlowVersionRead(BaseModel):
deployed_at: datetime | None
author: str
created_at: datetime
input_schema: dict | None = None
class InputSchemaRead(BaseModel):
"""Form schema of the latest deployed version (RJSF renders it)."""
flow_id: UUID
version_no: int
json_schema: dict
ui_schema: dict = Field(default_factory=dict)
# Set when the flow has no CustomInput node: render a free-text box.
fallback: str | None = None
class RunRequest(BaseModel):