Skip to content

Commit dad1a86

Browse files
committed
feat(api): revoke ILGS ID consecutive integer promise
1 parent 7b6bee9 commit dad1a86

File tree

1 file changed

+27
-53
lines changed

1 file changed

+27
-53
lines changed

openapi.yaml

Lines changed: 27 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,7 +2126,7 @@ components:
21262126
start:
21272127
type: string
21282128
minLength: 5
2129-
pattern: ^seg:(?:0|[1-9]\d*)$
2129+
pattern: ^seg:.+$
21302130
description: The unique identifier of the earliest segment in the span of
21312131
segments being cross-referenced with ties broken in favor of the least-nested
21322132
(i.e., largest) segment. If the cross-reference points to a single segment,
@@ -2136,7 +2136,7 @@ components:
21362136
end:
21372137
type: string
21382138
minLength: 5
2139-
pattern: ^seg:(?:0|[1-9]\d*)$
2139+
pattern: ^seg:.+$
21402140
description: The unique identifier of the latest segment in the span of
21412141
segments being cross-referenced with ties broken in favor of the least-nested
21422142
(i.e., largest) segment. If the cross-reference points to a single segment,
@@ -2230,9 +2230,7 @@ components:
22302230
oneOf:
22312231
- type: string
22322232
title: ILGSv1 Person ID
2233-
description: A unique identifier for a legal person in the format `per:{index}`
2234-
where `{index}` is a non-negative incrementing integer starting from
2235-
zero.
2233+
description: A unique identifier for a legal person in the format `per:{identifier}`.
22362234
examples:
22372235
- per:8
22382236
- type: 'null'
@@ -2290,7 +2288,7 @@ components:
22902288
person:
22912289
type: string
22922290
minLength: 5
2293-
pattern: ^per:(?:0|[1-9]\d*)$
2291+
pattern: ^per:.+$
22942292
description: The unique identifier of the person that this email address
22952293
belongs to.
22962294
examples:
@@ -2327,10 +2325,9 @@ components:
23272325
id:
23282326
type: string
23292327
minLength: 5
2330-
pattern: ^exd:(?:0|[1-9]\d*)$
2328+
pattern: ^exd:.+$
23312329
description: The unique identifier of the external document in the format
2332-
`exd:{index}` where `{index}` is a non-negative incrementing integer starting
2333-
from zero.
2330+
`exd:{identifier}`.
23342331
examples:
23352332
- exd:2
23362333
name:
@@ -2493,7 +2490,7 @@ components:
24932490
person:
24942491
type: string
24952492
minLength: 5
2496-
pattern: ^per:(?:0|[1-9]\d*)$
2493+
pattern: ^per:.+$
24972494
description: The unique identifier of the person that this identification
24982495
number belongs to.
24992496
examples:
@@ -2530,9 +2527,8 @@ components:
25302527
id:
25312528
type: string
25322529
minLength: 5
2533-
pattern: ^loc:(?:0|[1-9]\d*)$
2534-
description: The unique identifier of the location in the format `loc:{index}`
2535-
where `{index}` is a non-negative incrementing integer starting from zero.
2530+
pattern: ^loc:.+$
2531+
description: The unique identifier of the location in the format `loc:{identifier}`.
25362532
examples:
25372533
- loc:6
25382534
name:
@@ -2553,9 +2549,7 @@ components:
25532549
oneOf:
25542550
- type: string
25552551
title: ILGSv1 Location ID
2556-
description: A unique identifier for a location in the format `loc:{index}`
2557-
where `{index}` is a non-negative incrementing integer starting from
2558-
zero.
2552+
description: A unique identifier for a location in the format `loc:{identifier}`.
25592553
examples:
25602554
- loc:6
25612555
- type: 'null'
@@ -2587,9 +2581,7 @@ components:
25872581
items:
25882582
type: string
25892583
title: ILGSv1 Location ID
2590-
description: A unique identifier for a location in the format `loc:{index}`
2591-
where `{index}` is a non-negative incrementing integer starting from
2592-
zero.
2584+
description: A unique identifier for a location in the format `loc:{identifier}`.
25932585
examples:
25942586
- loc:6
25952587
type: array
@@ -2643,9 +2635,8 @@ components:
26432635
id:
26442636
type: string
26452637
minLength: 5
2646-
pattern: ^per:(?:0|[1-9]\d*)$
2647-
description: The unique identifier of the person in the format `per:{index}`
2648-
where `{index}` is a non-negative incrementing integer starting from zero.
2638+
pattern: ^per:.+$
2639+
description: The unique identifier of the person in the format `per:{identifier}`.
26492640
examples:
26502641
- per:8
26512642
name:
@@ -2884,9 +2875,7 @@ components:
28842875
oneOf:
28852876
- type: string
28862877
title: ILGSv1 Person ID
2887-
description: A unique identifier for a legal person in the format `per:{index}`
2888-
where `{index}` is a non-negative incrementing integer starting from
2889-
zero.
2878+
description: A unique identifier for a legal person in the format `per:{identifier}`.
28902879
examples:
28912880
- per:8
28922881
- type: 'null'
@@ -2904,9 +2893,7 @@ components:
29042893
items:
29052894
type: string
29062895
title: ILGSv1 Person ID
2907-
description: A unique identifier for a legal person in the format `per:{index}`
2908-
where `{index}` is a non-negative incrementing integer starting from
2909-
zero.
2896+
description: A unique identifier for a legal person in the format `per:{identifier}`.
29102897
examples:
29112898
- per:8
29122899
type: array
@@ -2919,9 +2906,7 @@ components:
29192906
oneOf:
29202907
- type: string
29212908
title: ILGSv1 Location ID
2922-
description: A unique identifier for a location in the format `loc:{index}`
2923-
where `{index}` is a non-negative incrementing integer starting from
2924-
zero.
2909+
description: A unique identifier for a location in the format `loc:{identifier}`.
29252910
examples:
29262911
- loc:6
29272912
- type: 'null'
@@ -2980,7 +2965,7 @@ components:
29802965
person:
29812966
type: string
29822967
minLength: 5
2983-
pattern: ^per:(?:0|[1-9]\d*)$
2968+
pattern: ^per:.+$
29842969
description: The unique identifier of the person that this phone number
29852970
belongs to.
29862971
examples:
@@ -3022,9 +3007,7 @@ components:
30223007
oneOf:
30233008
- type: string
30243009
title: ILGSv1 Segment ID
3025-
description: A unique identifier for a segment in the format `seg:{index}`
3026-
where `{index}` is a non-negative incrementing integer starting from
3027-
zero.
3010+
description: A unique identifier for a segment in the format `seg:{identifier}`.
30283011
examples:
30293012
- seg:42
30303013
- type: 'null'
@@ -3042,8 +3025,7 @@ components:
30423025
- type: string
30433026
title: ILGSv1 External Document ID
30443027
description: A unique identifier for an external document in the format
3045-
`exd:{index}` where `{index}` is a non-negative incrementing integer
3046-
starting from zero.
3028+
`exd:{identifier}`.
30473029
examples:
30483030
- exd:2
30493031
- type: 'null'
@@ -3060,9 +3042,7 @@ components:
30603042
oneOf:
30613043
- type: string
30623044
title: ILGSv1 Person ID
3063-
description: A unique identifier for a legal person in the format `per:{index}`
3064-
where `{index}` is a non-negative incrementing integer starting from
3065-
zero.
3045+
description: A unique identifier for a legal person in the format `per:{identifier}`.
30663046
examples:
30673047
- per:8
30683048
- type: 'null'
@@ -3101,9 +3081,8 @@ components:
31013081
id:
31023082
type: string
31033083
minLength: 5
3104-
pattern: ^seg:(?:0|[1-9]\d*)$
3105-
description: The unique identifier of the segment in the format `seg:{index}`
3106-
where `{index}` is a non-negative incrementing integer starting from zero.
3084+
pattern: ^seg:.+$
3085+
description: The unique identifier of the segment in the format `seg:{identifier}`.
31073086
examples:
31083087
- seg:46
31093088
kind:
@@ -3281,9 +3260,7 @@ components:
32813260
oneOf:
32823261
- type: string
32833262
title: ILGSv1 Segment ID
3284-
description: A unique identifier for a segment in the format `seg:{index}`
3285-
where `{index}` is a non-negative incrementing integer starting from
3286-
zero.
3263+
description: A unique identifier for a segment in the format `seg:{identifier}`.
32873264
examples:
32883265
- seg:42
32893266
- type: 'null'
@@ -3309,9 +3286,7 @@ components:
33093286
items:
33103287
type: string
33113288
title: ILGSv1 Segment ID
3312-
description: A unique identifier for a segment in the format `seg:{index}`
3313-
where `{index}` is a non-negative incrementing integer starting from
3314-
zero.
3289+
description: A unique identifier for a segment in the format `seg:{identifier}`.
33153290
examples:
33163291
- seg:42
33173292
type: array
@@ -3413,9 +3388,8 @@ components:
34133388
id:
34143389
type: string
34153390
minLength: 6
3416-
pattern: ^term:(?:0|[1-9]\d*)$
3417-
description: The unique identifier of the term in the format `term:{index}`
3418-
where `{index}` is a non-negative incrementing integer starting from zero.
3391+
pattern: ^term:.+$
3392+
description: The unique identifier of the term in the format `term:{identifier}`.
34193393
examples:
34203394
- term:3
34213395
name:
@@ -3466,7 +3440,7 @@ components:
34663440
person:
34673441
type: string
34683442
minLength: 5
3469-
pattern: ^per:(?:0|[1-9]\d*)$
3443+
pattern: ^per:.+$
34703444
description: The unique identifier of the person that this website belongs
34713445
to.
34723446
examples:

0 commit comments

Comments
 (0)