@@ -155,15 +155,19 @@ class CVReferenceMaterialMedium(Base, CV):
155155# Core
156156# ################################################################################
157157class People (Base ):
158-
158+ """
159+ Individuals that perform actions.
160+ """
159161 PersonID = Column ('personid' , Integer , primary_key = True , nullable = False )
160162 PersonFirstName = Column ('personfirstname' , String (255 ), nullable = False )
161163 PersonMiddleName = Column ('personmiddlename' , String (255 ))
162164 PersonLastName = Column ('personlastname' , String (255 ), nullable = False )
163165
164166
165167class Organizations (Base ):
166-
168+ """
169+ A group of people.
170+ """
167171 OrganizationID = Column ('organizationid' , Integer , primary_key = True , nullable = False )
168172 OrganizationTypeCV = Column ('organizationtypecv' , ForeignKey (CVOrganizationType .Name ), nullable = False ,
169173 index = True )
@@ -194,7 +198,9 @@ class Affiliations(Base):
194198
195199
196200class Methods (Base ):
197-
201+ """
202+ The procedure used to perform an action.
203+ """
198204 MethodID = Column ('methodid' , Integer , primary_key = True , nullable = False )
199205 MethodTypeCV = Column ('methodtypecv' , ForeignKey (CVMethodType .Name ), nullable = False , index = True )
200206 MethodCode = Column ('methodcode' , String (50 ), nullable = False )
@@ -207,7 +213,9 @@ class Methods(Base):
207213
208214
209215class Actions (Base ):
210-
216+ """
217+ Actions are performed by people and may have a result.
218+ """
211219 ActionID = Column ('actionid' , Integer , primary_key = True , nullable = False )
212220 ActionTypeCV = Column ('actiontypecv' , ForeignKey (CVActionType .Name ), nullable = False , index = True )
213221 MethodID = Column ('methodid' , ForeignKey (Methods .MethodID ), nullable = False )
@@ -234,19 +242,42 @@ class ActionBy(Base):
234242
235243
236244class SamplingFeatures (Base ):
237-
245+ """
246+ Where or on what an action was performed.
247+ """
238248 SamplingFeatureID = Column ('samplingfeatureid' , Integer , primary_key = True , nullable = False )
249+ """int: Primary key identifier."""
239250 SamplingFeatureUUID = Column ('samplingfeatureuuid' , String (36 ), nullable = False )
251+ """str: A universally unique identifier for the sampling feature."""
240252 SamplingFeatureTypeCV = Column ('samplingfeaturetypecv' , ForeignKey (CVSamplingFeatureType .Name ),
241253 nullable = False , index = True )
254+ """str: CV term describing the type of sampling feature."""
242255 SamplingFeatureCode = Column ('samplingfeaturecode' , String (50 ), nullable = False )
256+ """str: A short but meaningful text identifier for the sampling feature."""
243257 SamplingFeatureName = Column ('samplingfeaturename' , String (255 ))
258+ """str: Sampling Feature name (free text)."""
244259 SamplingFeatureDescription = Column ('samplingfeaturedescription' , String (500 ))
260+ """str: Text describing the sampling feature."""
245261 SamplingFeatureGeotypeCV = Column ('samplingfeaturegeotypecv' , ForeignKey (CVSamplingFeatureGeoType .Name ),
246262 index = True )
263+ """str: Dimensionality of SamplingFeature; point2d, line2d, etc."""
247264 Elevation_m = Column ('elevation_m' , Float (53 ))
265+ """float: The elevation of the sampling feature in meters, or in the case of Specimen,
266+ the elevation from where the SamplingFeature.Specimen was collected"""
248267 ElevationDatumCV = Column ('elevationdatumcv' , ForeignKey (CVElevationDatum .Name ), index = True )
268+ """str: The code for the vertical geodetic datum that specifies the zero point for
269+ the Sampling Feature Elevation"""
270+ # FeatureGeometry = Column('featuregeometry', String(50))
271+ """object: The location geometry of the sampling feature on the Earth expressed using a
272+ geometry data type. Can be a Point, Curve (profile, trajectory, etc),
273+ Surface (flat polygons, etc) or Solid/Volume (although often limited to
274+ 2D geometries). """
275+
249276 FeatureGeometryWKT = Column ('featuregeometrywkt' , String (50 ))
277+ """str: The location geometry of the sampling feature on the Earth expressed as
278+ well known text (WKT). Can be a Point, Curve (profile, trajectory, etc.),
279+ Surface (flat polygons, etc.), or Solid/Volume (although often limited to
280+ 2D geometries)."""
250281 __mapper_args__ = {
251282 'polymorphic_on' : case (
252283 [
@@ -259,7 +290,10 @@ class SamplingFeatures(Base):
259290
260291
261292class FeatureActions (Base ):
262-
293+ """
294+ Provides flexible linkage between Actions and the SamplingFeatures
295+ on which or at which they were performed.
296+ """
263297 FeatureActionID = Column ('featureactionid' , Integer , primary_key = True , nullable = False )
264298 SamplingFeatureID = Column ('samplingfeatureid' , ForeignKey (SamplingFeatures .SamplingFeatureID ),
265299 nullable = False )
@@ -270,7 +304,9 @@ class FeatureActions(Base):
270304
271305
272306class DataSets (Base ):
273-
307+ """
308+ Enables grouping of results into a larger dataset.
309+ """
274310 DataSetID = Column ('datasetid' , Integer , primary_key = True , nullable = False )
275311
276312 # This has been changed to String to support multiple database uuid types
@@ -282,15 +318,19 @@ class DataSets(Base):
282318
283319
284320class ProcessingLevels (Base ):
285-
321+ """
322+ Levels to which data have been quality controlled.
323+ """
286324 ProcessingLevelID = Column ('processinglevelid' , Integer , primary_key = True , nullable = False )
287325 ProcessingLevelCode = Column ('processinglevelcode' , String (50 ), nullable = False )
288326 Definition = Column ('definition' , String (500 ))
289327 Explanation = Column ('explanation' , String (500 ))
290328
291329
292330class RelatedActions (Base ):
293-
331+ """
332+ Enables specifying relationships among Actions (e.g., workflows, etc.)
333+ """
294334 RelationID = Column ('relationid' , Integer , primary_key = True , nullable = False )
295335 ActionID = Column ('actionid' , ForeignKey (Actions .ActionID ), nullable = False )
296336 RelationshipTypeCV = Column ('relationshiptypecv' , ForeignKey (CVRelationshipType .Name ), nullable = False ,
@@ -302,7 +342,9 @@ class RelatedActions(Base):
302342
303343
304344class TaxonomicClassifiers (Base ):
305-
345+ """
346+ Terms for classifying results.
347+ """
306348 TaxonomicClassifierID = Column ('taxonomicclassifierid' , Integer , primary_key = True , nullable = False )
307349 TaxonomicClassifierTypeCV = Column (
308350 'taxonomicclassifiertypecv' ,
@@ -321,7 +363,9 @@ class TaxonomicClassifiers(Base):
321363
322364
323365class Units (Base ):
324-
366+ """
367+ Units of measure.
368+ """
325369 UnitsID = Column ('unitsid' , Integer , primary_key = True , nullable = False )
326370 UnitsTypeCV = Column ('unitstypecv' , ForeignKey (CVUnitsType .Name ), nullable = False , index = True )
327371 UnitsAbbreviation = Column ('unitsabbreviation' , String (255 ), nullable = False )
@@ -330,7 +374,9 @@ class Units(Base):
330374
331375
332376class Variables (Base ):
333-
377+ """
378+ What was observed.
379+ """
334380 VariableID = Column ('variableid' , Integer , primary_key = True , nullable = False )
335381 VariableTypeCV = Column ('variabletypecv' , ForeignKey (CVVariableType .Name ), nullable = False , index = True )
336382 VariableCode = Column ('variablecode' , String (50 ), nullable = False )
@@ -341,7 +387,9 @@ class Variables(Base):
341387
342388
343389class Results (Base ):
344-
390+ """
391+ The result of an action.
392+ """
345393 ResultID = Column ('resultid' , BigIntegerType , primary_key = True )
346394
347395 # This has been changed to String to support multiple database uuid types
0 commit comments