diff --git a/cdr_schemas/cdr_responses/area_extractions.py b/cdr_schemas/cdr_responses/area_extractions.py index e12054f..6dbb12f 100644 --- a/cdr_schemas/cdr_responses/area_extractions.py +++ b/cdr_schemas/cdr_responses/area_extractions.py @@ -26,7 +26,7 @@ class AreaExtractionResponse(BaseModel): model_id: str = Field( default="", description="Model id for the model used to generate this item" ) - validated: bool = Field(default=False, description="Validated by human") + validated: Optional[bool] = Field(default=None, description="Validated by human") confidence: Optional[float] = None category: AreaType = Field( ..., diff --git a/cdr_schemas/cdr_responses/features.py b/cdr_schemas/cdr_responses/features.py index 9d987eb..940f765 100644 --- a/cdr_schemas/cdr_responses/features.py +++ b/cdr_schemas/cdr_responses/features.py @@ -38,7 +38,7 @@ class PolygonExtractionResponse(BaseModel): system_version: str = Field( default="", description="System version that published this item" ) - validated: bool = Field(default=False, description="Validated by human") + validated: Optional[bool] = Field(default=None, description="Validated by human") legend_id: str = Field(default="", description="Associated CDR legend id") projected_feature: List[ProjectedFeature] = Field( default_factory=list, @@ -81,7 +81,7 @@ class PointExtractionResponse(BaseModel): system_version: str = Field( default="", description="System Version that published this item" ) - validated: bool = Field(default=False, description="Validated by human") + validated: Optional[bool] = Field(default=None, description="Validated by human") legend_id: str = Field(default="", description="Associated legend id") projected_feature: List[ProjectedFeature] = Field( default_factory=list, @@ -117,7 +117,7 @@ class LineExtractionResponse(BaseModel): system_version: str = Field( default="", description="System version that published this item" ) - validated: bool = Field(default=False, description="Validated by human") + validated: Optional[bool] = Field(default=None, description="Validated by human") legend_id: str = Field(default="", description="Associated legend id") projected_feature: List[ProjectedFeature] = Field( default_factory=list, diff --git a/cdr_schemas/cdr_responses/legend_items.py b/cdr_schemas/cdr_responses/legend_items.py index 33b634a..be94bd9 100644 --- a/cdr_schemas/cdr_responses/legend_items.py +++ b/cdr_schemas/cdr_responses/legend_items.py @@ -40,7 +40,7 @@ class LegendItemResponse(BaseModel): model_id: str = Field( default="", description="Model id for the model used to generate this item" ) - validated: bool = Field(default=False, description="Validated by human") + validated: Optional[bool] = Field(default=None, description="Validated by human") confidence: Optional[float] = None map_unit_age_text: str = Field(default="", description="Age of map unit") map_unit_lithology: str = Field(default="", description="Map unit lithology") diff --git a/pyproject.toml b/pyproject.toml index 9d193e8..aa9141c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cdr_schemas" -version = "0.4.2" +version = "0.4.3" description = "CDR Schemas" authors = [] readme = "README.md"