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

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.
@@ -59855,6 +59855,162 @@ const CONTRACT = {
59855
59855
  "range"
59856
59856
  ]
59857
59857
  }
59858
+ },
59859
+ "story": {
59860
+ "oneOf": [
59861
+ {
59862
+ "type": "object",
59863
+ "properties": {
59864
+ "kind": {
59865
+ "const": "story"
59866
+ },
59867
+ "storyType": {
59868
+ "const": "body"
59869
+ }
59870
+ },
59871
+ "required": [
59872
+ "kind",
59873
+ "storyType"
59874
+ ]
59875
+ },
59876
+ {
59877
+ "type": "object",
59878
+ "properties": {
59879
+ "kind": {
59880
+ "const": "story"
59881
+ },
59882
+ "storyType": {
59883
+ "const": "headerFooterSlot"
59884
+ },
59885
+ "section": {
59886
+ "type": "object",
59887
+ "properties": {
59888
+ "kind": {
59889
+ "const": "section"
59890
+ },
59891
+ "sectionId": {
59892
+ "type": "string"
59893
+ }
59894
+ },
59895
+ "required": [
59896
+ "kind",
59897
+ "sectionId"
59898
+ ]
59899
+ },
59900
+ "headerFooterKind": {
59901
+ "oneOf": [
59902
+ {
59903
+ "const": "header"
59904
+ },
59905
+ {
59906
+ "const": "footer"
59907
+ }
59908
+ ]
59909
+ },
59910
+ "variant": {
59911
+ "oneOf": [
59912
+ {
59913
+ "const": "default"
59914
+ },
59915
+ {
59916
+ "const": "first"
59917
+ },
59918
+ {
59919
+ "const": "even"
59920
+ }
59921
+ ]
59922
+ },
59923
+ "resolution": {
59924
+ "oneOf": [
59925
+ {
59926
+ "const": "effective"
59927
+ },
59928
+ {
59929
+ "const": "explicit"
59930
+ }
59931
+ ]
59932
+ },
59933
+ "onWrite": {
59934
+ "oneOf": [
59935
+ {
59936
+ "const": "materializeIfInherited"
59937
+ },
59938
+ {
59939
+ "const": "editResolvedPart"
59940
+ },
59941
+ {
59942
+ "const": "error"
59943
+ }
59944
+ ]
59945
+ }
59946
+ },
59947
+ "required": [
59948
+ "kind",
59949
+ "storyType",
59950
+ "section",
59951
+ "headerFooterKind",
59952
+ "variant"
59953
+ ]
59954
+ },
59955
+ {
59956
+ "type": "object",
59957
+ "properties": {
59958
+ "kind": {
59959
+ "const": "story"
59960
+ },
59961
+ "storyType": {
59962
+ "const": "headerFooterPart"
59963
+ },
59964
+ "refId": {
59965
+ "type": "string"
59966
+ }
59967
+ },
59968
+ "required": [
59969
+ "kind",
59970
+ "storyType",
59971
+ "refId"
59972
+ ]
59973
+ },
59974
+ {
59975
+ "type": "object",
59976
+ "properties": {
59977
+ "kind": {
59978
+ "const": "story"
59979
+ },
59980
+ "storyType": {
59981
+ "const": "footnote"
59982
+ },
59983
+ "noteId": {
59984
+ "type": "string"
59985
+ }
59986
+ },
59987
+ "required": [
59988
+ "kind",
59989
+ "storyType",
59990
+ "noteId"
59991
+ ]
59992
+ },
59993
+ {
59994
+ "type": "object",
59995
+ "properties": {
59996
+ "kind": {
59997
+ "const": "story"
59998
+ },
59999
+ "storyType": {
60000
+ "const": "endnote"
60001
+ },
60002
+ "noteId": {
60003
+ "type": "string"
60004
+ }
60005
+ },
60006
+ "required": [
60007
+ "kind",
60008
+ "storyType",
60009
+ "noteId"
60010
+ ]
60011
+ }
60012
+ ],
60013
+ "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."
59858
60014
  }
59859
60015
  },
59860
60016
  "required": [
@@ -131438,6 +131594,170 @@ const CONTRACT = {
131438
131594
  "name": "offset",
131439
131595
  "kind": "flag",
131440
131596
  "type": "number"
131597
+ },
131598
+ {
131599
+ "name": "in",
131600
+ "kind": "jsonFlag",
131601
+ "type": "json",
131602
+ "flag": "in-json",
131603
+ "schema": {
131604
+ "oneOf": [
131605
+ {
131606
+ "type": "object",
131607
+ "properties": {
131608
+ "kind": {
131609
+ "const": "story"
131610
+ },
131611
+ "storyType": {
131612
+ "const": "body"
131613
+ }
131614
+ },
131615
+ "required": [
131616
+ "kind",
131617
+ "storyType"
131618
+ ]
131619
+ },
131620
+ {
131621
+ "type": "object",
131622
+ "properties": {
131623
+ "kind": {
131624
+ "const": "story"
131625
+ },
131626
+ "storyType": {
131627
+ "const": "headerFooterSlot"
131628
+ },
131629
+ "section": {
131630
+ "type": "object",
131631
+ "properties": {
131632
+ "kind": {
131633
+ "const": "section"
131634
+ },
131635
+ "sectionId": {
131636
+ "type": "string"
131637
+ }
131638
+ },
131639
+ "required": [
131640
+ "kind",
131641
+ "sectionId"
131642
+ ]
131643
+ },
131644
+ "headerFooterKind": {
131645
+ "oneOf": [
131646
+ {
131647
+ "const": "header"
131648
+ },
131649
+ {
131650
+ "const": "footer"
131651
+ }
131652
+ ]
131653
+ },
131654
+ "variant": {
131655
+ "oneOf": [
131656
+ {
131657
+ "const": "default"
131658
+ },
131659
+ {
131660
+ "const": "first"
131661
+ },
131662
+ {
131663
+ "const": "even"
131664
+ }
131665
+ ]
131666
+ },
131667
+ "resolution": {
131668
+ "oneOf": [
131669
+ {
131670
+ "const": "effective"
131671
+ },
131672
+ {
131673
+ "const": "explicit"
131674
+ }
131675
+ ]
131676
+ },
131677
+ "onWrite": {
131678
+ "oneOf": [
131679
+ {
131680
+ "const": "materializeIfInherited"
131681
+ },
131682
+ {
131683
+ "const": "editResolvedPart"
131684
+ },
131685
+ {
131686
+ "const": "error"
131687
+ }
131688
+ ]
131689
+ }
131690
+ },
131691
+ "required": [
131692
+ "kind",
131693
+ "storyType",
131694
+ "section",
131695
+ "headerFooterKind",
131696
+ "variant"
131697
+ ]
131698
+ },
131699
+ {
131700
+ "type": "object",
131701
+ "properties": {
131702
+ "kind": {
131703
+ "const": "story"
131704
+ },
131705
+ "storyType": {
131706
+ "const": "headerFooterPart"
131707
+ },
131708
+ "refId": {
131709
+ "type": "string"
131710
+ }
131711
+ },
131712
+ "required": [
131713
+ "kind",
131714
+ "storyType",
131715
+ "refId"
131716
+ ]
131717
+ },
131718
+ {
131719
+ "type": "object",
131720
+ "properties": {
131721
+ "kind": {
131722
+ "const": "story"
131723
+ },
131724
+ "storyType": {
131725
+ "const": "footnote"
131726
+ },
131727
+ "noteId": {
131728
+ "type": "string"
131729
+ }
131730
+ },
131731
+ "required": [
131732
+ "kind",
131733
+ "storyType",
131734
+ "noteId"
131735
+ ]
131736
+ },
131737
+ {
131738
+ "type": "object",
131739
+ "properties": {
131740
+ "kind": {
131741
+ "const": "story"
131742
+ },
131743
+ "storyType": {
131744
+ "const": "endnote"
131745
+ },
131746
+ "noteId": {
131747
+ "type": "string"
131748
+ }
131749
+ },
131750
+ "required": [
131751
+ "kind",
131752
+ "storyType",
131753
+ "noteId"
131754
+ ]
131755
+ }
131756
+ ],
131757
+ "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."
131758
+ },
131759
+ "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.",
131760
+ "agentVisible": false
131441
131761
  }
131442
131762
  ],
131443
131763
  "constraints": null,
@@ -131455,6 +131775,9 @@ const CONTRACT = {
131455
131775
  "offset": {
131456
131776
  "type": "integer",
131457
131777
  "minimum": 0
131778
+ },
131779
+ "in": {
131780
+ "$ref": "#/$defs/StoryLocator"
131458
131781
  }
131459
131782
  },
131460
131783
  "additionalProperties": false
@@ -131507,6 +131830,162 @@ const CONTRACT = {
131507
131830
  },
131508
131831
  "name": {
131509
131832
  "type": "string"
131833
+ },
131834
+ "story": {
131835
+ "oneOf": [
131836
+ {
131837
+ "type": "object",
131838
+ "properties": {
131839
+ "kind": {
131840
+ "const": "story"
131841
+ },
131842
+ "storyType": {
131843
+ "const": "body"
131844
+ }
131845
+ },
131846
+ "required": [
131847
+ "kind",
131848
+ "storyType"
131849
+ ]
131850
+ },
131851
+ {
131852
+ "type": "object",
131853
+ "properties": {
131854
+ "kind": {
131855
+ "const": "story"
131856
+ },
131857
+ "storyType": {
131858
+ "const": "headerFooterSlot"
131859
+ },
131860
+ "section": {
131861
+ "type": "object",
131862
+ "properties": {
131863
+ "kind": {
131864
+ "const": "section"
131865
+ },
131866
+ "sectionId": {
131867
+ "type": "string"
131868
+ }
131869
+ },
131870
+ "required": [
131871
+ "kind",
131872
+ "sectionId"
131873
+ ]
131874
+ },
131875
+ "headerFooterKind": {
131876
+ "oneOf": [
131877
+ {
131878
+ "const": "header"
131879
+ },
131880
+ {
131881
+ "const": "footer"
131882
+ }
131883
+ ]
131884
+ },
131885
+ "variant": {
131886
+ "oneOf": [
131887
+ {
131888
+ "const": "default"
131889
+ },
131890
+ {
131891
+ "const": "first"
131892
+ },
131893
+ {
131894
+ "const": "even"
131895
+ }
131896
+ ]
131897
+ },
131898
+ "resolution": {
131899
+ "oneOf": [
131900
+ {
131901
+ "const": "effective"
131902
+ },
131903
+ {
131904
+ "const": "explicit"
131905
+ }
131906
+ ]
131907
+ },
131908
+ "onWrite": {
131909
+ "oneOf": [
131910
+ {
131911
+ "const": "materializeIfInherited"
131912
+ },
131913
+ {
131914
+ "const": "editResolvedPart"
131915
+ },
131916
+ {
131917
+ "const": "error"
131918
+ }
131919
+ ]
131920
+ }
131921
+ },
131922
+ "required": [
131923
+ "kind",
131924
+ "storyType",
131925
+ "section",
131926
+ "headerFooterKind",
131927
+ "variant"
131928
+ ]
131929
+ },
131930
+ {
131931
+ "type": "object",
131932
+ "properties": {
131933
+ "kind": {
131934
+ "const": "story"
131935
+ },
131936
+ "storyType": {
131937
+ "const": "headerFooterPart"
131938
+ },
131939
+ "refId": {
131940
+ "type": "string"
131941
+ }
131942
+ },
131943
+ "required": [
131944
+ "kind",
131945
+ "storyType",
131946
+ "refId"
131947
+ ]
131948
+ },
131949
+ {
131950
+ "type": "object",
131951
+ "properties": {
131952
+ "kind": {
131953
+ "const": "story"
131954
+ },
131955
+ "storyType": {
131956
+ "const": "footnote"
131957
+ },
131958
+ "noteId": {
131959
+ "type": "string"
131960
+ }
131961
+ },
131962
+ "required": [
131963
+ "kind",
131964
+ "storyType",
131965
+ "noteId"
131966
+ ]
131967
+ },
131968
+ {
131969
+ "type": "object",
131970
+ "properties": {
131971
+ "kind": {
131972
+ "const": "story"
131973
+ },
131974
+ "storyType": {
131975
+ "const": "endnote"
131976
+ },
131977
+ "noteId": {
131978
+ "type": "string"
131979
+ }
131980
+ },
131981
+ "required": [
131982
+ "kind",
131983
+ "storyType",
131984
+ "noteId"
131985
+ ]
131986
+ }
131987
+ ],
131988
+ "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."
131510
131989
  }
131511
131990
  },
131512
131991
  "required": [
@@ -131536,6 +132015,9 @@ const CONTRACT = {
131536
132015
  },
131537
132016
  "name": {
131538
132017
  "type": "string"
132018
+ },
132019
+ "story": {
132020
+ "$ref": "#/$defs/StoryLocator"
131539
132021
  }
131540
132022
  },
131541
132023
  "additionalProperties": false,
@@ -131668,6 +132150,162 @@ const CONTRACT = {
131668
132150
  "range"
131669
132151
  ]
131670
132152
  }
132153
+ },
132154
+ "story": {
132155
+ "oneOf": [
132156
+ {
132157
+ "type": "object",
132158
+ "properties": {
132159
+ "kind": {
132160
+ "const": "story"
132161
+ },
132162
+ "storyType": {
132163
+ "const": "body"
132164
+ }
132165
+ },
132166
+ "required": [
132167
+ "kind",
132168
+ "storyType"
132169
+ ]
132170
+ },
132171
+ {
132172
+ "type": "object",
132173
+ "properties": {
132174
+ "kind": {
132175
+ "const": "story"
132176
+ },
132177
+ "storyType": {
132178
+ "const": "headerFooterSlot"
132179
+ },
132180
+ "section": {
132181
+ "type": "object",
132182
+ "properties": {
132183
+ "kind": {
132184
+ "const": "section"
132185
+ },
132186
+ "sectionId": {
132187
+ "type": "string"
132188
+ }
132189
+ },
132190
+ "required": [
132191
+ "kind",
132192
+ "sectionId"
132193
+ ]
132194
+ },
132195
+ "headerFooterKind": {
132196
+ "oneOf": [
132197
+ {
132198
+ "const": "header"
132199
+ },
132200
+ {
132201
+ "const": "footer"
132202
+ }
132203
+ ]
132204
+ },
132205
+ "variant": {
132206
+ "oneOf": [
132207
+ {
132208
+ "const": "default"
132209
+ },
132210
+ {
132211
+ "const": "first"
132212
+ },
132213
+ {
132214
+ "const": "even"
132215
+ }
132216
+ ]
132217
+ },
132218
+ "resolution": {
132219
+ "oneOf": [
132220
+ {
132221
+ "const": "effective"
132222
+ },
132223
+ {
132224
+ "const": "explicit"
132225
+ }
132226
+ ]
132227
+ },
132228
+ "onWrite": {
132229
+ "oneOf": [
132230
+ {
132231
+ "const": "materializeIfInherited"
132232
+ },
132233
+ {
132234
+ "const": "editResolvedPart"
132235
+ },
132236
+ {
132237
+ "const": "error"
132238
+ }
132239
+ ]
132240
+ }
132241
+ },
132242
+ "required": [
132243
+ "kind",
132244
+ "storyType",
132245
+ "section",
132246
+ "headerFooterKind",
132247
+ "variant"
132248
+ ]
132249
+ },
132250
+ {
132251
+ "type": "object",
132252
+ "properties": {
132253
+ "kind": {
132254
+ "const": "story"
132255
+ },
132256
+ "storyType": {
132257
+ "const": "headerFooterPart"
132258
+ },
132259
+ "refId": {
132260
+ "type": "string"
132261
+ }
132262
+ },
132263
+ "required": [
132264
+ "kind",
132265
+ "storyType",
132266
+ "refId"
132267
+ ]
132268
+ },
132269
+ {
132270
+ "type": "object",
132271
+ "properties": {
132272
+ "kind": {
132273
+ "const": "story"
132274
+ },
132275
+ "storyType": {
132276
+ "const": "footnote"
132277
+ },
132278
+ "noteId": {
132279
+ "type": "string"
132280
+ }
132281
+ },
132282
+ "required": [
132283
+ "kind",
132284
+ "storyType",
132285
+ "noteId"
132286
+ ]
132287
+ },
132288
+ {
132289
+ "type": "object",
132290
+ "properties": {
132291
+ "kind": {
132292
+ "const": "story"
132293
+ },
132294
+ "storyType": {
132295
+ "const": "endnote"
132296
+ },
132297
+ "noteId": {
132298
+ "type": "string"
132299
+ }
132300
+ },
132301
+ "required": [
132302
+ "kind",
132303
+ "storyType",
132304
+ "noteId"
132305
+ ]
132306
+ }
132307
+ ],
132308
+ "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."
131671
132309
  }
131672
132310
  },
131673
132311
  "required": [
@@ -131754,6 +132392,9 @@ const CONTRACT = {
131754
132392
  },
131755
132393
  "name": {
131756
132394
  "type": "string"
132395
+ },
132396
+ "story": {
132397
+ "$ref": "#/$defs/StoryLocator"
131757
132398
  }
131758
132399
  },
131759
132400
  "additionalProperties": false,
@@ -131819,6 +132460,9 @@ const CONTRACT = {
131819
132460
  },
131820
132461
  "name": {
131821
132462
  "type": "string"
132463
+ },
132464
+ "story": {
132465
+ "$ref": "#/$defs/StoryLocator"
131822
132466
  }
131823
132467
  },
131824
132468
  "additionalProperties": false,
@@ -131949,6 +132593,162 @@ const CONTRACT = {
131949
132593
  },
131950
132594
  "name": {
131951
132595
  "type": "string"
132596
+ },
132597
+ "story": {
132598
+ "oneOf": [
132599
+ {
132600
+ "type": "object",
132601
+ "properties": {
132602
+ "kind": {
132603
+ "const": "story"
132604
+ },
132605
+ "storyType": {
132606
+ "const": "body"
132607
+ }
132608
+ },
132609
+ "required": [
132610
+ "kind",
132611
+ "storyType"
132612
+ ]
132613
+ },
132614
+ {
132615
+ "type": "object",
132616
+ "properties": {
132617
+ "kind": {
132618
+ "const": "story"
132619
+ },
132620
+ "storyType": {
132621
+ "const": "headerFooterSlot"
132622
+ },
132623
+ "section": {
132624
+ "type": "object",
132625
+ "properties": {
132626
+ "kind": {
132627
+ "const": "section"
132628
+ },
132629
+ "sectionId": {
132630
+ "type": "string"
132631
+ }
132632
+ },
132633
+ "required": [
132634
+ "kind",
132635
+ "sectionId"
132636
+ ]
132637
+ },
132638
+ "headerFooterKind": {
132639
+ "oneOf": [
132640
+ {
132641
+ "const": "header"
132642
+ },
132643
+ {
132644
+ "const": "footer"
132645
+ }
132646
+ ]
132647
+ },
132648
+ "variant": {
132649
+ "oneOf": [
132650
+ {
132651
+ "const": "default"
132652
+ },
132653
+ {
132654
+ "const": "first"
132655
+ },
132656
+ {
132657
+ "const": "even"
132658
+ }
132659
+ ]
132660
+ },
132661
+ "resolution": {
132662
+ "oneOf": [
132663
+ {
132664
+ "const": "effective"
132665
+ },
132666
+ {
132667
+ "const": "explicit"
132668
+ }
132669
+ ]
132670
+ },
132671
+ "onWrite": {
132672
+ "oneOf": [
132673
+ {
132674
+ "const": "materializeIfInherited"
132675
+ },
132676
+ {
132677
+ "const": "editResolvedPart"
132678
+ },
132679
+ {
132680
+ "const": "error"
132681
+ }
132682
+ ]
132683
+ }
132684
+ },
132685
+ "required": [
132686
+ "kind",
132687
+ "storyType",
132688
+ "section",
132689
+ "headerFooterKind",
132690
+ "variant"
132691
+ ]
132692
+ },
132693
+ {
132694
+ "type": "object",
132695
+ "properties": {
132696
+ "kind": {
132697
+ "const": "story"
132698
+ },
132699
+ "storyType": {
132700
+ "const": "headerFooterPart"
132701
+ },
132702
+ "refId": {
132703
+ "type": "string"
132704
+ }
132705
+ },
132706
+ "required": [
132707
+ "kind",
132708
+ "storyType",
132709
+ "refId"
132710
+ ]
132711
+ },
132712
+ {
132713
+ "type": "object",
132714
+ "properties": {
132715
+ "kind": {
132716
+ "const": "story"
132717
+ },
132718
+ "storyType": {
132719
+ "const": "footnote"
132720
+ },
132721
+ "noteId": {
132722
+ "type": "string"
132723
+ }
132724
+ },
132725
+ "required": [
132726
+ "kind",
132727
+ "storyType",
132728
+ "noteId"
132729
+ ]
132730
+ },
132731
+ {
132732
+ "type": "object",
132733
+ "properties": {
132734
+ "kind": {
132735
+ "const": "story"
132736
+ },
132737
+ "storyType": {
132738
+ "const": "endnote"
132739
+ },
132740
+ "noteId": {
132741
+ "type": "string"
132742
+ }
132743
+ },
132744
+ "required": [
132745
+ "kind",
132746
+ "storyType",
132747
+ "noteId"
132748
+ ]
132749
+ }
132750
+ ],
132751
+ "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."
131952
132752
  }
131953
132753
  },
131954
132754
  "required": [
@@ -131985,6 +132785,9 @@ const CONTRACT = {
131985
132785
  },
131986
132786
  "name": {
131987
132787
  "type": "string"
132788
+ },
132789
+ "story": {
132790
+ "$ref": "#/$defs/StoryLocator"
131988
132791
  }
131989
132792
  },
131990
132793
  "additionalProperties": false,
@@ -132023,6 +132826,9 @@ const CONTRACT = {
132023
132826
  },
132024
132827
  "name": {
132025
132828
  "type": "string"
132829
+ },
132830
+ "story": {
132831
+ "$ref": "#/$defs/StoryLocator"
132026
132832
  }
132027
132833
  },
132028
132834
  "additionalProperties": false,
@@ -132088,6 +132894,9 @@ const CONTRACT = {
132088
132894
  },
132089
132895
  "name": {
132090
132896
  "type": "string"
132897
+ },
132898
+ "story": {
132899
+ "$ref": "#/$defs/StoryLocator"
132091
132900
  }
132092
132901
  },
132093
132902
  "additionalProperties": false,
@@ -132218,6 +133027,162 @@ const CONTRACT = {
132218
133027
  },
132219
133028
  "name": {
132220
133029
  "type": "string"
133030
+ },
133031
+ "story": {
133032
+ "oneOf": [
133033
+ {
133034
+ "type": "object",
133035
+ "properties": {
133036
+ "kind": {
133037
+ "const": "story"
133038
+ },
133039
+ "storyType": {
133040
+ "const": "body"
133041
+ }
133042
+ },
133043
+ "required": [
133044
+ "kind",
133045
+ "storyType"
133046
+ ]
133047
+ },
133048
+ {
133049
+ "type": "object",
133050
+ "properties": {
133051
+ "kind": {
133052
+ "const": "story"
133053
+ },
133054
+ "storyType": {
133055
+ "const": "headerFooterSlot"
133056
+ },
133057
+ "section": {
133058
+ "type": "object",
133059
+ "properties": {
133060
+ "kind": {
133061
+ "const": "section"
133062
+ },
133063
+ "sectionId": {
133064
+ "type": "string"
133065
+ }
133066
+ },
133067
+ "required": [
133068
+ "kind",
133069
+ "sectionId"
133070
+ ]
133071
+ },
133072
+ "headerFooterKind": {
133073
+ "oneOf": [
133074
+ {
133075
+ "const": "header"
133076
+ },
133077
+ {
133078
+ "const": "footer"
133079
+ }
133080
+ ]
133081
+ },
133082
+ "variant": {
133083
+ "oneOf": [
133084
+ {
133085
+ "const": "default"
133086
+ },
133087
+ {
133088
+ "const": "first"
133089
+ },
133090
+ {
133091
+ "const": "even"
133092
+ }
133093
+ ]
133094
+ },
133095
+ "resolution": {
133096
+ "oneOf": [
133097
+ {
133098
+ "const": "effective"
133099
+ },
133100
+ {
133101
+ "const": "explicit"
133102
+ }
133103
+ ]
133104
+ },
133105
+ "onWrite": {
133106
+ "oneOf": [
133107
+ {
133108
+ "const": "materializeIfInherited"
133109
+ },
133110
+ {
133111
+ "const": "editResolvedPart"
133112
+ },
133113
+ {
133114
+ "const": "error"
133115
+ }
133116
+ ]
133117
+ }
133118
+ },
133119
+ "required": [
133120
+ "kind",
133121
+ "storyType",
133122
+ "section",
133123
+ "headerFooterKind",
133124
+ "variant"
133125
+ ]
133126
+ },
133127
+ {
133128
+ "type": "object",
133129
+ "properties": {
133130
+ "kind": {
133131
+ "const": "story"
133132
+ },
133133
+ "storyType": {
133134
+ "const": "headerFooterPart"
133135
+ },
133136
+ "refId": {
133137
+ "type": "string"
133138
+ }
133139
+ },
133140
+ "required": [
133141
+ "kind",
133142
+ "storyType",
133143
+ "refId"
133144
+ ]
133145
+ },
133146
+ {
133147
+ "type": "object",
133148
+ "properties": {
133149
+ "kind": {
133150
+ "const": "story"
133151
+ },
133152
+ "storyType": {
133153
+ "const": "footnote"
133154
+ },
133155
+ "noteId": {
133156
+ "type": "string"
133157
+ }
133158
+ },
133159
+ "required": [
133160
+ "kind",
133161
+ "storyType",
133162
+ "noteId"
133163
+ ]
133164
+ },
133165
+ {
133166
+ "type": "object",
133167
+ "properties": {
133168
+ "kind": {
133169
+ "const": "story"
133170
+ },
133171
+ "storyType": {
133172
+ "const": "endnote"
133173
+ },
133174
+ "noteId": {
133175
+ "type": "string"
133176
+ }
133177
+ },
133178
+ "required": [
133179
+ "kind",
133180
+ "storyType",
133181
+ "noteId"
133182
+ ]
133183
+ }
133184
+ ],
133185
+ "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."
132221
133186
  }
132222
133187
  },
132223
133188
  "required": [
@@ -132247,6 +133212,9 @@ const CONTRACT = {
132247
133212
  },
132248
133213
  "name": {
132249
133214
  "type": "string"
133215
+ },
133216
+ "story": {
133217
+ "$ref": "#/$defs/StoryLocator"
132250
133218
  }
132251
133219
  },
132252
133220
  "additionalProperties": false,
@@ -132281,6 +133249,9 @@ const CONTRACT = {
132281
133249
  },
132282
133250
  "name": {
132283
133251
  "type": "string"
133252
+ },
133253
+ "story": {
133254
+ "$ref": "#/$defs/StoryLocator"
132284
133255
  }
132285
133256
  },
132286
133257
  "additionalProperties": false,
@@ -132346,6 +133317,9 @@ const CONTRACT = {
132346
133317
  },
132347
133318
  "name": {
132348
133319
  "type": "string"
133320
+ },
133321
+ "story": {
133322
+ "$ref": "#/$defs/StoryLocator"
132349
133323
  }
132350
133324
  },
132351
133325
  "additionalProperties": false,
@@ -132672,6 +133646,162 @@ const CONTRACT = {
132672
133646
  "range"
132673
133647
  ]
132674
133648
  }
133649
+ },
133650
+ "story": {
133651
+ "oneOf": [
133652
+ {
133653
+ "type": "object",
133654
+ "properties": {
133655
+ "kind": {
133656
+ "const": "story"
133657
+ },
133658
+ "storyType": {
133659
+ "const": "body"
133660
+ }
133661
+ },
133662
+ "required": [
133663
+ "kind",
133664
+ "storyType"
133665
+ ]
133666
+ },
133667
+ {
133668
+ "type": "object",
133669
+ "properties": {
133670
+ "kind": {
133671
+ "const": "story"
133672
+ },
133673
+ "storyType": {
133674
+ "const": "headerFooterSlot"
133675
+ },
133676
+ "section": {
133677
+ "type": "object",
133678
+ "properties": {
133679
+ "kind": {
133680
+ "const": "section"
133681
+ },
133682
+ "sectionId": {
133683
+ "type": "string"
133684
+ }
133685
+ },
133686
+ "required": [
133687
+ "kind",
133688
+ "sectionId"
133689
+ ]
133690
+ },
133691
+ "headerFooterKind": {
133692
+ "oneOf": [
133693
+ {
133694
+ "const": "header"
133695
+ },
133696
+ {
133697
+ "const": "footer"
133698
+ }
133699
+ ]
133700
+ },
133701
+ "variant": {
133702
+ "oneOf": [
133703
+ {
133704
+ "const": "default"
133705
+ },
133706
+ {
133707
+ "const": "first"
133708
+ },
133709
+ {
133710
+ "const": "even"
133711
+ }
133712
+ ]
133713
+ },
133714
+ "resolution": {
133715
+ "oneOf": [
133716
+ {
133717
+ "const": "effective"
133718
+ },
133719
+ {
133720
+ "const": "explicit"
133721
+ }
133722
+ ]
133723
+ },
133724
+ "onWrite": {
133725
+ "oneOf": [
133726
+ {
133727
+ "const": "materializeIfInherited"
133728
+ },
133729
+ {
133730
+ "const": "editResolvedPart"
133731
+ },
133732
+ {
133733
+ "const": "error"
133734
+ }
133735
+ ]
133736
+ }
133737
+ },
133738
+ "required": [
133739
+ "kind",
133740
+ "storyType",
133741
+ "section",
133742
+ "headerFooterKind",
133743
+ "variant"
133744
+ ]
133745
+ },
133746
+ {
133747
+ "type": "object",
133748
+ "properties": {
133749
+ "kind": {
133750
+ "const": "story"
133751
+ },
133752
+ "storyType": {
133753
+ "const": "headerFooterPart"
133754
+ },
133755
+ "refId": {
133756
+ "type": "string"
133757
+ }
133758
+ },
133759
+ "required": [
133760
+ "kind",
133761
+ "storyType",
133762
+ "refId"
133763
+ ]
133764
+ },
133765
+ {
133766
+ "type": "object",
133767
+ "properties": {
133768
+ "kind": {
133769
+ "const": "story"
133770
+ },
133771
+ "storyType": {
133772
+ "const": "footnote"
133773
+ },
133774
+ "noteId": {
133775
+ "type": "string"
133776
+ }
133777
+ },
133778
+ "required": [
133779
+ "kind",
133780
+ "storyType",
133781
+ "noteId"
133782
+ ]
133783
+ },
133784
+ {
133785
+ "type": "object",
133786
+ "properties": {
133787
+ "kind": {
133788
+ "const": "story"
133789
+ },
133790
+ "storyType": {
133791
+ "const": "endnote"
133792
+ },
133793
+ "noteId": {
133794
+ "type": "string"
133795
+ }
133796
+ },
133797
+ "required": [
133798
+ "kind",
133799
+ "storyType",
133800
+ "noteId"
133801
+ ]
133802
+ }
133803
+ ],
133804
+ "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."
132675
133805
  }
132676
133806
  },
132677
133807
  "required": [
@@ -134060,6 +135190,162 @@ const CONTRACT = {
134060
135190
  "range"
134061
135191
  ]
134062
135192
  }
135193
+ },
135194
+ "story": {
135195
+ "oneOf": [
135196
+ {
135197
+ "type": "object",
135198
+ "properties": {
135199
+ "kind": {
135200
+ "const": "story"
135201
+ },
135202
+ "storyType": {
135203
+ "const": "body"
135204
+ }
135205
+ },
135206
+ "required": [
135207
+ "kind",
135208
+ "storyType"
135209
+ ]
135210
+ },
135211
+ {
135212
+ "type": "object",
135213
+ "properties": {
135214
+ "kind": {
135215
+ "const": "story"
135216
+ },
135217
+ "storyType": {
135218
+ "const": "headerFooterSlot"
135219
+ },
135220
+ "section": {
135221
+ "type": "object",
135222
+ "properties": {
135223
+ "kind": {
135224
+ "const": "section"
135225
+ },
135226
+ "sectionId": {
135227
+ "type": "string"
135228
+ }
135229
+ },
135230
+ "required": [
135231
+ "kind",
135232
+ "sectionId"
135233
+ ]
135234
+ },
135235
+ "headerFooterKind": {
135236
+ "oneOf": [
135237
+ {
135238
+ "const": "header"
135239
+ },
135240
+ {
135241
+ "const": "footer"
135242
+ }
135243
+ ]
135244
+ },
135245
+ "variant": {
135246
+ "oneOf": [
135247
+ {
135248
+ "const": "default"
135249
+ },
135250
+ {
135251
+ "const": "first"
135252
+ },
135253
+ {
135254
+ "const": "even"
135255
+ }
135256
+ ]
135257
+ },
135258
+ "resolution": {
135259
+ "oneOf": [
135260
+ {
135261
+ "const": "effective"
135262
+ },
135263
+ {
135264
+ "const": "explicit"
135265
+ }
135266
+ ]
135267
+ },
135268
+ "onWrite": {
135269
+ "oneOf": [
135270
+ {
135271
+ "const": "materializeIfInherited"
135272
+ },
135273
+ {
135274
+ "const": "editResolvedPart"
135275
+ },
135276
+ {
135277
+ "const": "error"
135278
+ }
135279
+ ]
135280
+ }
135281
+ },
135282
+ "required": [
135283
+ "kind",
135284
+ "storyType",
135285
+ "section",
135286
+ "headerFooterKind",
135287
+ "variant"
135288
+ ]
135289
+ },
135290
+ {
135291
+ "type": "object",
135292
+ "properties": {
135293
+ "kind": {
135294
+ "const": "story"
135295
+ },
135296
+ "storyType": {
135297
+ "const": "headerFooterPart"
135298
+ },
135299
+ "refId": {
135300
+ "type": "string"
135301
+ }
135302
+ },
135303
+ "required": [
135304
+ "kind",
135305
+ "storyType",
135306
+ "refId"
135307
+ ]
135308
+ },
135309
+ {
135310
+ "type": "object",
135311
+ "properties": {
135312
+ "kind": {
135313
+ "const": "story"
135314
+ },
135315
+ "storyType": {
135316
+ "const": "footnote"
135317
+ },
135318
+ "noteId": {
135319
+ "type": "string"
135320
+ }
135321
+ },
135322
+ "required": [
135323
+ "kind",
135324
+ "storyType",
135325
+ "noteId"
135326
+ ]
135327
+ },
135328
+ {
135329
+ "type": "object",
135330
+ "properties": {
135331
+ "kind": {
135332
+ "const": "story"
135333
+ },
135334
+ "storyType": {
135335
+ "const": "endnote"
135336
+ },
135337
+ "noteId": {
135338
+ "type": "string"
135339
+ }
135340
+ },
135341
+ "required": [
135342
+ "kind",
135343
+ "storyType",
135344
+ "noteId"
135345
+ ]
135346
+ }
135347
+ ],
135348
+ "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."
134063
135349
  }
134064
135350
  },
134065
135351
  "required": [
@@ -136936,6 +138222,162 @@ const CONTRACT = {
136936
138222
  "range"
136937
138223
  ]
136938
138224
  }
138225
+ },
138226
+ "story": {
138227
+ "oneOf": [
138228
+ {
138229
+ "type": "object",
138230
+ "properties": {
138231
+ "kind": {
138232
+ "const": "story"
138233
+ },
138234
+ "storyType": {
138235
+ "const": "body"
138236
+ }
138237
+ },
138238
+ "required": [
138239
+ "kind",
138240
+ "storyType"
138241
+ ]
138242
+ },
138243
+ {
138244
+ "type": "object",
138245
+ "properties": {
138246
+ "kind": {
138247
+ "const": "story"
138248
+ },
138249
+ "storyType": {
138250
+ "const": "headerFooterSlot"
138251
+ },
138252
+ "section": {
138253
+ "type": "object",
138254
+ "properties": {
138255
+ "kind": {
138256
+ "const": "section"
138257
+ },
138258
+ "sectionId": {
138259
+ "type": "string"
138260
+ }
138261
+ },
138262
+ "required": [
138263
+ "kind",
138264
+ "sectionId"
138265
+ ]
138266
+ },
138267
+ "headerFooterKind": {
138268
+ "oneOf": [
138269
+ {
138270
+ "const": "header"
138271
+ },
138272
+ {
138273
+ "const": "footer"
138274
+ }
138275
+ ]
138276
+ },
138277
+ "variant": {
138278
+ "oneOf": [
138279
+ {
138280
+ "const": "default"
138281
+ },
138282
+ {
138283
+ "const": "first"
138284
+ },
138285
+ {
138286
+ "const": "even"
138287
+ }
138288
+ ]
138289
+ },
138290
+ "resolution": {
138291
+ "oneOf": [
138292
+ {
138293
+ "const": "effective"
138294
+ },
138295
+ {
138296
+ "const": "explicit"
138297
+ }
138298
+ ]
138299
+ },
138300
+ "onWrite": {
138301
+ "oneOf": [
138302
+ {
138303
+ "const": "materializeIfInherited"
138304
+ },
138305
+ {
138306
+ "const": "editResolvedPart"
138307
+ },
138308
+ {
138309
+ "const": "error"
138310
+ }
138311
+ ]
138312
+ }
138313
+ },
138314
+ "required": [
138315
+ "kind",
138316
+ "storyType",
138317
+ "section",
138318
+ "headerFooterKind",
138319
+ "variant"
138320
+ ]
138321
+ },
138322
+ {
138323
+ "type": "object",
138324
+ "properties": {
138325
+ "kind": {
138326
+ "const": "story"
138327
+ },
138328
+ "storyType": {
138329
+ "const": "headerFooterPart"
138330
+ },
138331
+ "refId": {
138332
+ "type": "string"
138333
+ }
138334
+ },
138335
+ "required": [
138336
+ "kind",
138337
+ "storyType",
138338
+ "refId"
138339
+ ]
138340
+ },
138341
+ {
138342
+ "type": "object",
138343
+ "properties": {
138344
+ "kind": {
138345
+ "const": "story"
138346
+ },
138347
+ "storyType": {
138348
+ "const": "footnote"
138349
+ },
138350
+ "noteId": {
138351
+ "type": "string"
138352
+ }
138353
+ },
138354
+ "required": [
138355
+ "kind",
138356
+ "storyType",
138357
+ "noteId"
138358
+ ]
138359
+ },
138360
+ {
138361
+ "type": "object",
138362
+ "properties": {
138363
+ "kind": {
138364
+ "const": "story"
138365
+ },
138366
+ "storyType": {
138367
+ "const": "endnote"
138368
+ },
138369
+ "noteId": {
138370
+ "type": "string"
138371
+ }
138372
+ },
138373
+ "required": [
138374
+ "kind",
138375
+ "storyType",
138376
+ "noteId"
138377
+ ]
138378
+ }
138379
+ ],
138380
+ "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."
136939
138381
  }
136940
138382
  },
136941
138383
  "required": [
@@ -139339,6 +140781,162 @@ const CONTRACT = {
139339
140781
  "range"
139340
140782
  ]
139341
140783
  }
140784
+ },
140785
+ "story": {
140786
+ "oneOf": [
140787
+ {
140788
+ "type": "object",
140789
+ "properties": {
140790
+ "kind": {
140791
+ "const": "story"
140792
+ },
140793
+ "storyType": {
140794
+ "const": "body"
140795
+ }
140796
+ },
140797
+ "required": [
140798
+ "kind",
140799
+ "storyType"
140800
+ ]
140801
+ },
140802
+ {
140803
+ "type": "object",
140804
+ "properties": {
140805
+ "kind": {
140806
+ "const": "story"
140807
+ },
140808
+ "storyType": {
140809
+ "const": "headerFooterSlot"
140810
+ },
140811
+ "section": {
140812
+ "type": "object",
140813
+ "properties": {
140814
+ "kind": {
140815
+ "const": "section"
140816
+ },
140817
+ "sectionId": {
140818
+ "type": "string"
140819
+ }
140820
+ },
140821
+ "required": [
140822
+ "kind",
140823
+ "sectionId"
140824
+ ]
140825
+ },
140826
+ "headerFooterKind": {
140827
+ "oneOf": [
140828
+ {
140829
+ "const": "header"
140830
+ },
140831
+ {
140832
+ "const": "footer"
140833
+ }
140834
+ ]
140835
+ },
140836
+ "variant": {
140837
+ "oneOf": [
140838
+ {
140839
+ "const": "default"
140840
+ },
140841
+ {
140842
+ "const": "first"
140843
+ },
140844
+ {
140845
+ "const": "even"
140846
+ }
140847
+ ]
140848
+ },
140849
+ "resolution": {
140850
+ "oneOf": [
140851
+ {
140852
+ "const": "effective"
140853
+ },
140854
+ {
140855
+ "const": "explicit"
140856
+ }
140857
+ ]
140858
+ },
140859
+ "onWrite": {
140860
+ "oneOf": [
140861
+ {
140862
+ "const": "materializeIfInherited"
140863
+ },
140864
+ {
140865
+ "const": "editResolvedPart"
140866
+ },
140867
+ {
140868
+ "const": "error"
140869
+ }
140870
+ ]
140871
+ }
140872
+ },
140873
+ "required": [
140874
+ "kind",
140875
+ "storyType",
140876
+ "section",
140877
+ "headerFooterKind",
140878
+ "variant"
140879
+ ]
140880
+ },
140881
+ {
140882
+ "type": "object",
140883
+ "properties": {
140884
+ "kind": {
140885
+ "const": "story"
140886
+ },
140887
+ "storyType": {
140888
+ "const": "headerFooterPart"
140889
+ },
140890
+ "refId": {
140891
+ "type": "string"
140892
+ }
140893
+ },
140894
+ "required": [
140895
+ "kind",
140896
+ "storyType",
140897
+ "refId"
140898
+ ]
140899
+ },
140900
+ {
140901
+ "type": "object",
140902
+ "properties": {
140903
+ "kind": {
140904
+ "const": "story"
140905
+ },
140906
+ "storyType": {
140907
+ "const": "footnote"
140908
+ },
140909
+ "noteId": {
140910
+ "type": "string"
140911
+ }
140912
+ },
140913
+ "required": [
140914
+ "kind",
140915
+ "storyType",
140916
+ "noteId"
140917
+ ]
140918
+ },
140919
+ {
140920
+ "type": "object",
140921
+ "properties": {
140922
+ "kind": {
140923
+ "const": "story"
140924
+ },
140925
+ "storyType": {
140926
+ "const": "endnote"
140927
+ },
140928
+ "noteId": {
140929
+ "type": "string"
140930
+ }
140931
+ },
140932
+ "required": [
140933
+ "kind",
140934
+ "storyType",
140935
+ "noteId"
140936
+ ]
140937
+ }
140938
+ ],
140939
+ "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."
139342
140940
  }
139343
140941
  },
139344
140942
  "required": [
@@ -140366,6 +141964,162 @@ const CONTRACT = {
140366
141964
  "range"
140367
141965
  ]
140368
141966
  }
141967
+ },
141968
+ "story": {
141969
+ "oneOf": [
141970
+ {
141971
+ "type": "object",
141972
+ "properties": {
141973
+ "kind": {
141974
+ "const": "story"
141975
+ },
141976
+ "storyType": {
141977
+ "const": "body"
141978
+ }
141979
+ },
141980
+ "required": [
141981
+ "kind",
141982
+ "storyType"
141983
+ ]
141984
+ },
141985
+ {
141986
+ "type": "object",
141987
+ "properties": {
141988
+ "kind": {
141989
+ "const": "story"
141990
+ },
141991
+ "storyType": {
141992
+ "const": "headerFooterSlot"
141993
+ },
141994
+ "section": {
141995
+ "type": "object",
141996
+ "properties": {
141997
+ "kind": {
141998
+ "const": "section"
141999
+ },
142000
+ "sectionId": {
142001
+ "type": "string"
142002
+ }
142003
+ },
142004
+ "required": [
142005
+ "kind",
142006
+ "sectionId"
142007
+ ]
142008
+ },
142009
+ "headerFooterKind": {
142010
+ "oneOf": [
142011
+ {
142012
+ "const": "header"
142013
+ },
142014
+ {
142015
+ "const": "footer"
142016
+ }
142017
+ ]
142018
+ },
142019
+ "variant": {
142020
+ "oneOf": [
142021
+ {
142022
+ "const": "default"
142023
+ },
142024
+ {
142025
+ "const": "first"
142026
+ },
142027
+ {
142028
+ "const": "even"
142029
+ }
142030
+ ]
142031
+ },
142032
+ "resolution": {
142033
+ "oneOf": [
142034
+ {
142035
+ "const": "effective"
142036
+ },
142037
+ {
142038
+ "const": "explicit"
142039
+ }
142040
+ ]
142041
+ },
142042
+ "onWrite": {
142043
+ "oneOf": [
142044
+ {
142045
+ "const": "materializeIfInherited"
142046
+ },
142047
+ {
142048
+ "const": "editResolvedPart"
142049
+ },
142050
+ {
142051
+ "const": "error"
142052
+ }
142053
+ ]
142054
+ }
142055
+ },
142056
+ "required": [
142057
+ "kind",
142058
+ "storyType",
142059
+ "section",
142060
+ "headerFooterKind",
142061
+ "variant"
142062
+ ]
142063
+ },
142064
+ {
142065
+ "type": "object",
142066
+ "properties": {
142067
+ "kind": {
142068
+ "const": "story"
142069
+ },
142070
+ "storyType": {
142071
+ "const": "headerFooterPart"
142072
+ },
142073
+ "refId": {
142074
+ "type": "string"
142075
+ }
142076
+ },
142077
+ "required": [
142078
+ "kind",
142079
+ "storyType",
142080
+ "refId"
142081
+ ]
142082
+ },
142083
+ {
142084
+ "type": "object",
142085
+ "properties": {
142086
+ "kind": {
142087
+ "const": "story"
142088
+ },
142089
+ "storyType": {
142090
+ "const": "footnote"
142091
+ },
142092
+ "noteId": {
142093
+ "type": "string"
142094
+ }
142095
+ },
142096
+ "required": [
142097
+ "kind",
142098
+ "storyType",
142099
+ "noteId"
142100
+ ]
142101
+ },
142102
+ {
142103
+ "type": "object",
142104
+ "properties": {
142105
+ "kind": {
142106
+ "const": "story"
142107
+ },
142108
+ "storyType": {
142109
+ "const": "endnote"
142110
+ },
142111
+ "noteId": {
142112
+ "type": "string"
142113
+ }
142114
+ },
142115
+ "required": [
142116
+ "kind",
142117
+ "storyType",
142118
+ "noteId"
142119
+ ]
142120
+ }
142121
+ ],
142122
+ "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."
140369
142123
  }
140370
142124
  },
140371
142125
  "required": [
@@ -145661,6 +147415,162 @@ const CONTRACT = {
145661
147415
  "range"
145662
147416
  ]
145663
147417
  }
147418
+ },
147419
+ "story": {
147420
+ "oneOf": [
147421
+ {
147422
+ "type": "object",
147423
+ "properties": {
147424
+ "kind": {
147425
+ "const": "story"
147426
+ },
147427
+ "storyType": {
147428
+ "const": "body"
147429
+ }
147430
+ },
147431
+ "required": [
147432
+ "kind",
147433
+ "storyType"
147434
+ ]
147435
+ },
147436
+ {
147437
+ "type": "object",
147438
+ "properties": {
147439
+ "kind": {
147440
+ "const": "story"
147441
+ },
147442
+ "storyType": {
147443
+ "const": "headerFooterSlot"
147444
+ },
147445
+ "section": {
147446
+ "type": "object",
147447
+ "properties": {
147448
+ "kind": {
147449
+ "const": "section"
147450
+ },
147451
+ "sectionId": {
147452
+ "type": "string"
147453
+ }
147454
+ },
147455
+ "required": [
147456
+ "kind",
147457
+ "sectionId"
147458
+ ]
147459
+ },
147460
+ "headerFooterKind": {
147461
+ "oneOf": [
147462
+ {
147463
+ "const": "header"
147464
+ },
147465
+ {
147466
+ "const": "footer"
147467
+ }
147468
+ ]
147469
+ },
147470
+ "variant": {
147471
+ "oneOf": [
147472
+ {
147473
+ "const": "default"
147474
+ },
147475
+ {
147476
+ "const": "first"
147477
+ },
147478
+ {
147479
+ "const": "even"
147480
+ }
147481
+ ]
147482
+ },
147483
+ "resolution": {
147484
+ "oneOf": [
147485
+ {
147486
+ "const": "effective"
147487
+ },
147488
+ {
147489
+ "const": "explicit"
147490
+ }
147491
+ ]
147492
+ },
147493
+ "onWrite": {
147494
+ "oneOf": [
147495
+ {
147496
+ "const": "materializeIfInherited"
147497
+ },
147498
+ {
147499
+ "const": "editResolvedPart"
147500
+ },
147501
+ {
147502
+ "const": "error"
147503
+ }
147504
+ ]
147505
+ }
147506
+ },
147507
+ "required": [
147508
+ "kind",
147509
+ "storyType",
147510
+ "section",
147511
+ "headerFooterKind",
147512
+ "variant"
147513
+ ]
147514
+ },
147515
+ {
147516
+ "type": "object",
147517
+ "properties": {
147518
+ "kind": {
147519
+ "const": "story"
147520
+ },
147521
+ "storyType": {
147522
+ "const": "headerFooterPart"
147523
+ },
147524
+ "refId": {
147525
+ "type": "string"
147526
+ }
147527
+ },
147528
+ "required": [
147529
+ "kind",
147530
+ "storyType",
147531
+ "refId"
147532
+ ]
147533
+ },
147534
+ {
147535
+ "type": "object",
147536
+ "properties": {
147537
+ "kind": {
147538
+ "const": "story"
147539
+ },
147540
+ "storyType": {
147541
+ "const": "footnote"
147542
+ },
147543
+ "noteId": {
147544
+ "type": "string"
147545
+ }
147546
+ },
147547
+ "required": [
147548
+ "kind",
147549
+ "storyType",
147550
+ "noteId"
147551
+ ]
147552
+ },
147553
+ {
147554
+ "type": "object",
147555
+ "properties": {
147556
+ "kind": {
147557
+ "const": "story"
147558
+ },
147559
+ "storyType": {
147560
+ "const": "endnote"
147561
+ },
147562
+ "noteId": {
147563
+ "type": "string"
147564
+ }
147565
+ },
147566
+ "required": [
147567
+ "kind",
147568
+ "storyType",
147569
+ "noteId"
147570
+ ]
147571
+ }
147572
+ ],
147573
+ "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."
145664
147574
  }
145665
147575
  },
145666
147576
  "required": [