Skip to content

Commit 2e34941

Browse files
feat(api): revoke ILGS ID consecutive integer promise
1 parent 1dfc52c commit 2e34941

8 files changed

Lines changed: 15 additions & 52 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-84e454eb280ff5e816abbb592ea590979e180df5c49af8cbe9bec81efb847f81.yml
3-
openapi_spec_hash: 9eaef1b127c6dc6ff23ea1367d42459a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-daf4baba7c77b0df59c77b13dd57c56da4900b5b3f95f81a8346ae9762419f95.yml
3+
openapi_spec_hash: 346769e832e482cea4496f92d56dd8b6
44
config_hash: 9040e7359f066240ad536041fb2c5185

src/isaacus/types/ilgs/v1/date.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ class Date(BaseModel):
5858
"""
5959

6060
person: Optional[str] = None
61-
"""
62-
A unique identifier for a legal person in the format `per:{index}` where
63-
`{index}` is a non-negative incrementing integer starting from zero.
64-
"""
61+
"""A unique identifier for a legal person in the format `per:{identifier}`."""
6562

6663
mentions: List[Span]
6764
"""

src/isaacus/types/ilgs/v1/external_document.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ class ExternalDocument(BaseModel):
1414

1515
id: str
1616
"""
17-
The unique identifier of the external document in the format `exd:{index}` where
18-
`{index}` is a non-negative incrementing integer starting from zero.
17+
The unique identifier of the external document in the format `exd:{identifier}`.
1918
"""
2019

2120
name: Span

src/isaacus/types/ilgs/v1/location.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ class Location(BaseModel):
1313
"""A location identified within a document."""
1414

1515
id: str
16-
"""
17-
The unique identifier of the location in the format `loc:{index}` where
18-
`{index}` is a non-negative incrementing integer starting from zero.
19-
"""
16+
"""The unique identifier of the location in the format `loc:{identifier}`."""
2017

2118
name: Span
2219
"""A zero-based, half-open span into the Unicode code point space of input text.
@@ -41,10 +38,7 @@ class Location(BaseModel):
4138
"""
4239

4340
parent: Optional[str] = None
44-
"""
45-
A unique identifier for a location in the format `loc:{index}` where `{index}`
46-
is a non-negative incrementing integer starting from zero.
47-
"""
41+
"""A unique identifier for a location in the format `loc:{identifier}`."""
4842

4943
children: List[str]
5044
"""

src/isaacus/types/ilgs/v1/person.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ class Person(BaseModel):
1313
"""A legal person identified in a document."""
1414

1515
id: str
16-
"""
17-
The unique identifier of the person in the format `per:{index}` where `{index}`
18-
is a non-negative incrementing integer starting from zero.
19-
"""
16+
"""The unique identifier of the person in the format `per:{identifier}`."""
2017

2118
name: Span
2219
"""A zero-based, half-open span into the Unicode code point space of input text.
@@ -177,10 +174,7 @@ class Person(BaseModel):
177174
"""
178175

179176
parent: Optional[str] = None
180-
"""
181-
A unique identifier for a legal person in the format `per:{index}` where
182-
`{index}` is a non-negative incrementing integer starting from zero.
183-
"""
177+
"""A unique identifier for a legal person in the format `per:{identifier}`."""
184178

185179
children: List[str]
186180
"""
@@ -189,10 +183,7 @@ class Person(BaseModel):
189183
"""
190184

191185
residence: Optional[str] = None
192-
"""
193-
A unique identifier for a location in the format `loc:{index}` where `{index}`
194-
is a non-negative incrementing integer starting from zero.
195-
"""
186+
"""A unique identifier for a location in the format `loc:{identifier}`."""
196187

197188
mentions: List[Span]
198189
"""

src/isaacus/types/ilgs/v1/quote.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,13 @@ class Quote(BaseModel):
1212
"""A quotation within a document."""
1313

1414
source_segment: Optional[str] = None
15-
"""
16-
A unique identifier for a segment in the format `seg:{index}` where `{index}` is
17-
a non-negative incrementing integer starting from zero.
18-
"""
15+
"""A unique identifier for a segment in the format `seg:{identifier}`."""
1916

2017
source_document: Optional[str] = None
21-
"""
22-
A unique identifier for an external document in the format `exd:{index}` where
23-
`{index}` is a non-negative incrementing integer starting from zero.
24-
"""
18+
"""A unique identifier for an external document in the format `exd:{identifier}`."""
2519

2620
source_person: Optional[str] = None
27-
"""
28-
A unique identifier for a legal person in the format `per:{index}` where
29-
`{index}` is a non-negative incrementing integer starting from zero.
30-
"""
21+
"""A unique identifier for a legal person in the format `per:{identifier}`."""
3122

3223
amending: bool
3324
"""

src/isaacus/types/ilgs/v1/segment.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ class Segment(BaseModel):
1515
"""
1616

1717
id: str
18-
"""
19-
The unique identifier of the segment in the format `seg:{index}` where `{index}`
20-
is a non-negative incrementing integer starting from zero.
21-
"""
18+
"""The unique identifier of the segment in the format `seg:{identifier}`."""
2219

2320
kind: Literal["container", "unit", "item", "figure"]
2421
"""
@@ -183,10 +180,7 @@ class Segment(BaseModel):
183180
"""
184181

185182
parent: Optional[str] = None
186-
"""
187-
A unique identifier for a segment in the format `seg:{index}` where `{index}` is
188-
a non-negative incrementing integer starting from zero.
189-
"""
183+
"""A unique identifier for a segment in the format `seg:{identifier}`."""
190184

191185
children: List[str]
192186
"""

src/isaacus/types/ilgs/v1/term.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ class Term(BaseModel):
1212
"""A term assigned a definite meaning within a document."""
1313

1414
id: str
15-
"""
16-
The unique identifier of the term in the format `term:{index}` where `{index}`
17-
is a non-negative incrementing integer starting from zero.
18-
"""
15+
"""The unique identifier of the term in the format `term:{identifier}`."""
1916

2017
name: Span
2118
"""A zero-based, half-open span into the Unicode code point space of input text.

0 commit comments

Comments
 (0)