44from typing_extensions import Literal
55
66from .._models import BaseModel
7- from .ilgs_v1_date import IlgsV1Date
8- from .ilgs_v1_span import IlgsV1Span
9- from .ilgs_v1_term import IlgsV1Term
10- from .ilgs_v1_email import IlgsV1Email
11- from .ilgs_v1_quote import IlgsV1Quote
12- from .ilgs_v1_person import IlgsV1Person
13- from .ilgs_v1_segment import IlgsV1Segment
14- from .ilgs_v1_website import IlgsV1Website
15- from .ilgs_v1_location import IlgsV1Location
16- from .ilgs_v1_id_number import IlgsV1IDNumber
17- from .ilgs_v1_phone_number import IlgsV1PhoneNumber
18- from .ilgs_v1_crossreference import IlgsV1Crossreference
19- from .ilgs_v1_external_document import IlgsV1ExternalDocument
20-
21- __all__ = ["IlgsV1Document " ]
22-
23-
24- class IlgsV1Document (BaseModel ):
7+ from .ilgs_v1_date import ILGSv1Date
8+ from .ilgs_v1_span import ILGSv1Span
9+ from .ilgs_v1_term import ILGSv1Term
10+ from .ilgs_v1_email import ILGSv1Email
11+ from .ilgs_v1_quote import ILGSv1Quote
12+ from .ilgs_v1_person import ILGSv1Person
13+ from .ilgs_v1_segment import ILGSv1Segment
14+ from .ilgs_v1_website import ILGSv1Website
15+ from .ilgs_v1_location import ILGSv1Location
16+ from .ilgs_v1_id_number import ILGSv1IDNumber
17+ from .ilgs_v1_phone_number import ILGSv1PhoneNumber
18+ from .ilgs_v1_crossreference import ILGSv1Crossreference
19+ from .ilgs_v1_external_document import ILGSv1ExternalDocument
20+
21+ __all__ = ["ILGSv1Document " ]
22+
23+
24+ class ILGSv1Document (BaseModel ):
2525 """The enriched document."""
2626
27- crossreferences : List [IlgsV1Crossreference ]
27+ crossreferences : List [ILGSv1Crossreference ]
2828 """
2929 An array of cross-references within the document pointing to a single segment or
3030 a span of segments.
3131 """
3232
33- dates : List [IlgsV1Date ]
33+ dates : List [ILGSv1Date ]
3434 """
3535 An array of dates identified in the document belonging to one of the following
3636 types: `creation`, `signature`, `effective`, `expiry`, `delivery`, `renewal`,
@@ -40,7 +40,7 @@ class IlgsV1Document(BaseModel):
4040 one of the supported date types are extractable.
4141 """
4242
43- emails : List [IlgsV1Email ]
43+ emails : List [ILGSv1Email ]
4444 """
4545 An array of email addresses identified in the document belonging to legal
4646 persons.
@@ -49,13 +49,13 @@ class IlgsV1Document(BaseModel):
4949 persons will not be extracted.
5050 """
5151
52- external_documents : List [IlgsV1ExternalDocument ]
52+ external_documents : List [ILGSv1ExternalDocument ]
5353 """An array of documents identified within the document."""
5454
55- headings : List [IlgsV1Span ]
55+ headings : List [ILGSv1Span ]
5656 """An array of spans within the document's text constituting headings."""
5757
58- id_numbers : List [IlgsV1IDNumber ]
58+ id_numbers : List [ILGSv1IDNumber ]
5959 """
6060 An array of identification numbers identified in the document belonging to legal
6161 persons.
@@ -64,7 +64,7 @@ class IlgsV1Document(BaseModel):
6464 legal persons will not be extracted.
6565 """
6666
67- junk : List [IlgsV1Span ]
67+ junk : List [ILGSv1Span ]
6868 """
6969 An array of spans within the document's text constituting non-operative,
7070 non-substantive 'junk' content such as headers, footers, page numbers, and OCR
@@ -85,13 +85,13 @@ class IlgsV1Document(BaseModel):
8585 code for federal law.
8686 """
8787
88- locations : List [IlgsV1Location ]
88+ locations : List [ILGSv1Location ]
8989 """An array of locations identified in the document."""
9090
91- persons : List [IlgsV1Person ]
91+ persons : List [ILGSv1Person ]
9292 """An array of legal persons identified in the document."""
9393
94- phone_numbers : List [IlgsV1PhoneNumber ]
94+ phone_numbers : List [ILGSv1PhoneNumber ]
9595 """
9696 An array of valid phone numbers identified in the document belonging to legal
9797 persons.
@@ -100,16 +100,16 @@ class IlgsV1Document(BaseModel):
100100 attributable to legal persons will not be extracted.
101101 """
102102
103- quotes : List [IlgsV1Quote ]
103+ quotes : List [ILGSv1Quote ]
104104 """An array of quotations within the document."""
105105
106- segments : List [IlgsV1Segment ]
106+ segments : List [ILGSv1Segment ]
107107 """
108108 An array of segments within the document representing structurally distinct
109109 portions of its content.
110110 """
111111
112- subtitle : Optional [IlgsV1Span ] = None
112+ subtitle : Optional [ILGSv1Span ] = None
113113 """A zero-based, half-open span into the Unicode code point space of input text.
114114
115115 All spans are globally laminar and well-nested similar to XML—it is impossible
@@ -125,10 +125,10 @@ class IlgsV1Document(BaseModel):
125125 code units instead of Unicode code points).
126126 """
127127
128- terms : List [IlgsV1Term ]
128+ terms : List [ILGSv1Term ]
129129 """An array of terms assigned definite meanings within the document."""
130130
131- title : Optional [IlgsV1Span ] = None
131+ title : Optional [ILGSv1Span ] = None
132132 """A zero-based, half-open span into the Unicode code point space of input text.
133133
134134 All spans are globally laminar and well-nested similar to XML—it is impossible
@@ -164,7 +164,7 @@ class IlgsV1Document(BaseModel):
164164
165165 version : Literal ["ilgs@1" ]
166166
167- websites : List [IlgsV1Website ]
167+ websites : List [ILGSv1Website ]
168168 """An array of websites identified in the document belonging to legal persons.
169169
170170 Websites mentioned in the document that are not attributable to legal persons
0 commit comments