diff --git a/cdr_schemas/area_extraction.py b/cdr_schemas/area_extraction.py index 79ecba2..16e3bbd 100644 --- a/cdr_schemas/area_extraction.py +++ b/cdr_schemas/area_extraction.py @@ -54,6 +54,7 @@ class Area_Extraction(BaseModel): aiding in tracking provenance. """, ) + validated: bool = Field(False, description="Validated by human") # Model Provenance model: str = Field(description="Name of the model used to generate this data") diff --git a/cdr_schemas/features/line_features.py b/cdr_schemas/features/line_features.py index 2013911..9526540 100644 --- a/cdr_schemas/features/line_features.py +++ b/cdr_schemas/features/line_features.py @@ -55,6 +55,7 @@ class LineProperty(BaseModel): aiding in tracking provenance. """, ) + validated: bool = Field(False, description="Validated by human") model_config = ConfigDict(protected_namespaces=()) @@ -124,6 +125,7 @@ class LineLegendAndFeaturesResult(BaseModel): aiding in tracking provenance. """, ) + validated: bool = Field(False, description="Validated by human") # Segmentation Fields crs: str = Field( diff --git a/cdr_schemas/features/point_features.py b/cdr_schemas/features/point_features.py index 7443dc7..ce97ce1 100644 --- a/cdr_schemas/features/point_features.py +++ b/cdr_schemas/features/point_features.py @@ -57,6 +57,8 @@ class PointProperties(BaseModel): aiding in tracking provenance. """, ) + validated: bool = Field(False, description="Validated by human") + model_config = ConfigDict(protected_namespaces=()) @@ -126,6 +128,7 @@ class PointLegendAndFeaturesResult(BaseModel): aiding in tracking provenance. """, ) + validated: bool = Field(False, description="Validated by human") # Segmentation Fields crs: str = Field( diff --git a/cdr_schemas/features/polygon_features.py b/cdr_schemas/features/polygon_features.py index 3910b43..4898fe0 100644 --- a/cdr_schemas/features/polygon_features.py +++ b/cdr_schemas/features/polygon_features.py @@ -37,6 +37,8 @@ class PolygonProperty(BaseModel): aiding in tracking provenance. """, ) + validated: bool = Field(False, description="Validated by human") + confidence: Optional[Union[float, int]] = Field( default=None, description="The prediction confidence of the model" ) @@ -131,6 +133,7 @@ class PolygonLegendAndFeaturesResult(BaseModel): aiding in tracking provenance. """, ) + validated: bool = Field(False, description="Validated by human") # Segmentation Fields crs: str = Field( diff --git a/cdr_schemas/georeference.py b/cdr_schemas/georeference.py index 957683a..d54b8ae 100644 --- a/cdr_schemas/georeference.py +++ b/cdr_schemas/georeference.py @@ -121,6 +121,7 @@ class ProjectionResult(BaseModel): Name of file uploaded for this projection. """, ) + validated: bool = Field(False, description="Validated by human") class GeoreferenceResult(BaseModel): diff --git a/pyproject.toml b/pyproject.toml index c2f443f..21d8e86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cdr_schemas" -version = "0.2.8" +version = "0.2.9" description = "CDR Schemas" authors = [] readme = "README.md"