rosemariafontana commited on
Commit
dcb6733
·
verified ·
1 Parent(s): 6fcc4a7

Update schema_classes.py

Browse files
Files changed (1) hide show
  1. schema_classes.py +2 -2
schema_classes.py CHANGED
@@ -47,7 +47,7 @@ class Interactions(BaseModel):
47
  summary: Union[str, None] = Field(..., title="Summary", description="Summary of the interaction")
48
 
49
  class InteractionsLite(BaseModel):
50
- date: Union[str, None] = Field(..., title="Date of current interaction", description="Date of the interaction")
51
  nextMeeting: Union[str, None] = Field(..., title="Date of next meeting", description="Proposed date of the next future interaction")
52
  nextSteps: Union[List[str], None] = Field(..., title="Next Steps", description="List of individual next steps derived from the interaction")
53
  summary: Union[str, None] = Field(..., title="Summary", description="Summary of the interaction")
@@ -96,7 +96,7 @@ class Structure(str, Enum):
96
 
97
  class Log(BaseModel):
98
  convention: Union[Convention, None] = Field(..., title="Logs", description="This log's convention (i.e. this log's category or type)")
99
- date: Union[str, None] = Field(..., title="Date", description="Date the log (i.e. action of the activity or input) was performed")
100
  description: Union[str, None] = Field(..., title="Description", description="A description of the details of the log (i.e. details about farm activity performed")
101
 
102
  class Soil(BaseModel):
 
47
  summary: Union[str, None] = Field(..., title="Summary", description="Summary of the interaction")
48
 
49
  class InteractionsLite(BaseModel):
50
+ date: Union[str, None] = Field(..., title="Date", description="Date of the interaction in ISO 8601 format (YYYY-MM-DD)", example="2024-10-05")
51
  nextMeeting: Union[str, None] = Field(..., title="Date of next meeting", description="Proposed date of the next future interaction")
52
  nextSteps: Union[List[str], None] = Field(..., title="Next Steps", description="List of individual next steps derived from the interaction")
53
  summary: Union[str, None] = Field(..., title="Summary", description="Summary of the interaction")
 
96
 
97
  class Log(BaseModel):
98
  convention: Union[Convention, None] = Field(..., title="Logs", description="This log's convention (i.e. this log's category or type)")
99
+ date: Union[str, None] = Field(..., title="Date", description="Date the log (i.e. action of the activity or input) was performed in ISO 8601 format (YYYY-MM-DD)", example="2024-10-05")
100
  description: Union[str, None] = Field(..., title="Description", description="A description of the details of the log (i.e. details about farm activity performed")
101
 
102
  class Soil(BaseModel):