Autolegal/documents/services_lite/schema.py

10 lines
297 B
Python
Raw Permalink Normal View History

from __future__ import annotations
from pydantic import BaseModel, Field
class DocumentInput(BaseModel):
client_name: str = Field(..., min_length=1)
provider_name: str = Field(..., min_length=1)
include_confidentiality: bool = False
governing_law: str = Field(..., min_length=1)