@superdoc-dev/sdk 1.8.0-next.23 → 1.8.0-next.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,6 +122,9 @@ export const CONTRACT = {
122
122
  "$ref": "#/$defs/TextSegment"
123
123
  },
124
124
  "minItems": 1
125
+ },
126
+ "story": {
127
+ "$ref": "#/$defs/StoryLocator"
125
128
  }
126
129
  },
127
130
  "additionalProperties": false,
@@ -60973,6 +60976,162 @@ export const CONTRACT = {
60973
60976
  "range"
60974
60977
  ]
60975
60978
  }
60979
+ },
60980
+ "story": {
60981
+ "oneOf": [
60982
+ {
60983
+ "type": "object",
60984
+ "properties": {
60985
+ "kind": {
60986
+ "const": "story"
60987
+ },
60988
+ "storyType": {
60989
+ "const": "body"
60990
+ }
60991
+ },
60992
+ "required": [
60993
+ "kind",
60994
+ "storyType"
60995
+ ]
60996
+ },
60997
+ {
60998
+ "type": "object",
60999
+ "properties": {
61000
+ "kind": {
61001
+ "const": "story"
61002
+ },
61003
+ "storyType": {
61004
+ "const": "headerFooterSlot"
61005
+ },
61006
+ "section": {
61007
+ "type": "object",
61008
+ "properties": {
61009
+ "kind": {
61010
+ "const": "section"
61011
+ },
61012
+ "sectionId": {
61013
+ "type": "string"
61014
+ }
61015
+ },
61016
+ "required": [
61017
+ "kind",
61018
+ "sectionId"
61019
+ ]
61020
+ },
61021
+ "headerFooterKind": {
61022
+ "oneOf": [
61023
+ {
61024
+ "const": "header"
61025
+ },
61026
+ {
61027
+ "const": "footer"
61028
+ }
61029
+ ]
61030
+ },
61031
+ "variant": {
61032
+ "oneOf": [
61033
+ {
61034
+ "const": "default"
61035
+ },
61036
+ {
61037
+ "const": "first"
61038
+ },
61039
+ {
61040
+ "const": "even"
61041
+ }
61042
+ ]
61043
+ },
61044
+ "resolution": {
61045
+ "oneOf": [
61046
+ {
61047
+ "const": "effective"
61048
+ },
61049
+ {
61050
+ "const": "explicit"
61051
+ }
61052
+ ]
61053
+ },
61054
+ "onWrite": {
61055
+ "oneOf": [
61056
+ {
61057
+ "const": "materializeIfInherited"
61058
+ },
61059
+ {
61060
+ "const": "editResolvedPart"
61061
+ },
61062
+ {
61063
+ "const": "error"
61064
+ }
61065
+ ]
61066
+ }
61067
+ },
61068
+ "required": [
61069
+ "kind",
61070
+ "storyType",
61071
+ "section",
61072
+ "headerFooterKind",
61073
+ "variant"
61074
+ ]
61075
+ },
61076
+ {
61077
+ "type": "object",
61078
+ "properties": {
61079
+ "kind": {
61080
+ "const": "story"
61081
+ },
61082
+ "storyType": {
61083
+ "const": "headerFooterPart"
61084
+ },
61085
+ "refId": {
61086
+ "type": "string"
61087
+ }
61088
+ },
61089
+ "required": [
61090
+ "kind",
61091
+ "storyType",
61092
+ "refId"
61093
+ ]
61094
+ },
61095
+ {
61096
+ "type": "object",
61097
+ "properties": {
61098
+ "kind": {
61099
+ "const": "story"
61100
+ },
61101
+ "storyType": {
61102
+ "const": "footnote"
61103
+ },
61104
+ "noteId": {
61105
+ "type": "string"
61106
+ }
61107
+ },
61108
+ "required": [
61109
+ "kind",
61110
+ "storyType",
61111
+ "noteId"
61112
+ ]
61113
+ },
61114
+ {
61115
+ "type": "object",
61116
+ "properties": {
61117
+ "kind": {
61118
+ "const": "story"
61119
+ },
61120
+ "storyType": {
61121
+ "const": "endnote"
61122
+ },
61123
+ "noteId": {
61124
+ "type": "string"
61125
+ }
61126
+ },
61127
+ "required": [
61128
+ "kind",
61129
+ "storyType",
61130
+ "noteId"
61131
+ ]
61132
+ }
61133
+ ],
61134
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
60976
61135
  }
60977
61136
  },
60978
61137
  "required": [
@@ -132556,6 +132715,170 @@ export const CONTRACT = {
132556
132715
  "name": "offset",
132557
132716
  "kind": "flag",
132558
132717
  "type": "number"
132718
+ },
132719
+ {
132720
+ "name": "in",
132721
+ "kind": "jsonFlag",
132722
+ "type": "json",
132723
+ "flag": "in-json",
132724
+ "schema": {
132725
+ "oneOf": [
132726
+ {
132727
+ "type": "object",
132728
+ "properties": {
132729
+ "kind": {
132730
+ "const": "story"
132731
+ },
132732
+ "storyType": {
132733
+ "const": "body"
132734
+ }
132735
+ },
132736
+ "required": [
132737
+ "kind",
132738
+ "storyType"
132739
+ ]
132740
+ },
132741
+ {
132742
+ "type": "object",
132743
+ "properties": {
132744
+ "kind": {
132745
+ "const": "story"
132746
+ },
132747
+ "storyType": {
132748
+ "const": "headerFooterSlot"
132749
+ },
132750
+ "section": {
132751
+ "type": "object",
132752
+ "properties": {
132753
+ "kind": {
132754
+ "const": "section"
132755
+ },
132756
+ "sectionId": {
132757
+ "type": "string"
132758
+ }
132759
+ },
132760
+ "required": [
132761
+ "kind",
132762
+ "sectionId"
132763
+ ]
132764
+ },
132765
+ "headerFooterKind": {
132766
+ "oneOf": [
132767
+ {
132768
+ "const": "header"
132769
+ },
132770
+ {
132771
+ "const": "footer"
132772
+ }
132773
+ ]
132774
+ },
132775
+ "variant": {
132776
+ "oneOf": [
132777
+ {
132778
+ "const": "default"
132779
+ },
132780
+ {
132781
+ "const": "first"
132782
+ },
132783
+ {
132784
+ "const": "even"
132785
+ }
132786
+ ]
132787
+ },
132788
+ "resolution": {
132789
+ "oneOf": [
132790
+ {
132791
+ "const": "effective"
132792
+ },
132793
+ {
132794
+ "const": "explicit"
132795
+ }
132796
+ ]
132797
+ },
132798
+ "onWrite": {
132799
+ "oneOf": [
132800
+ {
132801
+ "const": "materializeIfInherited"
132802
+ },
132803
+ {
132804
+ "const": "editResolvedPart"
132805
+ },
132806
+ {
132807
+ "const": "error"
132808
+ }
132809
+ ]
132810
+ }
132811
+ },
132812
+ "required": [
132813
+ "kind",
132814
+ "storyType",
132815
+ "section",
132816
+ "headerFooterKind",
132817
+ "variant"
132818
+ ]
132819
+ },
132820
+ {
132821
+ "type": "object",
132822
+ "properties": {
132823
+ "kind": {
132824
+ "const": "story"
132825
+ },
132826
+ "storyType": {
132827
+ "const": "headerFooterPart"
132828
+ },
132829
+ "refId": {
132830
+ "type": "string"
132831
+ }
132832
+ },
132833
+ "required": [
132834
+ "kind",
132835
+ "storyType",
132836
+ "refId"
132837
+ ]
132838
+ },
132839
+ {
132840
+ "type": "object",
132841
+ "properties": {
132842
+ "kind": {
132843
+ "const": "story"
132844
+ },
132845
+ "storyType": {
132846
+ "const": "footnote"
132847
+ },
132848
+ "noteId": {
132849
+ "type": "string"
132850
+ }
132851
+ },
132852
+ "required": [
132853
+ "kind",
132854
+ "storyType",
132855
+ "noteId"
132856
+ ]
132857
+ },
132858
+ {
132859
+ "type": "object",
132860
+ "properties": {
132861
+ "kind": {
132862
+ "const": "story"
132863
+ },
132864
+ "storyType": {
132865
+ "const": "endnote"
132866
+ },
132867
+ "noteId": {
132868
+ "type": "string"
132869
+ }
132870
+ },
132871
+ "required": [
132872
+ "kind",
132873
+ "storyType",
132874
+ "noteId"
132875
+ ]
132876
+ }
132877
+ ],
132878
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
132879
+ },
132880
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes.",
132881
+ "agentVisible": false
132559
132882
  }
132560
132883
  ],
132561
132884
  "constraints": null,
@@ -132573,6 +132896,9 @@ export const CONTRACT = {
132573
132896
  "offset": {
132574
132897
  "type": "integer",
132575
132898
  "minimum": 0
132899
+ },
132900
+ "in": {
132901
+ "$ref": "#/$defs/StoryLocator"
132576
132902
  }
132577
132903
  },
132578
132904
  "additionalProperties": false
@@ -132625,6 +132951,162 @@ export const CONTRACT = {
132625
132951
  },
132626
132952
  "name": {
132627
132953
  "type": "string"
132954
+ },
132955
+ "story": {
132956
+ "oneOf": [
132957
+ {
132958
+ "type": "object",
132959
+ "properties": {
132960
+ "kind": {
132961
+ "const": "story"
132962
+ },
132963
+ "storyType": {
132964
+ "const": "body"
132965
+ }
132966
+ },
132967
+ "required": [
132968
+ "kind",
132969
+ "storyType"
132970
+ ]
132971
+ },
132972
+ {
132973
+ "type": "object",
132974
+ "properties": {
132975
+ "kind": {
132976
+ "const": "story"
132977
+ },
132978
+ "storyType": {
132979
+ "const": "headerFooterSlot"
132980
+ },
132981
+ "section": {
132982
+ "type": "object",
132983
+ "properties": {
132984
+ "kind": {
132985
+ "const": "section"
132986
+ },
132987
+ "sectionId": {
132988
+ "type": "string"
132989
+ }
132990
+ },
132991
+ "required": [
132992
+ "kind",
132993
+ "sectionId"
132994
+ ]
132995
+ },
132996
+ "headerFooterKind": {
132997
+ "oneOf": [
132998
+ {
132999
+ "const": "header"
133000
+ },
133001
+ {
133002
+ "const": "footer"
133003
+ }
133004
+ ]
133005
+ },
133006
+ "variant": {
133007
+ "oneOf": [
133008
+ {
133009
+ "const": "default"
133010
+ },
133011
+ {
133012
+ "const": "first"
133013
+ },
133014
+ {
133015
+ "const": "even"
133016
+ }
133017
+ ]
133018
+ },
133019
+ "resolution": {
133020
+ "oneOf": [
133021
+ {
133022
+ "const": "effective"
133023
+ },
133024
+ {
133025
+ "const": "explicit"
133026
+ }
133027
+ ]
133028
+ },
133029
+ "onWrite": {
133030
+ "oneOf": [
133031
+ {
133032
+ "const": "materializeIfInherited"
133033
+ },
133034
+ {
133035
+ "const": "editResolvedPart"
133036
+ },
133037
+ {
133038
+ "const": "error"
133039
+ }
133040
+ ]
133041
+ }
133042
+ },
133043
+ "required": [
133044
+ "kind",
133045
+ "storyType",
133046
+ "section",
133047
+ "headerFooterKind",
133048
+ "variant"
133049
+ ]
133050
+ },
133051
+ {
133052
+ "type": "object",
133053
+ "properties": {
133054
+ "kind": {
133055
+ "const": "story"
133056
+ },
133057
+ "storyType": {
133058
+ "const": "headerFooterPart"
133059
+ },
133060
+ "refId": {
133061
+ "type": "string"
133062
+ }
133063
+ },
133064
+ "required": [
133065
+ "kind",
133066
+ "storyType",
133067
+ "refId"
133068
+ ]
133069
+ },
133070
+ {
133071
+ "type": "object",
133072
+ "properties": {
133073
+ "kind": {
133074
+ "const": "story"
133075
+ },
133076
+ "storyType": {
133077
+ "const": "footnote"
133078
+ },
133079
+ "noteId": {
133080
+ "type": "string"
133081
+ }
133082
+ },
133083
+ "required": [
133084
+ "kind",
133085
+ "storyType",
133086
+ "noteId"
133087
+ ]
133088
+ },
133089
+ {
133090
+ "type": "object",
133091
+ "properties": {
133092
+ "kind": {
133093
+ "const": "story"
133094
+ },
133095
+ "storyType": {
133096
+ "const": "endnote"
133097
+ },
133098
+ "noteId": {
133099
+ "type": "string"
133100
+ }
133101
+ },
133102
+ "required": [
133103
+ "kind",
133104
+ "storyType",
133105
+ "noteId"
133106
+ ]
133107
+ }
133108
+ ],
133109
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
132628
133110
  }
132629
133111
  },
132630
133112
  "required": [
@@ -132654,6 +133136,9 @@ export const CONTRACT = {
132654
133136
  },
132655
133137
  "name": {
132656
133138
  "type": "string"
133139
+ },
133140
+ "story": {
133141
+ "$ref": "#/$defs/StoryLocator"
132657
133142
  }
132658
133143
  },
132659
133144
  "additionalProperties": false,
@@ -132786,6 +133271,162 @@ export const CONTRACT = {
132786
133271
  "range"
132787
133272
  ]
132788
133273
  }
133274
+ },
133275
+ "story": {
133276
+ "oneOf": [
133277
+ {
133278
+ "type": "object",
133279
+ "properties": {
133280
+ "kind": {
133281
+ "const": "story"
133282
+ },
133283
+ "storyType": {
133284
+ "const": "body"
133285
+ }
133286
+ },
133287
+ "required": [
133288
+ "kind",
133289
+ "storyType"
133290
+ ]
133291
+ },
133292
+ {
133293
+ "type": "object",
133294
+ "properties": {
133295
+ "kind": {
133296
+ "const": "story"
133297
+ },
133298
+ "storyType": {
133299
+ "const": "headerFooterSlot"
133300
+ },
133301
+ "section": {
133302
+ "type": "object",
133303
+ "properties": {
133304
+ "kind": {
133305
+ "const": "section"
133306
+ },
133307
+ "sectionId": {
133308
+ "type": "string"
133309
+ }
133310
+ },
133311
+ "required": [
133312
+ "kind",
133313
+ "sectionId"
133314
+ ]
133315
+ },
133316
+ "headerFooterKind": {
133317
+ "oneOf": [
133318
+ {
133319
+ "const": "header"
133320
+ },
133321
+ {
133322
+ "const": "footer"
133323
+ }
133324
+ ]
133325
+ },
133326
+ "variant": {
133327
+ "oneOf": [
133328
+ {
133329
+ "const": "default"
133330
+ },
133331
+ {
133332
+ "const": "first"
133333
+ },
133334
+ {
133335
+ "const": "even"
133336
+ }
133337
+ ]
133338
+ },
133339
+ "resolution": {
133340
+ "oneOf": [
133341
+ {
133342
+ "const": "effective"
133343
+ },
133344
+ {
133345
+ "const": "explicit"
133346
+ }
133347
+ ]
133348
+ },
133349
+ "onWrite": {
133350
+ "oneOf": [
133351
+ {
133352
+ "const": "materializeIfInherited"
133353
+ },
133354
+ {
133355
+ "const": "editResolvedPart"
133356
+ },
133357
+ {
133358
+ "const": "error"
133359
+ }
133360
+ ]
133361
+ }
133362
+ },
133363
+ "required": [
133364
+ "kind",
133365
+ "storyType",
133366
+ "section",
133367
+ "headerFooterKind",
133368
+ "variant"
133369
+ ]
133370
+ },
133371
+ {
133372
+ "type": "object",
133373
+ "properties": {
133374
+ "kind": {
133375
+ "const": "story"
133376
+ },
133377
+ "storyType": {
133378
+ "const": "headerFooterPart"
133379
+ },
133380
+ "refId": {
133381
+ "type": "string"
133382
+ }
133383
+ },
133384
+ "required": [
133385
+ "kind",
133386
+ "storyType",
133387
+ "refId"
133388
+ ]
133389
+ },
133390
+ {
133391
+ "type": "object",
133392
+ "properties": {
133393
+ "kind": {
133394
+ "const": "story"
133395
+ },
133396
+ "storyType": {
133397
+ "const": "footnote"
133398
+ },
133399
+ "noteId": {
133400
+ "type": "string"
133401
+ }
133402
+ },
133403
+ "required": [
133404
+ "kind",
133405
+ "storyType",
133406
+ "noteId"
133407
+ ]
133408
+ },
133409
+ {
133410
+ "type": "object",
133411
+ "properties": {
133412
+ "kind": {
133413
+ "const": "story"
133414
+ },
133415
+ "storyType": {
133416
+ "const": "endnote"
133417
+ },
133418
+ "noteId": {
133419
+ "type": "string"
133420
+ }
133421
+ },
133422
+ "required": [
133423
+ "kind",
133424
+ "storyType",
133425
+ "noteId"
133426
+ ]
133427
+ }
133428
+ ],
133429
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
132789
133430
  }
132790
133431
  },
132791
133432
  "required": [
@@ -132872,6 +133513,9 @@ export const CONTRACT = {
132872
133513
  },
132873
133514
  "name": {
132874
133515
  "type": "string"
133516
+ },
133517
+ "story": {
133518
+ "$ref": "#/$defs/StoryLocator"
132875
133519
  }
132876
133520
  },
132877
133521
  "additionalProperties": false,
@@ -132937,6 +133581,9 @@ export const CONTRACT = {
132937
133581
  },
132938
133582
  "name": {
132939
133583
  "type": "string"
133584
+ },
133585
+ "story": {
133586
+ "$ref": "#/$defs/StoryLocator"
132940
133587
  }
132941
133588
  },
132942
133589
  "additionalProperties": false,
@@ -133067,6 +133714,162 @@ export const CONTRACT = {
133067
133714
  },
133068
133715
  "name": {
133069
133716
  "type": "string"
133717
+ },
133718
+ "story": {
133719
+ "oneOf": [
133720
+ {
133721
+ "type": "object",
133722
+ "properties": {
133723
+ "kind": {
133724
+ "const": "story"
133725
+ },
133726
+ "storyType": {
133727
+ "const": "body"
133728
+ }
133729
+ },
133730
+ "required": [
133731
+ "kind",
133732
+ "storyType"
133733
+ ]
133734
+ },
133735
+ {
133736
+ "type": "object",
133737
+ "properties": {
133738
+ "kind": {
133739
+ "const": "story"
133740
+ },
133741
+ "storyType": {
133742
+ "const": "headerFooterSlot"
133743
+ },
133744
+ "section": {
133745
+ "type": "object",
133746
+ "properties": {
133747
+ "kind": {
133748
+ "const": "section"
133749
+ },
133750
+ "sectionId": {
133751
+ "type": "string"
133752
+ }
133753
+ },
133754
+ "required": [
133755
+ "kind",
133756
+ "sectionId"
133757
+ ]
133758
+ },
133759
+ "headerFooterKind": {
133760
+ "oneOf": [
133761
+ {
133762
+ "const": "header"
133763
+ },
133764
+ {
133765
+ "const": "footer"
133766
+ }
133767
+ ]
133768
+ },
133769
+ "variant": {
133770
+ "oneOf": [
133771
+ {
133772
+ "const": "default"
133773
+ },
133774
+ {
133775
+ "const": "first"
133776
+ },
133777
+ {
133778
+ "const": "even"
133779
+ }
133780
+ ]
133781
+ },
133782
+ "resolution": {
133783
+ "oneOf": [
133784
+ {
133785
+ "const": "effective"
133786
+ },
133787
+ {
133788
+ "const": "explicit"
133789
+ }
133790
+ ]
133791
+ },
133792
+ "onWrite": {
133793
+ "oneOf": [
133794
+ {
133795
+ "const": "materializeIfInherited"
133796
+ },
133797
+ {
133798
+ "const": "editResolvedPart"
133799
+ },
133800
+ {
133801
+ "const": "error"
133802
+ }
133803
+ ]
133804
+ }
133805
+ },
133806
+ "required": [
133807
+ "kind",
133808
+ "storyType",
133809
+ "section",
133810
+ "headerFooterKind",
133811
+ "variant"
133812
+ ]
133813
+ },
133814
+ {
133815
+ "type": "object",
133816
+ "properties": {
133817
+ "kind": {
133818
+ "const": "story"
133819
+ },
133820
+ "storyType": {
133821
+ "const": "headerFooterPart"
133822
+ },
133823
+ "refId": {
133824
+ "type": "string"
133825
+ }
133826
+ },
133827
+ "required": [
133828
+ "kind",
133829
+ "storyType",
133830
+ "refId"
133831
+ ]
133832
+ },
133833
+ {
133834
+ "type": "object",
133835
+ "properties": {
133836
+ "kind": {
133837
+ "const": "story"
133838
+ },
133839
+ "storyType": {
133840
+ "const": "footnote"
133841
+ },
133842
+ "noteId": {
133843
+ "type": "string"
133844
+ }
133845
+ },
133846
+ "required": [
133847
+ "kind",
133848
+ "storyType",
133849
+ "noteId"
133850
+ ]
133851
+ },
133852
+ {
133853
+ "type": "object",
133854
+ "properties": {
133855
+ "kind": {
133856
+ "const": "story"
133857
+ },
133858
+ "storyType": {
133859
+ "const": "endnote"
133860
+ },
133861
+ "noteId": {
133862
+ "type": "string"
133863
+ }
133864
+ },
133865
+ "required": [
133866
+ "kind",
133867
+ "storyType",
133868
+ "noteId"
133869
+ ]
133870
+ }
133871
+ ],
133872
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
133070
133873
  }
133071
133874
  },
133072
133875
  "required": [
@@ -133103,6 +133906,9 @@ export const CONTRACT = {
133103
133906
  },
133104
133907
  "name": {
133105
133908
  "type": "string"
133909
+ },
133910
+ "story": {
133911
+ "$ref": "#/$defs/StoryLocator"
133106
133912
  }
133107
133913
  },
133108
133914
  "additionalProperties": false,
@@ -133141,6 +133947,9 @@ export const CONTRACT = {
133141
133947
  },
133142
133948
  "name": {
133143
133949
  "type": "string"
133950
+ },
133951
+ "story": {
133952
+ "$ref": "#/$defs/StoryLocator"
133144
133953
  }
133145
133954
  },
133146
133955
  "additionalProperties": false,
@@ -133206,6 +134015,9 @@ export const CONTRACT = {
133206
134015
  },
133207
134016
  "name": {
133208
134017
  "type": "string"
134018
+ },
134019
+ "story": {
134020
+ "$ref": "#/$defs/StoryLocator"
133209
134021
  }
133210
134022
  },
133211
134023
  "additionalProperties": false,
@@ -133336,6 +134148,162 @@ export const CONTRACT = {
133336
134148
  },
133337
134149
  "name": {
133338
134150
  "type": "string"
134151
+ },
134152
+ "story": {
134153
+ "oneOf": [
134154
+ {
134155
+ "type": "object",
134156
+ "properties": {
134157
+ "kind": {
134158
+ "const": "story"
134159
+ },
134160
+ "storyType": {
134161
+ "const": "body"
134162
+ }
134163
+ },
134164
+ "required": [
134165
+ "kind",
134166
+ "storyType"
134167
+ ]
134168
+ },
134169
+ {
134170
+ "type": "object",
134171
+ "properties": {
134172
+ "kind": {
134173
+ "const": "story"
134174
+ },
134175
+ "storyType": {
134176
+ "const": "headerFooterSlot"
134177
+ },
134178
+ "section": {
134179
+ "type": "object",
134180
+ "properties": {
134181
+ "kind": {
134182
+ "const": "section"
134183
+ },
134184
+ "sectionId": {
134185
+ "type": "string"
134186
+ }
134187
+ },
134188
+ "required": [
134189
+ "kind",
134190
+ "sectionId"
134191
+ ]
134192
+ },
134193
+ "headerFooterKind": {
134194
+ "oneOf": [
134195
+ {
134196
+ "const": "header"
134197
+ },
134198
+ {
134199
+ "const": "footer"
134200
+ }
134201
+ ]
134202
+ },
134203
+ "variant": {
134204
+ "oneOf": [
134205
+ {
134206
+ "const": "default"
134207
+ },
134208
+ {
134209
+ "const": "first"
134210
+ },
134211
+ {
134212
+ "const": "even"
134213
+ }
134214
+ ]
134215
+ },
134216
+ "resolution": {
134217
+ "oneOf": [
134218
+ {
134219
+ "const": "effective"
134220
+ },
134221
+ {
134222
+ "const": "explicit"
134223
+ }
134224
+ ]
134225
+ },
134226
+ "onWrite": {
134227
+ "oneOf": [
134228
+ {
134229
+ "const": "materializeIfInherited"
134230
+ },
134231
+ {
134232
+ "const": "editResolvedPart"
134233
+ },
134234
+ {
134235
+ "const": "error"
134236
+ }
134237
+ ]
134238
+ }
134239
+ },
134240
+ "required": [
134241
+ "kind",
134242
+ "storyType",
134243
+ "section",
134244
+ "headerFooterKind",
134245
+ "variant"
134246
+ ]
134247
+ },
134248
+ {
134249
+ "type": "object",
134250
+ "properties": {
134251
+ "kind": {
134252
+ "const": "story"
134253
+ },
134254
+ "storyType": {
134255
+ "const": "headerFooterPart"
134256
+ },
134257
+ "refId": {
134258
+ "type": "string"
134259
+ }
134260
+ },
134261
+ "required": [
134262
+ "kind",
134263
+ "storyType",
134264
+ "refId"
134265
+ ]
134266
+ },
134267
+ {
134268
+ "type": "object",
134269
+ "properties": {
134270
+ "kind": {
134271
+ "const": "story"
134272
+ },
134273
+ "storyType": {
134274
+ "const": "footnote"
134275
+ },
134276
+ "noteId": {
134277
+ "type": "string"
134278
+ }
134279
+ },
134280
+ "required": [
134281
+ "kind",
134282
+ "storyType",
134283
+ "noteId"
134284
+ ]
134285
+ },
134286
+ {
134287
+ "type": "object",
134288
+ "properties": {
134289
+ "kind": {
134290
+ "const": "story"
134291
+ },
134292
+ "storyType": {
134293
+ "const": "endnote"
134294
+ },
134295
+ "noteId": {
134296
+ "type": "string"
134297
+ }
134298
+ },
134299
+ "required": [
134300
+ "kind",
134301
+ "storyType",
134302
+ "noteId"
134303
+ ]
134304
+ }
134305
+ ],
134306
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
133339
134307
  }
133340
134308
  },
133341
134309
  "required": [
@@ -133365,6 +134333,9 @@ export const CONTRACT = {
133365
134333
  },
133366
134334
  "name": {
133367
134335
  "type": "string"
134336
+ },
134337
+ "story": {
134338
+ "$ref": "#/$defs/StoryLocator"
133368
134339
  }
133369
134340
  },
133370
134341
  "additionalProperties": false,
@@ -133399,6 +134370,9 @@ export const CONTRACT = {
133399
134370
  },
133400
134371
  "name": {
133401
134372
  "type": "string"
134373
+ },
134374
+ "story": {
134375
+ "$ref": "#/$defs/StoryLocator"
133402
134376
  }
133403
134377
  },
133404
134378
  "additionalProperties": false,
@@ -133464,6 +134438,9 @@ export const CONTRACT = {
133464
134438
  },
133465
134439
  "name": {
133466
134440
  "type": "string"
134441
+ },
134442
+ "story": {
134443
+ "$ref": "#/$defs/StoryLocator"
133467
134444
  }
133468
134445
  },
133469
134446
  "additionalProperties": false,
@@ -133790,6 +134767,162 @@ export const CONTRACT = {
133790
134767
  "range"
133791
134768
  ]
133792
134769
  }
134770
+ },
134771
+ "story": {
134772
+ "oneOf": [
134773
+ {
134774
+ "type": "object",
134775
+ "properties": {
134776
+ "kind": {
134777
+ "const": "story"
134778
+ },
134779
+ "storyType": {
134780
+ "const": "body"
134781
+ }
134782
+ },
134783
+ "required": [
134784
+ "kind",
134785
+ "storyType"
134786
+ ]
134787
+ },
134788
+ {
134789
+ "type": "object",
134790
+ "properties": {
134791
+ "kind": {
134792
+ "const": "story"
134793
+ },
134794
+ "storyType": {
134795
+ "const": "headerFooterSlot"
134796
+ },
134797
+ "section": {
134798
+ "type": "object",
134799
+ "properties": {
134800
+ "kind": {
134801
+ "const": "section"
134802
+ },
134803
+ "sectionId": {
134804
+ "type": "string"
134805
+ }
134806
+ },
134807
+ "required": [
134808
+ "kind",
134809
+ "sectionId"
134810
+ ]
134811
+ },
134812
+ "headerFooterKind": {
134813
+ "oneOf": [
134814
+ {
134815
+ "const": "header"
134816
+ },
134817
+ {
134818
+ "const": "footer"
134819
+ }
134820
+ ]
134821
+ },
134822
+ "variant": {
134823
+ "oneOf": [
134824
+ {
134825
+ "const": "default"
134826
+ },
134827
+ {
134828
+ "const": "first"
134829
+ },
134830
+ {
134831
+ "const": "even"
134832
+ }
134833
+ ]
134834
+ },
134835
+ "resolution": {
134836
+ "oneOf": [
134837
+ {
134838
+ "const": "effective"
134839
+ },
134840
+ {
134841
+ "const": "explicit"
134842
+ }
134843
+ ]
134844
+ },
134845
+ "onWrite": {
134846
+ "oneOf": [
134847
+ {
134848
+ "const": "materializeIfInherited"
134849
+ },
134850
+ {
134851
+ "const": "editResolvedPart"
134852
+ },
134853
+ {
134854
+ "const": "error"
134855
+ }
134856
+ ]
134857
+ }
134858
+ },
134859
+ "required": [
134860
+ "kind",
134861
+ "storyType",
134862
+ "section",
134863
+ "headerFooterKind",
134864
+ "variant"
134865
+ ]
134866
+ },
134867
+ {
134868
+ "type": "object",
134869
+ "properties": {
134870
+ "kind": {
134871
+ "const": "story"
134872
+ },
134873
+ "storyType": {
134874
+ "const": "headerFooterPart"
134875
+ },
134876
+ "refId": {
134877
+ "type": "string"
134878
+ }
134879
+ },
134880
+ "required": [
134881
+ "kind",
134882
+ "storyType",
134883
+ "refId"
134884
+ ]
134885
+ },
134886
+ {
134887
+ "type": "object",
134888
+ "properties": {
134889
+ "kind": {
134890
+ "const": "story"
134891
+ },
134892
+ "storyType": {
134893
+ "const": "footnote"
134894
+ },
134895
+ "noteId": {
134896
+ "type": "string"
134897
+ }
134898
+ },
134899
+ "required": [
134900
+ "kind",
134901
+ "storyType",
134902
+ "noteId"
134903
+ ]
134904
+ },
134905
+ {
134906
+ "type": "object",
134907
+ "properties": {
134908
+ "kind": {
134909
+ "const": "story"
134910
+ },
134911
+ "storyType": {
134912
+ "const": "endnote"
134913
+ },
134914
+ "noteId": {
134915
+ "type": "string"
134916
+ }
134917
+ },
134918
+ "required": [
134919
+ "kind",
134920
+ "storyType",
134921
+ "noteId"
134922
+ ]
134923
+ }
134924
+ ],
134925
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
133793
134926
  }
133794
134927
  },
133795
134928
  "required": [
@@ -135178,6 +136311,162 @@ export const CONTRACT = {
135178
136311
  "range"
135179
136312
  ]
135180
136313
  }
136314
+ },
136315
+ "story": {
136316
+ "oneOf": [
136317
+ {
136318
+ "type": "object",
136319
+ "properties": {
136320
+ "kind": {
136321
+ "const": "story"
136322
+ },
136323
+ "storyType": {
136324
+ "const": "body"
136325
+ }
136326
+ },
136327
+ "required": [
136328
+ "kind",
136329
+ "storyType"
136330
+ ]
136331
+ },
136332
+ {
136333
+ "type": "object",
136334
+ "properties": {
136335
+ "kind": {
136336
+ "const": "story"
136337
+ },
136338
+ "storyType": {
136339
+ "const": "headerFooterSlot"
136340
+ },
136341
+ "section": {
136342
+ "type": "object",
136343
+ "properties": {
136344
+ "kind": {
136345
+ "const": "section"
136346
+ },
136347
+ "sectionId": {
136348
+ "type": "string"
136349
+ }
136350
+ },
136351
+ "required": [
136352
+ "kind",
136353
+ "sectionId"
136354
+ ]
136355
+ },
136356
+ "headerFooterKind": {
136357
+ "oneOf": [
136358
+ {
136359
+ "const": "header"
136360
+ },
136361
+ {
136362
+ "const": "footer"
136363
+ }
136364
+ ]
136365
+ },
136366
+ "variant": {
136367
+ "oneOf": [
136368
+ {
136369
+ "const": "default"
136370
+ },
136371
+ {
136372
+ "const": "first"
136373
+ },
136374
+ {
136375
+ "const": "even"
136376
+ }
136377
+ ]
136378
+ },
136379
+ "resolution": {
136380
+ "oneOf": [
136381
+ {
136382
+ "const": "effective"
136383
+ },
136384
+ {
136385
+ "const": "explicit"
136386
+ }
136387
+ ]
136388
+ },
136389
+ "onWrite": {
136390
+ "oneOf": [
136391
+ {
136392
+ "const": "materializeIfInherited"
136393
+ },
136394
+ {
136395
+ "const": "editResolvedPart"
136396
+ },
136397
+ {
136398
+ "const": "error"
136399
+ }
136400
+ ]
136401
+ }
136402
+ },
136403
+ "required": [
136404
+ "kind",
136405
+ "storyType",
136406
+ "section",
136407
+ "headerFooterKind",
136408
+ "variant"
136409
+ ]
136410
+ },
136411
+ {
136412
+ "type": "object",
136413
+ "properties": {
136414
+ "kind": {
136415
+ "const": "story"
136416
+ },
136417
+ "storyType": {
136418
+ "const": "headerFooterPart"
136419
+ },
136420
+ "refId": {
136421
+ "type": "string"
136422
+ }
136423
+ },
136424
+ "required": [
136425
+ "kind",
136426
+ "storyType",
136427
+ "refId"
136428
+ ]
136429
+ },
136430
+ {
136431
+ "type": "object",
136432
+ "properties": {
136433
+ "kind": {
136434
+ "const": "story"
136435
+ },
136436
+ "storyType": {
136437
+ "const": "footnote"
136438
+ },
136439
+ "noteId": {
136440
+ "type": "string"
136441
+ }
136442
+ },
136443
+ "required": [
136444
+ "kind",
136445
+ "storyType",
136446
+ "noteId"
136447
+ ]
136448
+ },
136449
+ {
136450
+ "type": "object",
136451
+ "properties": {
136452
+ "kind": {
136453
+ "const": "story"
136454
+ },
136455
+ "storyType": {
136456
+ "const": "endnote"
136457
+ },
136458
+ "noteId": {
136459
+ "type": "string"
136460
+ }
136461
+ },
136462
+ "required": [
136463
+ "kind",
136464
+ "storyType",
136465
+ "noteId"
136466
+ ]
136467
+ }
136468
+ ],
136469
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
135181
136470
  }
135182
136471
  },
135183
136472
  "required": [
@@ -138054,6 +139343,162 @@ export const CONTRACT = {
138054
139343
  "range"
138055
139344
  ]
138056
139345
  }
139346
+ },
139347
+ "story": {
139348
+ "oneOf": [
139349
+ {
139350
+ "type": "object",
139351
+ "properties": {
139352
+ "kind": {
139353
+ "const": "story"
139354
+ },
139355
+ "storyType": {
139356
+ "const": "body"
139357
+ }
139358
+ },
139359
+ "required": [
139360
+ "kind",
139361
+ "storyType"
139362
+ ]
139363
+ },
139364
+ {
139365
+ "type": "object",
139366
+ "properties": {
139367
+ "kind": {
139368
+ "const": "story"
139369
+ },
139370
+ "storyType": {
139371
+ "const": "headerFooterSlot"
139372
+ },
139373
+ "section": {
139374
+ "type": "object",
139375
+ "properties": {
139376
+ "kind": {
139377
+ "const": "section"
139378
+ },
139379
+ "sectionId": {
139380
+ "type": "string"
139381
+ }
139382
+ },
139383
+ "required": [
139384
+ "kind",
139385
+ "sectionId"
139386
+ ]
139387
+ },
139388
+ "headerFooterKind": {
139389
+ "oneOf": [
139390
+ {
139391
+ "const": "header"
139392
+ },
139393
+ {
139394
+ "const": "footer"
139395
+ }
139396
+ ]
139397
+ },
139398
+ "variant": {
139399
+ "oneOf": [
139400
+ {
139401
+ "const": "default"
139402
+ },
139403
+ {
139404
+ "const": "first"
139405
+ },
139406
+ {
139407
+ "const": "even"
139408
+ }
139409
+ ]
139410
+ },
139411
+ "resolution": {
139412
+ "oneOf": [
139413
+ {
139414
+ "const": "effective"
139415
+ },
139416
+ {
139417
+ "const": "explicit"
139418
+ }
139419
+ ]
139420
+ },
139421
+ "onWrite": {
139422
+ "oneOf": [
139423
+ {
139424
+ "const": "materializeIfInherited"
139425
+ },
139426
+ {
139427
+ "const": "editResolvedPart"
139428
+ },
139429
+ {
139430
+ "const": "error"
139431
+ }
139432
+ ]
139433
+ }
139434
+ },
139435
+ "required": [
139436
+ "kind",
139437
+ "storyType",
139438
+ "section",
139439
+ "headerFooterKind",
139440
+ "variant"
139441
+ ]
139442
+ },
139443
+ {
139444
+ "type": "object",
139445
+ "properties": {
139446
+ "kind": {
139447
+ "const": "story"
139448
+ },
139449
+ "storyType": {
139450
+ "const": "headerFooterPart"
139451
+ },
139452
+ "refId": {
139453
+ "type": "string"
139454
+ }
139455
+ },
139456
+ "required": [
139457
+ "kind",
139458
+ "storyType",
139459
+ "refId"
139460
+ ]
139461
+ },
139462
+ {
139463
+ "type": "object",
139464
+ "properties": {
139465
+ "kind": {
139466
+ "const": "story"
139467
+ },
139468
+ "storyType": {
139469
+ "const": "footnote"
139470
+ },
139471
+ "noteId": {
139472
+ "type": "string"
139473
+ }
139474
+ },
139475
+ "required": [
139476
+ "kind",
139477
+ "storyType",
139478
+ "noteId"
139479
+ ]
139480
+ },
139481
+ {
139482
+ "type": "object",
139483
+ "properties": {
139484
+ "kind": {
139485
+ "const": "story"
139486
+ },
139487
+ "storyType": {
139488
+ "const": "endnote"
139489
+ },
139490
+ "noteId": {
139491
+ "type": "string"
139492
+ }
139493
+ },
139494
+ "required": [
139495
+ "kind",
139496
+ "storyType",
139497
+ "noteId"
139498
+ ]
139499
+ }
139500
+ ],
139501
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
138057
139502
  }
138058
139503
  },
138059
139504
  "required": [
@@ -140457,6 +141902,162 @@ export const CONTRACT = {
140457
141902
  "range"
140458
141903
  ]
140459
141904
  }
141905
+ },
141906
+ "story": {
141907
+ "oneOf": [
141908
+ {
141909
+ "type": "object",
141910
+ "properties": {
141911
+ "kind": {
141912
+ "const": "story"
141913
+ },
141914
+ "storyType": {
141915
+ "const": "body"
141916
+ }
141917
+ },
141918
+ "required": [
141919
+ "kind",
141920
+ "storyType"
141921
+ ]
141922
+ },
141923
+ {
141924
+ "type": "object",
141925
+ "properties": {
141926
+ "kind": {
141927
+ "const": "story"
141928
+ },
141929
+ "storyType": {
141930
+ "const": "headerFooterSlot"
141931
+ },
141932
+ "section": {
141933
+ "type": "object",
141934
+ "properties": {
141935
+ "kind": {
141936
+ "const": "section"
141937
+ },
141938
+ "sectionId": {
141939
+ "type": "string"
141940
+ }
141941
+ },
141942
+ "required": [
141943
+ "kind",
141944
+ "sectionId"
141945
+ ]
141946
+ },
141947
+ "headerFooterKind": {
141948
+ "oneOf": [
141949
+ {
141950
+ "const": "header"
141951
+ },
141952
+ {
141953
+ "const": "footer"
141954
+ }
141955
+ ]
141956
+ },
141957
+ "variant": {
141958
+ "oneOf": [
141959
+ {
141960
+ "const": "default"
141961
+ },
141962
+ {
141963
+ "const": "first"
141964
+ },
141965
+ {
141966
+ "const": "even"
141967
+ }
141968
+ ]
141969
+ },
141970
+ "resolution": {
141971
+ "oneOf": [
141972
+ {
141973
+ "const": "effective"
141974
+ },
141975
+ {
141976
+ "const": "explicit"
141977
+ }
141978
+ ]
141979
+ },
141980
+ "onWrite": {
141981
+ "oneOf": [
141982
+ {
141983
+ "const": "materializeIfInherited"
141984
+ },
141985
+ {
141986
+ "const": "editResolvedPart"
141987
+ },
141988
+ {
141989
+ "const": "error"
141990
+ }
141991
+ ]
141992
+ }
141993
+ },
141994
+ "required": [
141995
+ "kind",
141996
+ "storyType",
141997
+ "section",
141998
+ "headerFooterKind",
141999
+ "variant"
142000
+ ]
142001
+ },
142002
+ {
142003
+ "type": "object",
142004
+ "properties": {
142005
+ "kind": {
142006
+ "const": "story"
142007
+ },
142008
+ "storyType": {
142009
+ "const": "headerFooterPart"
142010
+ },
142011
+ "refId": {
142012
+ "type": "string"
142013
+ }
142014
+ },
142015
+ "required": [
142016
+ "kind",
142017
+ "storyType",
142018
+ "refId"
142019
+ ]
142020
+ },
142021
+ {
142022
+ "type": "object",
142023
+ "properties": {
142024
+ "kind": {
142025
+ "const": "story"
142026
+ },
142027
+ "storyType": {
142028
+ "const": "footnote"
142029
+ },
142030
+ "noteId": {
142031
+ "type": "string"
142032
+ }
142033
+ },
142034
+ "required": [
142035
+ "kind",
142036
+ "storyType",
142037
+ "noteId"
142038
+ ]
142039
+ },
142040
+ {
142041
+ "type": "object",
142042
+ "properties": {
142043
+ "kind": {
142044
+ "const": "story"
142045
+ },
142046
+ "storyType": {
142047
+ "const": "endnote"
142048
+ },
142049
+ "noteId": {
142050
+ "type": "string"
142051
+ }
142052
+ },
142053
+ "required": [
142054
+ "kind",
142055
+ "storyType",
142056
+ "noteId"
142057
+ ]
142058
+ }
142059
+ ],
142060
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
140460
142061
  }
140461
142062
  },
140462
142063
  "required": [
@@ -141484,6 +143085,162 @@ export const CONTRACT = {
141484
143085
  "range"
141485
143086
  ]
141486
143087
  }
143088
+ },
143089
+ "story": {
143090
+ "oneOf": [
143091
+ {
143092
+ "type": "object",
143093
+ "properties": {
143094
+ "kind": {
143095
+ "const": "story"
143096
+ },
143097
+ "storyType": {
143098
+ "const": "body"
143099
+ }
143100
+ },
143101
+ "required": [
143102
+ "kind",
143103
+ "storyType"
143104
+ ]
143105
+ },
143106
+ {
143107
+ "type": "object",
143108
+ "properties": {
143109
+ "kind": {
143110
+ "const": "story"
143111
+ },
143112
+ "storyType": {
143113
+ "const": "headerFooterSlot"
143114
+ },
143115
+ "section": {
143116
+ "type": "object",
143117
+ "properties": {
143118
+ "kind": {
143119
+ "const": "section"
143120
+ },
143121
+ "sectionId": {
143122
+ "type": "string"
143123
+ }
143124
+ },
143125
+ "required": [
143126
+ "kind",
143127
+ "sectionId"
143128
+ ]
143129
+ },
143130
+ "headerFooterKind": {
143131
+ "oneOf": [
143132
+ {
143133
+ "const": "header"
143134
+ },
143135
+ {
143136
+ "const": "footer"
143137
+ }
143138
+ ]
143139
+ },
143140
+ "variant": {
143141
+ "oneOf": [
143142
+ {
143143
+ "const": "default"
143144
+ },
143145
+ {
143146
+ "const": "first"
143147
+ },
143148
+ {
143149
+ "const": "even"
143150
+ }
143151
+ ]
143152
+ },
143153
+ "resolution": {
143154
+ "oneOf": [
143155
+ {
143156
+ "const": "effective"
143157
+ },
143158
+ {
143159
+ "const": "explicit"
143160
+ }
143161
+ ]
143162
+ },
143163
+ "onWrite": {
143164
+ "oneOf": [
143165
+ {
143166
+ "const": "materializeIfInherited"
143167
+ },
143168
+ {
143169
+ "const": "editResolvedPart"
143170
+ },
143171
+ {
143172
+ "const": "error"
143173
+ }
143174
+ ]
143175
+ }
143176
+ },
143177
+ "required": [
143178
+ "kind",
143179
+ "storyType",
143180
+ "section",
143181
+ "headerFooterKind",
143182
+ "variant"
143183
+ ]
143184
+ },
143185
+ {
143186
+ "type": "object",
143187
+ "properties": {
143188
+ "kind": {
143189
+ "const": "story"
143190
+ },
143191
+ "storyType": {
143192
+ "const": "headerFooterPart"
143193
+ },
143194
+ "refId": {
143195
+ "type": "string"
143196
+ }
143197
+ },
143198
+ "required": [
143199
+ "kind",
143200
+ "storyType",
143201
+ "refId"
143202
+ ]
143203
+ },
143204
+ {
143205
+ "type": "object",
143206
+ "properties": {
143207
+ "kind": {
143208
+ "const": "story"
143209
+ },
143210
+ "storyType": {
143211
+ "const": "footnote"
143212
+ },
143213
+ "noteId": {
143214
+ "type": "string"
143215
+ }
143216
+ },
143217
+ "required": [
143218
+ "kind",
143219
+ "storyType",
143220
+ "noteId"
143221
+ ]
143222
+ },
143223
+ {
143224
+ "type": "object",
143225
+ "properties": {
143226
+ "kind": {
143227
+ "const": "story"
143228
+ },
143229
+ "storyType": {
143230
+ "const": "endnote"
143231
+ },
143232
+ "noteId": {
143233
+ "type": "string"
143234
+ }
143235
+ },
143236
+ "required": [
143237
+ "kind",
143238
+ "storyType",
143239
+ "noteId"
143240
+ ]
143241
+ }
143242
+ ],
143243
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
141487
143244
  }
141488
143245
  },
141489
143246
  "required": [
@@ -146779,6 +148536,162 @@ export const CONTRACT = {
146779
148536
  "range"
146780
148537
  ]
146781
148538
  }
148539
+ },
148540
+ "story": {
148541
+ "oneOf": [
148542
+ {
148543
+ "type": "object",
148544
+ "properties": {
148545
+ "kind": {
148546
+ "const": "story"
148547
+ },
148548
+ "storyType": {
148549
+ "const": "body"
148550
+ }
148551
+ },
148552
+ "required": [
148553
+ "kind",
148554
+ "storyType"
148555
+ ]
148556
+ },
148557
+ {
148558
+ "type": "object",
148559
+ "properties": {
148560
+ "kind": {
148561
+ "const": "story"
148562
+ },
148563
+ "storyType": {
148564
+ "const": "headerFooterSlot"
148565
+ },
148566
+ "section": {
148567
+ "type": "object",
148568
+ "properties": {
148569
+ "kind": {
148570
+ "const": "section"
148571
+ },
148572
+ "sectionId": {
148573
+ "type": "string"
148574
+ }
148575
+ },
148576
+ "required": [
148577
+ "kind",
148578
+ "sectionId"
148579
+ ]
148580
+ },
148581
+ "headerFooterKind": {
148582
+ "oneOf": [
148583
+ {
148584
+ "const": "header"
148585
+ },
148586
+ {
148587
+ "const": "footer"
148588
+ }
148589
+ ]
148590
+ },
148591
+ "variant": {
148592
+ "oneOf": [
148593
+ {
148594
+ "const": "default"
148595
+ },
148596
+ {
148597
+ "const": "first"
148598
+ },
148599
+ {
148600
+ "const": "even"
148601
+ }
148602
+ ]
148603
+ },
148604
+ "resolution": {
148605
+ "oneOf": [
148606
+ {
148607
+ "const": "effective"
148608
+ },
148609
+ {
148610
+ "const": "explicit"
148611
+ }
148612
+ ]
148613
+ },
148614
+ "onWrite": {
148615
+ "oneOf": [
148616
+ {
148617
+ "const": "materializeIfInherited"
148618
+ },
148619
+ {
148620
+ "const": "editResolvedPart"
148621
+ },
148622
+ {
148623
+ "const": "error"
148624
+ }
148625
+ ]
148626
+ }
148627
+ },
148628
+ "required": [
148629
+ "kind",
148630
+ "storyType",
148631
+ "section",
148632
+ "headerFooterKind",
148633
+ "variant"
148634
+ ]
148635
+ },
148636
+ {
148637
+ "type": "object",
148638
+ "properties": {
148639
+ "kind": {
148640
+ "const": "story"
148641
+ },
148642
+ "storyType": {
148643
+ "const": "headerFooterPart"
148644
+ },
148645
+ "refId": {
148646
+ "type": "string"
148647
+ }
148648
+ },
148649
+ "required": [
148650
+ "kind",
148651
+ "storyType",
148652
+ "refId"
148653
+ ]
148654
+ },
148655
+ {
148656
+ "type": "object",
148657
+ "properties": {
148658
+ "kind": {
148659
+ "const": "story"
148660
+ },
148661
+ "storyType": {
148662
+ "const": "footnote"
148663
+ },
148664
+ "noteId": {
148665
+ "type": "string"
148666
+ }
148667
+ },
148668
+ "required": [
148669
+ "kind",
148670
+ "storyType",
148671
+ "noteId"
148672
+ ]
148673
+ },
148674
+ {
148675
+ "type": "object",
148676
+ "properties": {
148677
+ "kind": {
148678
+ "const": "story"
148679
+ },
148680
+ "storyType": {
148681
+ "const": "endnote"
148682
+ },
148683
+ "noteId": {
148684
+ "type": "string"
148685
+ }
148686
+ },
148687
+ "required": [
148688
+ "kind",
148689
+ "storyType",
148690
+ "noteId"
148691
+ ]
148692
+ }
148693
+ ],
148694
+ "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
146782
148695
  }
146783
148696
  },
146784
148697
  "required": [