@@ -746,6 +746,7 @@ paths:
746746 end : 4
747747 title : null
748748 parent : null
749+ level : 0
749750 span :
750751 start : 0
751752 end : 317
@@ -1109,7 +1110,7 @@ components:
11091110 other case
11101111 start :
11111112 type : integer
1112- exclusiveMinimum : -1 .0
1113+ minimum : 0 .0
11131114 title : Non-negative integer
11141115 description : The index of the first character of the answer in the text,
11151116 starting from `0` (and, therefore, ending at the number of characters
@@ -1118,7 +1119,7 @@ components:
11181119 - 61
11191120 end :
11201121 type : integer
1121- exclusiveMinimum : -1 .0
1122+ minimum : 0 .0
11221123 title : Non-negative integer
11231124 description : The index of the character immediately after the last character
11241125 of the answer in the text, starting from `0` (such that, in Python, the
@@ -1152,7 +1153,7 @@ components:
11521153 properties :
11531154 index :
11541155 type : integer
1155- exclusiveMinimum : -1 .0
1156+ minimum : 0 .0
11561157 title : Non-negative integer
11571158 description : The index of the text in the input array of texts that this
11581159 result represents, starting from `0` (and, therefore, ending at the number
@@ -1398,7 +1399,7 @@ components:
13981399 overlap_tokens :
13991400 oneOf :
14001401 - type : integer
1401- exclusiveMinimum : -1 .0
1402+ minimum : 0 .0
14021403 title : Non-negative integer
14031404 description : A whole number greater than or equal to 0.
14041405 examples :
@@ -1428,7 +1429,7 @@ components:
14281429 properties :
14291430 index :
14301431 type : integer
1431- exclusiveMinimum : -1 .0
1432+ minimum : 0 .0
14321433 title : Non-negative integer
14331434 description : The position of the content in the input array of contents,
14341435 starting from `0` (and, therefore, ending at the number of contents minus
@@ -1723,6 +1724,7 @@ components:
17231724 end : 4
17241725 title : null
17251726 parent : null
1727+ level : 0
17261728 span :
17271729 start : 0
17281730 end : 317
@@ -1842,6 +1844,7 @@ components:
18421844 end : 4
18431845 title : null
18441846 parent : null
1847+ level : 0
18451848 span :
18461849 start : 0
18471850 end : 317
@@ -1940,7 +1943,7 @@ components:
19401943 properties :
19411944 index :
19421945 type : integer
1943- exclusiveMinimum : -1 .0
1946+ minimum : 0 .0
19441947 title : Non-negative integer
19451948 description : The index of this document in the input array of texts, starting
19461949 at `0` (and, therefore, ending at the number of inputs minus `1`).
@@ -1974,6 +1977,7 @@ components:
19741977 end : 4
19751978 title : null
19761979 parent : null
1980+ level : 0
19771981 span :
19781982 start : 0
19791983 end : 317
@@ -3216,6 +3220,13 @@ components:
32163220 segment).
32173221 examples :
32183222 - seg:40
3223+ level :
3224+ type : integer
3225+ minimum : 0.0
3226+ description : The level of the segment within the document's segment hierarchy
3227+ starting from `0` for root-level segments.
3228+ examples :
3229+ - 2
32193230 span :
32203231 $ref : ' #/components/schemas/ILGSv1 Span'
32213232 type : object
@@ -3228,6 +3239,7 @@ components:
32283239 - code
32293240 - title
32303241 - parent
3242+ - level
32313243 - span
32323244 title : ILGSv1 Segment
32333245 description : A segment within the document representing a structurally distinct
@@ -3247,21 +3259,22 @@ components:
32473259 start : 3465
32483260 end : 3480
32493261 parent : seg:0
3262+ level : 1
32503263 span :
32513264 start : 3453
32523265 end : 4074
32533266 ILGSv1 Span :
32543267 properties :
32553268 start :
32563269 type : integer
3257- exclusiveMinimum : -1 .0
3270+ minimum : 0 .0
32583271 description : The zero-based start index of the half-open span of Unicode
32593272 code points in the input text.
32603273 examples :
32613274 - 5805
32623275 end :
32633276 type : integer
3264- exclusiveMinimum : -1 .0
3277+ minimum : 0 .0
32653278 description : The zero-based end index of the half-open span (i.e., the end
32663279 is exclusive) of Unicode code points in the input text.
32673280 examples :
@@ -3486,6 +3499,7 @@ components:
34863499 start : 3465
34873500 end : 3480
34883501 parent : seg:0
3502+ level : 1
34893503 span :
34903504 start : 3453
34913505 end : 4074
@@ -3738,6 +3752,7 @@ components:
37383752 end : 4
37393753 title : null
37403754 parent : null
3755+ level : 0
37413756 span :
37423757 start : 0
37433758 end : 317
@@ -4145,7 +4160,7 @@ components:
41454160 properties :
41464161 index :
41474162 type : integer
4148- exclusiveMinimum : -1 .0
4163+ minimum : 0 .0
41494164 title : Non-negative integer
41504165 description : The index of the text in the input array of texts, starting
41514166 from `0` (and, therefore, ending at the number of texts minus `1`).
@@ -4257,7 +4272,7 @@ components:
42574272 properties :
42584273 index :
42594274 type : integer
4260- exclusiveMinimum : -1 .0
4275+ minimum : 0 .0
42614276 title : Non-negative integer
42624277 description : The index of the text in the input array of texts, starting
42634278 from `0` (and, therefore, ending at the number of texts minus `1`).
@@ -4314,7 +4329,7 @@ components:
43144329 properties :
43154330 index :
43164331 type : integer
4317- exclusiveMinimum : -1 .0
4332+ minimum : 0 .0
43184333 title : Non-negative integer
43194334 description : The original position of the chunk in the outputted list of
43204335 chunks before sorting, starting from `0` (and, therefore, ending at the
@@ -4323,7 +4338,7 @@ components:
43234338 - 0
43244339 start :
43254340 type : integer
4326- exclusiveMinimum : -1 .0
4341+ minimum : 0 .0
43274342 title : Non-negative integer
43284343 description : The index of the character in the original text where the chunk
43294344 starts, beginning from `0`.
0 commit comments