-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextractiveindustry.py
1052 lines (866 loc) · 86.7 KB
/
extractiveindustry.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
from __future__ import annotations
from datetime import (
datetime,
date
)
from decimal import Decimal
from enum import Enum
import re
import sys
from typing import (
Any,
List,
Literal,
Dict,
Optional,
Union
)
from pydantic.version import VERSION as PYDANTIC_VERSION
if int(PYDANTIC_VERSION[0])>=2:
from pydantic import (
BaseModel,
ConfigDict,
Field,
field_validator
)
else:
from pydantic import (
BaseModel,
Field,
validator
)
metamodel_version = "None"
version = "None"
class WeakRefShimBaseModel(BaseModel):
__slots__ = '__weakref__'
class ConfiguredBaseModel(WeakRefShimBaseModel,
validate_assignment = True,
validate_all = True,
underscore_attrs_are_private = True,
extra = "forbid",
arbitrary_types_allowed = True,
use_enum_values = True):
pass
class LandformEnum(str):
pass
class RelativeTimeEnum(str, Enum):
BEFORE = "BEFORE"
AFTER = "AFTER"
AT_SAME_TIME_AS = "AT_SAME_TIME_AS"
class OrganismTaxonEnum(str):
pass
class HumanLanguageCodeEnum(str):
"""
An enumeration of languages
"""
pass
class PersonStatus(str, Enum):
# the person is living
ALIVE = "ALIVE"
# the person is deceased
DEAD = "DEAD"
# the vital status is not known
UNKNOWN = "UNKNOWN"
class OrganizationPersonnelRelationshipEnum(str):
"""
...
"""
pass
class ExtractiveIndustryFacilityType(str, Enum):
# A facility where mineral resources are extracted
MINING_FACILITY = "MINING_FACILITY"
# A facility where fluid resources are extracted
WELL_FACILITY = "WELL_FACILITY"
# A facility where stone, sand, or gravel are extracted
QUARRY_FACILITY = "QUARRY_FACILITY"
class ExtractiveIndustryProductType(str, Enum):
# A solid inorganic substance
MINERAL = "MINERAL"
# A solid metallic substance
METAL = "METAL"
# A combustible black or brownish-black sedimentary rock
COAL = "COAL"
# A liquid petroleum resource
OIL = "OIL"
# A gaseous petroleum resource
GAS = "GAS"
# A solid aggregate of minerals
STONE = "STONE"
# A granular material composed of finely divided rock and mineral particles
SAND = "SAND"
# A loose aggregation of rock fragments
GRAVEL = "GRAVEL"
class MiningMethod(str, Enum):
# Extraction occurs beneath the earth's surface
UNDERGROUND = "UNDERGROUND"
# Extraction occurs on the earth's surface
OPEN_PIT = "OPEN_PIT"
# Extraction of valuable minerals from alluvial deposits
PLACER = "PLACER"
# Extraction without removing the ore from its original location
IN_SITU = "IN_SITU"
class WellType(str, Enum):
# A well that primarily extracts crude oil
OIL = "OIL"
# A well that primarily extracts natural gas
GAS = "GAS"
# A well that extracts water for various purposes
WATER = "WATER"
# A well used to inject fluids into underground formations
INJECTION = "INJECTION"
class Identified(ConfiguredBaseModel):
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
class Typed(ConfiguredBaseModel):
type: Literal["Typed"] = Field("Typed", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Entity(Typed):
"""
A physical, digital, conceptual, or other kind of thing with some common characteristics
"""
type: Literal["Entity"] = Field("Entity", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Intangible(Entity):
"""
An entity that is not a physical object, process, or information
"""
type: Literal["Intangible"] = Field("Intangible", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class SetOfObservations(Intangible):
observation_subject: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
observations: Optional[Union[Observation,Measurement,QualitativeObservation]] = Field(None)
type: Literal["SetOfObservations"] = Field("SetOfObservations", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Variable(Intangible):
allowed_units: Optional[List[str]] = Field(default_factory=list, description="""The units that are allowed for this variable""")
type: Literal["Variable"] = Field("Variable", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class PhysicalEntity(Entity, Identified):
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["PhysicalEntity"] = Field("PhysicalEntity", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Place(PhysicalEntity):
"""
Entities that have a somewhat fixed, physical extension.
"""
address: Optional[PostalAddress] = Field(None)
geolocation: Optional[GeoPointLocation] = Field(None, description="""The geolocation of the place""")
bounding_coordinates: Optional[GeoBoxLocation] = Field(None, description="""The bounding coordinates of the place""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Place"] = Field("Place", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Landform(Place):
"""
A natural feature of the solid surface of the Earth or other planetary body
"""
address: Optional[PostalAddress] = Field(None)
geolocation: Optional[GeoPointLocation] = Field(None, description="""The geolocation of the place""")
bounding_coordinates: Optional[GeoBoxLocation] = Field(None, description="""The bounding coordinates of the place""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Landform"] = Field("Landform", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class AstronomicalBody(Place):
address: Optional[PostalAddress] = Field(None)
geolocation: Optional[GeoPointLocation] = Field(None, description="""The geolocation of the place""")
bounding_coordinates: Optional[GeoBoxLocation] = Field(None, description="""The bounding coordinates of the place""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["AstronomicalBody"] = Field("AstronomicalBody", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class RawMaterial(PhysicalEntity):
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["RawMaterial"] = Field("RawMaterial", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Equipment(PhysicalEntity):
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Equipment"] = Field("Equipment", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Concept(Intangible, Identified):
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Concept"] = Field("Concept", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class InformationEntity(Intangible, Identified):
"""
An entity that describes some information
"""
describes: Optional[Any] = Field(None, description="""The thing that is being described""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["InformationEntity"] = Field("InformationEntity", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class PhysicalDevice(PhysicalEntity):
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["PhysicalDevice"] = Field("PhysicalDevice", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class StructuredValue(Intangible):
"""
A value that is a structured collection of other values
"""
type: Literal["StructuredValue"] = Field("StructuredValue", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class PostalAddress(StructuredValue):
"""
Represents an Address
"""
street_address: Optional[str] = Field(None, description="""The street address""")
street_address_additional: Optional[str] = Field(None)
city: Optional[str] = Field(None, description="""The city""")
state: Optional[str] = Field(None, description="""The state""")
postal_code: Optional[str] = Field(None, description="""The postal code or zip code""")
country: Optional[str] = Field(None, description="""The country""")
type: Literal["PostalAddress"] = Field("PostalAddress", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Role(Intangible):
type: Literal["Role"] = Field("Role", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Relationship(Intangible):
subject: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
predicate: Optional[str] = Field(None)
object: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
type: Literal["Relationship"] = Field("Relationship", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class PhysicalSystem(PhysicalEntity):
components: Optional[List[str]] = Field(default_factory=list)
events: Optional[List[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]]] = Field(default_factory=list)
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["PhysicalSystem"] = Field("PhysicalSystem", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Location(StructuredValue):
type: Literal["Location"] = Field("Location", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class GeoBoxLocation(Location):
west_bounding_coordinate: Optional[Decimal] = Field(None, description="""The westernmost coordinate of the location""")
east_bounding_coordinate: Optional[Decimal] = Field(None, description="""The easternmost coordinate of the location""")
north_bounding_coordinate: Optional[Decimal] = Field(None, description="""The northernmost coordinate of the location""")
south_bounding_coordinate: Optional[Decimal] = Field(None, description="""The southernmost coordinate of the location""")
type: Literal["GeoBoxLocation"] = Field("GeoBoxLocation", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class PointLocation(Location):
type: Literal["PointLocation"] = Field("PointLocation", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class GeoPointLocation(PointLocation):
latitude: Optional[Decimal] = Field(None, description="""The latitude of the location""")
longitude: Optional[Decimal] = Field(None, description="""The longitude of the location""")
altitude: Optional[Decimal] = Field(None, description="""The altitude of the location""")
type: Literal["GeoPointLocation"] = Field("GeoPointLocation", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Specification(InformationEntity):
"""
A specification of a thing
"""
describes: Optional[Any] = Field(None, description="""The thing that is being described""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Specification"] = Field("Specification", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Procedure(Specification):
"""
A canonical series of actions conducted in a certain order or manner
"""
describes: Optional[Any] = Field(None, description="""The thing that is being described""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Procedure"] = Field("Procedure", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class EngineeringSpecification(Procedure):
describes: Optional[Any] = Field(None, description="""The thing that is being described""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["EngineeringSpecification"] = Field("EngineeringSpecification", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class EntitySet(Intangible):
"""
A group of things. The collection may be heterogeneous or homogeneous.
"""
members: Optional[List[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]]] = Field(default_factory=list, description="""The members of the collection""")
type: Literal["EntitySet"] = Field("EntitySet", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class QuantityKind(Concept):
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["QuantityKind"] = Field("QuantityKind", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Quantity(Intangible):
has_quantity_kind: Optional[str] = Field(None, description="""The kind of quantity""")
type: Literal["Quantity"] = Field("Quantity", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class SimpleQuantity(Quantity):
"""
A quantity is a property that can be measured or counted
"""
value: Optional[float] = Field(None, description="""The value of the quantity""")
unit: Optional[str] = Field(None)
has_quantity_kind: Optional[str] = Field(None, description="""The kind of quantity""")
type: Literal["SimpleQuantity"] = Field("SimpleQuantity", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Ratio(Quantity):
"""
A tuple of two quantities
"""
numerator: Optional[Union[Quantity,SimpleQuantity,Ratio,Duration]] = Field(None, description="""The numerator of the ratio""")
denominator: Optional[Union[Quantity,SimpleQuantity,Ratio,Duration]] = Field(None, description="""The denominator of the ratio""")
has_quantity_kind: Optional[str] = Field(None, description="""The kind of quantity""")
type: Literal["Ratio"] = Field("Ratio", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class QuantityRange(Intangible):
"""
A quantity range is a property that can be measured or counted
"""
lower_bound: Optional[Union[Quantity,SimpleQuantity,Ratio,Duration]] = Field(None, description="""The lower bound of the range""")
upper_bound: Optional[Union[Quantity,SimpleQuantity,Ratio,Duration]] = Field(None, description="""The upper bound of the range""")
type: Literal["QuantityRange"] = Field("QuantityRange", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class UnitConcept(Concept):
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["UnitConcept"] = Field("UnitConcept", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Event(Entity, Identified):
"""
A thing that happens
"""
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Event"] = Field("Event", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Observation(Event):
"""
A statement about the state of something
"""
observation_subject: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
variable_measured: Optional[Variable] = Field(None, description="""The variable being measured""")
measured_using: Optional[str] = Field(None)
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Observation"] = Field("Observation", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Measurement(Observation):
quantity_measured: Optional[Union[Quantity,SimpleQuantity,Ratio,Duration]] = Field(None, description="""The quantity being measured""")
observation_subject: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
variable_measured: Optional[Variable] = Field(None, description="""The variable being measured""")
measured_using: Optional[str] = Field(None)
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Measurement"] = Field("Measurement", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class QualitativeObservation(Observation):
observation_subject: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
variable_measured: Optional[Variable] = Field(None, description="""The variable being measured""")
measured_using: Optional[str] = Field(None)
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["QualitativeObservation"] = Field("QualitativeObservation", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class EngineeringProcess(Event):
follows_procedure: Optional[str] = Field(None)
part_of: Optional[str] = Field(None)
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["EngineeringProcess"] = Field("EngineeringProcess", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class TimePointOrTemporalInterval(Intangible):
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
type: Literal["TimePointOrTemporalInterval"] = Field("TimePointOrTemporalInterval", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class TemporalInterval(TimePointOrTemporalInterval):
"""
A period of time
"""
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
type: Literal["TemporalInterval"] = Field("TemporalInterval", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class TimePoint(TimePointOrTemporalInterval):
"""
A point in time. Can be fully specified, or specified in relative terms.
"""
year_value: Optional[int] = Field(None)
date_value: Optional[date] = Field(None)
time_value: Optional[str] = Field(None)
datetime_value: Optional[datetime ] = Field(None)
marker_event: Optional[str] = Field(None)
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
type: Literal["TimePoint"] = Field("TimePoint", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Duration(Quantity):
"""
A length of time
"""
has_quantity_kind: Optional[str] = Field(None, description="""The kind of quantity""")
type: Literal["Duration"] = Field("Duration", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class TemporalRelationship(Relationship):
"""
A relationship to another time point
"""
predicate: Optional[RelativeTimeEnum] = Field(None, description="""The relationship between the two time points""")
relative_to: Optional[Union[TemporalInterval, TimePoint, str]] = Field(None)
subject: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
object: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
type: Literal["TemporalRelationship"] = Field("TemporalRelationship", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class SubjectHistory(Entity):
subject: str = Field(...)
events: Optional[List[str]] = Field(default_factory=list)
over_interval: Optional[TemporalInterval] = Field(None)
type: Literal["SubjectHistory"] = Field("SubjectHistory", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class SubjectObservationHistory(SubjectHistory):
observations: Optional[List[Union[Observation,Measurement,QualitativeObservation]]] = Field(default_factory=list)
measurements: Optional[List[Measurement]] = Field(default_factory=list)
interpretations: Optional[List[Union[Observation,Measurement,QualitativeObservation]]] = Field(default_factory=list)
subject: str = Field(...)
events: Optional[List[str]] = Field(default_factory=list)
over_interval: Optional[TemporalInterval] = Field(None)
type: Literal["SubjectObservationHistory"] = Field("SubjectObservationHistory", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class ExecutionOfProcedure(Event):
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["ExecutionOfProcedure"] = Field("ExecutionOfProcedure", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class PlannedProcessConfiguration(Intangible):
type: Literal["PlannedProcessConfiguration"] = Field("PlannedProcessConfiguration", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class PlannedProcess(ExecutionOfProcedure):
"""
A process that follows a defined procedure or plan
"""
follows_procedure: Optional[str] = Field(None)
uses_physical_device: Optional[str] = Field(None)
uses_configuration: Optional[PlannedProcessConfiguration] = Field(None)
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["PlannedProcess"] = Field("PlannedProcess", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class ComputationalPlannedProcess(PlannedProcess):
"""
Application of a mathematical operation to one or more inputs to produce one or more outputs
"""
inputs: Optional[List[Any]] = Field(default_factory=list, description="""The inputs to the operation""")
outputs: Optional[List[Any]] = Field(default_factory=list, description="""The outputs of the operation""")
parts: Optional[List[str]] = Field(default_factory=list, description="""The parts of the process""")
immediate_preceding_steps: Optional[List[str]] = Field(default_factory=list, description="""The steps that immediately precede this step""")
follows_procedure: Optional[str] = Field(None)
uses_physical_device: Optional[str] = Field(None)
uses_configuration: Optional[PlannedProcessConfiguration] = Field(None)
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["ComputationalPlannedProcess"] = Field("ComputationalPlannedProcess", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class MaterialCollection(PlannedProcess):
follows_procedure: Optional[str] = Field(None)
uses_physical_device: Optional[str] = Field(None)
uses_configuration: Optional[PlannedProcessConfiguration] = Field(None)
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["MaterialCollection"] = Field("MaterialCollection", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class MaterialProcessing(PlannedProcess):
follows_procedure: Optional[str] = Field(None)
uses_physical_device: Optional[str] = Field(None)
uses_configuration: Optional[PlannedProcessConfiguration] = Field(None)
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["MaterialProcessing"] = Field("MaterialProcessing", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class EngineeringMaterialProcessing(MaterialProcessing):
follows_procedure: Optional[str] = Field(None)
uses_physical_device: Optional[str] = Field(None)
uses_configuration: Optional[PlannedProcessConfiguration] = Field(None)
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["EngineeringMaterialProcessing"] = Field("EngineeringMaterialProcessing", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class BuiltEnvironmentFeature(PhysicalEntity):
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["BuiltEnvironmentFeature"] = Field("BuiltEnvironmentFeature", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Facility(BuiltEnvironmentFeature):
located_at_place: Optional[str] = Field(None, description="""The place where the entity is located""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Facility"] = Field("Facility", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Building(Facility):
located_at_place: Optional[str] = Field(None, description="""The place where the entity is located""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Building"] = Field("Building", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class BuiltSystem(BuiltEnvironmentFeature):
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["BuiltSystem"] = Field("BuiltSystem", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class IndividualOrganism(PhysicalEntity):
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["IndividualOrganism"] = Field("IndividualOrganism", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class OrganismalRelationship(Relationship):
subject: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
predicate: Optional[str] = Field(None)
object: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
type: Literal["OrganismalRelationship"] = Field("OrganismalRelationship", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Agent(ConfiguredBaseModel):
"""
Represents an Agent
"""
pass
class Person(Agent, IndividualOrganism):
"""
Represents a Person
"""
primary_email: Optional[str] = Field(None, description="""The main email address of a person""")
birth_date: Optional[date] = Field(None, description="""Date on which a person is born""")
age_in_years: Optional[int] = Field(None, description="""Number of years since birth""")
vital_status: Optional[PersonStatus] = Field(None, description="""living or dead status""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Person"] = Field("Person", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
@validator('primary_email', allow_reuse=True)
def pattern_primary_email(cls, v):
pattern=re.compile(r"^\S+@[\S+\.]+\S+")
if isinstance(v,list):
for element in v:
if not pattern.match(element):
raise ValueError(f"Invalid primary_email format: {element}")
elif isinstance(v,str):
if not pattern.match(v):
raise ValueError(f"Invalid primary_email format: {v}")
return v
class VeterinaryAnimal(IndividualOrganism):
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["VeterinaryAnimal"] = Field("VeterinaryAnimal", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Organization(Agent, PhysicalEntity):
"""
Represents an Organization
"""
provides_services: Optional[List[Service]] = Field(default_factory=list)
has_person_roles: Optional[List[PersonInRole]] = Field(default_factory=list)
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["Organization"] = Field("Organization", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class OrganizationalRole(Role):
type: Literal["OrganizationalRole"] = Field("OrganizationalRole", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class OrgChart(InformationEntity):
for_organization: Optional[str] = Field(None)
relationships: Optional[OrganizationPersonnelRelationship] = Field(None)
describes: Optional[Any] = Field(None, description="""The thing that is being described""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["OrgChart"] = Field("OrgChart", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class PersonInRole(Relationship):
subject_person: Optional[str] = Field(None)
person_role: Optional[OrganizationalRole] = Field(None)
subject: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
predicate: Optional[str] = Field(None)
object: Optional[Union[Entity,Intangible,PhysicalEntity,Event,SubjectHistory,SubjectObservationHistory,Observation,EngineeringProcess,ExecutionOfProcedure,LifeEvent,PlannedProcess,ComputationalPlannedProcess,MaterialCollection,MaterialProcessing,EngineeringMaterialProcessing,Measurement,QualitativeObservation,Place,RawMaterial,Equipment,PhysicalDevice,PhysicalSystem,BuiltEnvironmentFeature,IndividualOrganism,Organization,AutomatedAgent,CreativeWork,Person,VeterinaryAnimal,Facility,BuiltSystem,Building,ExtractiveIndustryFacility,MiningFacility,WellFacility,QuarryFacility,ExtractiveIndustryEquipment,Landform,AstronomicalBody,SetOfObservations,Variable,Concept,InformationEntity,StructuredValue,Role,Relationship,EntitySet,Quantity,QuantityRange,TimePointOrTemporalInterval,PlannedProcessConfiguration,Service,TemporalInterval,TimePoint,SimpleQuantity,Ratio,Duration,TemporalRelationship,OrganismalRelationship,PersonInRole,OrganizationPersonnelRelationship,OrganizationalRole,PostalAddress,Location,GeoBoxLocation,PointLocation,GeoPointLocation,Specification,OrgChart,Procedure,EngineeringSpecification,QuantityKind,UnitConcept,ExtractiveIndustryProduct,ExtractiveIndustryWaste]] = Field(None)
type: Literal["PersonInRole"] = Field("PersonInRole", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class OrganizationPersonnelRelationship(Relationship):
subject: Optional[str] = Field(None)
predicate: Optional[str] = Field(None)
object: Optional[str] = Field(None)
type: Literal["OrganizationPersonnelRelationship"] = Field("OrganizationPersonnelRelationship", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class AutomatedAgent(Agent, PhysicalEntity):
"""
Represents an Automated Agent
"""
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["AutomatedAgent"] = Field("AutomatedAgent", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class LifeEvent(Event):
starts_at: Optional[TimePoint] = Field(None)
ends_at: Optional[TimePoint] = Field(None)
happens_at: Optional[TimePoint] = Field(None)
has_interval: Optional[TemporalInterval] = Field(None)
has_duration: Optional[Duration] = Field(None)
is_ongoing_as_of: Optional[TimePoint] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["LifeEvent"] = Field("LifeEvent", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class CreationMetadata(ConfiguredBaseModel):
title: Optional[str] = Field(None, description="""The title of the item""")
abstract: Optional[str] = Field(None, description="""A summary of the item""")
rights: Optional[str] = Field(None, description="""Information about rights held in and over the item""")
creators: Optional[List[str]] = Field(default_factory=list, description="""The person or organization who created the work""")
contributors: Optional[List[str]] = Field(default_factory=list, description="""A person or organization that contributed to the creation of the work""")
contacts: Optional[List[str]] = Field(default_factory=list, description="""A contact point for a person or organization""")
keywords: Optional[List[str]] = Field(default_factory=list, description="""Keywords or tags used to describe this item""")
class CreativeWork(CreationMetadata, PhysicalEntity):
"""
The most generic kind of creative work, including books, movies, photographs, software programs, etc.
"""
title: Optional[str] = Field(None, description="""The title of the item""")
abstract: Optional[str] = Field(None, description="""A summary of the item""")
rights: Optional[str] = Field(None, description="""Information about rights held in and over the item""")
creators: Optional[List[str]] = Field(default_factory=list, description="""The person or organization who created the work""")
contributors: Optional[List[str]] = Field(default_factory=list, description="""A person or organization that contributed to the creation of the work""")
contacts: Optional[List[str]] = Field(default_factory=list, description="""A contact point for a person or organization""")
keywords: Optional[List[str]] = Field(default_factory=list, description="""Keywords or tags used to describe this item""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["CreativeWork"] = Field("CreativeWork", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class Service(Intangible):
"""
A service provided by an organization
"""
type: Literal["Service"] = Field("Service", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class ExtractiveIndustryFacility(Facility):
"""
A facility where natural resources are extracted from the earth
"""
facility_type: Optional[ExtractiveIndustryFacilityType] = Field(None)
operator: Optional[str] = Field(None)
products: Optional[List[ExtractiveIndustryProduct]] = Field(default_factory=list)
production_capacity: Optional[SimpleQuantity] = Field(None)
annual_production: Optional[SimpleQuantity] = Field(None)
reserves: Optional[SimpleQuantity] = Field(None)
located_at_place: Optional[str] = Field(None, description="""The place where the entity is located""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["ExtractiveIndustryFacility"] = Field("ExtractiveIndustryFacility", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class MiningFacility(ExtractiveIndustryFacility):
"""
A facility where mineral resources are extracted from the earth
"""
mining_method: Optional[MiningMethod] = Field(None)
depth: Optional[SimpleQuantity] = Field(None)
area: Optional[SimpleQuantity] = Field(None)
facility_type: Optional[ExtractiveIndustryFacilityType] = Field(None)
operator: Optional[str] = Field(None)
products: Optional[List[ExtractiveIndustryProduct]] = Field(default_factory=list)
production_capacity: Optional[SimpleQuantity] = Field(None)
annual_production: Optional[SimpleQuantity] = Field(None)
reserves: Optional[SimpleQuantity] = Field(None)
located_at_place: Optional[str] = Field(None, description="""The place where the entity is located""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["MiningFacility"] = Field("MiningFacility", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class WellFacility(ExtractiveIndustryFacility):
"""
A facility where fluid resources (e.g., oil, gas, water) are extracted from the earth
"""
well_type: Optional[WellType] = Field(None)
depth: Optional[SimpleQuantity] = Field(None)
facility_type: Optional[ExtractiveIndustryFacilityType] = Field(None)
operator: Optional[str] = Field(None)
products: Optional[List[ExtractiveIndustryProduct]] = Field(default_factory=list)
production_capacity: Optional[SimpleQuantity] = Field(None)
annual_production: Optional[SimpleQuantity] = Field(None)
reserves: Optional[SimpleQuantity] = Field(None)
located_at_place: Optional[str] = Field(None, description="""The place where the entity is located""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["WellFacility"] = Field("WellFacility", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class QuarryFacility(ExtractiveIndustryFacility):
"""
A facility where stone, sand, or gravel are extracted from the earth
"""
facility_type: Optional[ExtractiveIndustryFacilityType] = Field(None)
operator: Optional[str] = Field(None)
products: Optional[List[ExtractiveIndustryProduct]] = Field(default_factory=list)
production_capacity: Optional[SimpleQuantity] = Field(None)
annual_production: Optional[SimpleQuantity] = Field(None)
reserves: Optional[SimpleQuantity] = Field(None)
located_at_place: Optional[str] = Field(None, description="""The place where the entity is located""")
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["QuarryFacility"] = Field("QuarryFacility", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class ExtractiveIndustryEquipment(Equipment):
"""
The equipment used in extractive industry operations
"""
classification: Optional[str] = Field(None, description="""A precise classification of the thing, using a concept from an ontology, controlled vocabulary, thesaurus, or taxonomy. Some schema classes may choose to restrict the range of values which this slot can take, using `values_from`, or bindings.""")
ontology_types: Optional[List[str]] = Field(default_factory=list, description="""A collection of concepts that help to classify the thing, using concepts from an ontolology, thesaurus, or taxonomy.""")
description: Optional[str] = Field(None, description="""A human-readable description for a thing""")
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["ExtractiveIndustryEquipment"] = Field("ExtractiveIndustryEquipment", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class ExtractiveIndustryProduct(Concept):
"""
A product extracted from an extractive industry facility
"""
product_type: Optional[ExtractiveIndustryProductType] = Field(None)
grade: Optional[SimpleQuantity] = Field(None)
processing_method: Optional[str] = Field(None)
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["ExtractiveIndustryProduct"] = Field("ExtractiveIndustryProduct", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
class ExtractiveIndustryWaste(Concept):
"""
Waste material generated from extractive industry operations
"""
id: str = Field(..., description="""A unique identifier for a thing""")
name: Optional[str] = Field(None, description="""A human-readable name for a thing""")
type: Literal["ExtractiveIndustryWaste"] = Field("ExtractiveIndustryWaste", description="""A type for a thing. The range of this should be a class within the schema. It is intended for schema-based classification. Anything beneath the shoreline of the schema should use `classification`.""")
# Update forward refs
# see https://pydantic-docs.helpmanual.io/usage/postponed_annotations/
Identified.update_forward_refs()
Typed.update_forward_refs()
Entity.update_forward_refs()
Intangible.update_forward_refs()
SetOfObservations.update_forward_refs()
Variable.update_forward_refs()
PhysicalEntity.update_forward_refs()
Place.update_forward_refs()
Landform.update_forward_refs()
AstronomicalBody.update_forward_refs()
RawMaterial.update_forward_refs()
Equipment.update_forward_refs()
Concept.update_forward_refs()
InformationEntity.update_forward_refs()
PhysicalDevice.update_forward_refs()
StructuredValue.update_forward_refs()
PostalAddress.update_forward_refs()
Role.update_forward_refs()
Relationship.update_forward_refs()
PhysicalSystem.update_forward_refs()
Location.update_forward_refs()
GeoBoxLocation.update_forward_refs()
PointLocation.update_forward_refs()
GeoPointLocation.update_forward_refs()
Specification.update_forward_refs()
Procedure.update_forward_refs()
EngineeringSpecification.update_forward_refs()
EntitySet.update_forward_refs()