office-open 0.12.0 → 0.12.2

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.
@@ -3,6 +3,23 @@
3
3
  "$ref": "#/definitions/WorkbookOptions",
4
4
  "$schema": "http://json-schema.org/draft-07/schema#",
5
5
  "definitions": {
6
+ "AbsoluteSizeAnchorOptions": {
7
+ "additionalProperties": false,
8
+ "description": "Absolute anchor (cdr:absSizeAnchor): fixed EMU size at the `from` marker.",
9
+ "properties": {
10
+ "extent": {
11
+ "$ref": "#/definitions/UserShapeExtentOptions"
12
+ },
13
+ "from": {
14
+ "$ref": "#/definitions/UserShapeMarkerOptions"
15
+ },
16
+ "object": {
17
+ "$ref": "#/definitions/UserShapeObjectOptions"
18
+ }
19
+ },
20
+ "required": ["from", "extent", "object"],
21
+ "type": "object"
22
+ },
6
23
  "AdjustHandle": {
7
24
  "anyOf": [
8
25
  {
@@ -845,6 +862,33 @@
845
862
  },
846
863
  "type": "object"
847
864
  },
865
+ "BlipFillOptions": {
866
+ "additionalProperties": false,
867
+ "description": "Options for blip fill properties.",
868
+ "properties": {
869
+ "blipEffects": {
870
+ "$ref": "#/definitions/BlipEffectsOptions",
871
+ "description": "Image adjustment effects (brightness, contrast, grayscale, etc.)"
872
+ },
873
+ "dpi": {
874
+ "description": "DPI of the image",
875
+ "type": "number"
876
+ },
877
+ "rotWithShape": {
878
+ "description": "Whether the fill rotates with the shape",
879
+ "type": "boolean"
880
+ },
881
+ "sourceRectangle": {
882
+ "$ref": "#/definitions/SourceRectangleOptions",
883
+ "description": "Source rectangle for cropping"
884
+ },
885
+ "tile": {
886
+ "$ref": "#/definitions/TileOptions",
887
+ "description": "Tile fill mode (if omitted, defaults to stretch)"
888
+ }
889
+ },
890
+ "type": "object"
891
+ },
848
892
  "BlurEffectOptions": {
849
893
  "additionalProperties": false,
850
894
  "description": "Blur effect options.",
@@ -2531,7 +2575,8 @@
2531
2575
  "$ref": "#/definitions/WorksheetChartOptions/properties/upDownBarsGapWidth"
2532
2576
  },
2533
2577
  "userShapes": {
2534
- "$ref": "#/definitions/WorksheetChartOptions/properties/userShapes"
2578
+ "$ref": "#/definitions/ChartUserShapesOptions",
2579
+ "description": "User-drawn shapes layered over the chart (c:userShapes, after printSettings)."
2535
2580
  },
2536
2581
  "varyColors": {
2537
2582
  "$ref": "#/definitions/WorksheetChartOptions/properties/varyColors"
@@ -2620,6 +2665,32 @@
2620
2665
  ],
2621
2666
  "type": "string"
2622
2667
  },
2668
+ "ChartUserShapesOptions": {
2669
+ "additionalProperties": false,
2670
+ "description": "User-drawn shapes layered over a chart: the c:userShapes reference on the chart space plus the companion part body the format compilers register.",
2671
+ "properties": {
2672
+ "anchors": {
2673
+ "description": "Anchored shapes (the cdr:userShapes part body).",
2674
+ "items": {
2675
+ "anyOf": [
2676
+ {
2677
+ "$ref": "#/definitions/RelativeSizeAnchorOptions"
2678
+ },
2679
+ {
2680
+ "$ref": "#/definitions/AbsoluteSizeAnchorOptions"
2681
+ }
2682
+ ]
2683
+ },
2684
+ "type": "array"
2685
+ },
2686
+ "relationshipId": {
2687
+ "description": "Chart-part relationship id of the shapes part. Round-trips verbatim; fresh authoring omits it and the reference defaults to rId1 — set an unused id when the same chart also carries externalData.",
2688
+ "type": "string"
2689
+ }
2690
+ },
2691
+ "required": ["anchors"],
2692
+ "type": "object"
2693
+ },
2623
2694
  "ChartsheetOptions": {
2624
2695
  "additionalProperties": false,
2625
2696
  "description": "A chart sheet (xl/chartsheets/sheetN.xml) — a full-sheet chart with its own view state.",
@@ -4344,9 +4415,66 @@
4344
4415
  },
4345
4416
  "DataLabelsOptions": {
4346
4417
  "additionalProperties": false,
4418
+ "allOf": [
4419
+ {
4420
+ "if": {
4421
+ "properties": {
4422
+ "delete": {
4423
+ "const": true
4424
+ }
4425
+ },
4426
+ "required": ["delete"]
4427
+ },
4428
+ "then": {
4429
+ "not": {
4430
+ "anyOf": [
4431
+ {
4432
+ "required": ["numberFormat"]
4433
+ },
4434
+ {
4435
+ "required": ["shapeProperties"]
4436
+ },
4437
+ {
4438
+ "required": ["textProperties"]
4439
+ },
4440
+ {
4441
+ "required": ["position"]
4442
+ },
4443
+ {
4444
+ "required": ["showLegendKey"]
4445
+ },
4446
+ {
4447
+ "required": ["showVal"]
4448
+ },
4449
+ {
4450
+ "required": ["showCatName"]
4451
+ },
4452
+ {
4453
+ "required": ["showSerName"]
4454
+ },
4455
+ {
4456
+ "required": ["showPercent"]
4457
+ },
4458
+ {
4459
+ "required": ["showBubbleSize"]
4460
+ },
4461
+ {
4462
+ "required": ["separator"]
4463
+ },
4464
+ {
4465
+ "required": ["showLeaderLines"]
4466
+ },
4467
+ {
4468
+ "required": ["leaderLines"]
4469
+ }
4470
+ ]
4471
+ }
4472
+ }
4473
+ }
4474
+ ],
4347
4475
  "properties": {
4348
4476
  "delete": {
4349
- "description": "Labels deleted at the group level (c:delete inside c:dLbls) — Office writes val=\"0\" explicitly to keep labels on; round-trips the attribute.",
4477
+ "description": "Drop every label for this series (c:delete). Choice vs the shared settings below: `true` ignores them all; `false` keeps labels on and emits its element only when no setting is set (round-trip).",
4350
4478
  "type": "boolean"
4351
4479
  },
4352
4480
  "labels": {
@@ -6755,6 +6883,118 @@
6755
6883
  "required": ["spPr"],
6756
6884
  "type": "object"
6757
6885
  },
6886
+ "GroupShapePropertiesOptions": {
6887
+ "additionalProperties": false,
6888
+ "description": "Group shape properties. Field order follows the XSD content model. The transform fields come from {@link GroupTransform2DOptions } (flat x/y/width/height/flip/rotation/childOffset/childExtent); the serializer emits them as a single a:xfrm group transform. The container-only `@bwMode` attribute and the wrapping tag are the caller's responsibility (mirrors shapePropertiesDesc).",
6889
+ "properties": {
6890
+ "childExtentHeight": {
6891
+ "anyOf": [
6892
+ {
6893
+ "type": "number"
6894
+ },
6895
+ {
6896
+ "$ref": "#/definitions/UniversalMeasure"
6897
+ }
6898
+ ]
6899
+ },
6900
+ "childExtentWidth": {
6901
+ "anyOf": [
6902
+ {
6903
+ "type": "number"
6904
+ },
6905
+ {
6906
+ "$ref": "#/definitions/UniversalMeasure"
6907
+ }
6908
+ ]
6909
+ },
6910
+ "childOffsetX": {
6911
+ "anyOf": [
6912
+ {
6913
+ "type": "number"
6914
+ },
6915
+ {
6916
+ "$ref": "#/definitions/UniversalMeasure"
6917
+ }
6918
+ ]
6919
+ },
6920
+ "childOffsetY": {
6921
+ "anyOf": [
6922
+ {
6923
+ "type": "number"
6924
+ },
6925
+ {
6926
+ "$ref": "#/definitions/UniversalMeasure"
6927
+ }
6928
+ ]
6929
+ },
6930
+ "effectDag": {
6931
+ "$ref": "#/definitions/EffectDagOptions"
6932
+ },
6933
+ "effects": {
6934
+ "$ref": "#/definitions/EffectListOptions",
6935
+ "description": "EG_EffectProperties (choice: a:effectDag | a:effectLst)."
6936
+ },
6937
+ "fill": {
6938
+ "$ref": "#/definitions/FillOptions",
6939
+ "description": "EG_FillProperties."
6940
+ },
6941
+ "flipHorizontal": {
6942
+ "type": "boolean"
6943
+ },
6944
+ "flipVertical": {
6945
+ "type": "boolean"
6946
+ },
6947
+ "height": {
6948
+ "anyOf": [
6949
+ {
6950
+ "type": "number"
6951
+ },
6952
+ {
6953
+ "$ref": "#/definitions/UniversalMeasure"
6954
+ }
6955
+ ]
6956
+ },
6957
+ "rotation": {
6958
+ "description": "Rotation angle in degrees (e.g., 45 = 45°).",
6959
+ "type": "number"
6960
+ },
6961
+ "scene3d": {
6962
+ "$ref": "#/definitions/Scene3DOptions",
6963
+ "description": "a:scene3d."
6964
+ },
6965
+ "width": {
6966
+ "anyOf": [
6967
+ {
6968
+ "type": "number"
6969
+ },
6970
+ {
6971
+ "$ref": "#/definitions/UniversalMeasure"
6972
+ }
6973
+ ]
6974
+ },
6975
+ "x": {
6976
+ "anyOf": [
6977
+ {
6978
+ "type": "number"
6979
+ },
6980
+ {
6981
+ "$ref": "#/definitions/UniversalMeasure"
6982
+ }
6983
+ ]
6984
+ },
6985
+ "y": {
6986
+ "anyOf": [
6987
+ {
6988
+ "type": "number"
6989
+ },
6990
+ {
6991
+ "$ref": "#/definitions/UniversalMeasure"
6992
+ }
6993
+ ]
6994
+ }
6995
+ },
6996
+ "type": "object"
6997
+ },
6758
6998
  "GroupTransform2DOptions": {
6759
6999
  "additionalProperties": false,
6760
7000
  "properties": {
@@ -7766,7 +8006,7 @@
7766
8006
  "description": "Options for xl/metadata.xml.",
7767
8007
  "properties": {
7768
8008
  "cellMetadata": {
7769
- "description": "Cell metadata blocks (cellMetadata)",
8009
+ "description": "Cell metadata blocks (cellMetadata). Round-trip only — Excel 365 refuses files carrying these fresh, with or without cell references.",
7770
8010
  "items": {
7771
8011
  "$ref": "#/definitions/MetadataBlockOptions"
7772
8012
  },
@@ -7801,7 +8041,7 @@
7801
8041
  "type": "array"
7802
8042
  },
7803
8043
  "valueMetadata": {
7804
- "description": "Value metadata blocks (valueMetadata)",
8044
+ "description": "Value metadata blocks (valueMetadata). Round-trip only — Excel 365 refuses files carrying these fresh, with or without cell references.",
7805
8045
  "items": {
7806
8046
  "$ref": "#/definitions/MetadataBlockOptions"
7807
8047
  },
@@ -7957,6 +8197,34 @@
7957
8197
  "required": ["name", "minSupportedVersion"],
7958
8198
  "type": "object"
7959
8199
  },
8200
+ "NonVisualDrawingPropertiesOptions": {
8201
+ "additionalProperties": false,
8202
+ "description": "Mirrors a: — name/descr/title/hidden. id is runtime; hyperlinks stay package-side.",
8203
+ "properties": {
8204
+ "creationId": {
8205
+ "$ref": "#/definitions/Guid",
8206
+ "description": "a16:creationId `@id` from the cNvPr/docPr extension list — Office's per-object creation stamp, the sole known cNvPr ext content."
8207
+ },
8208
+ "description": {
8209
+ "$ref": "#/definitions/PictureOptions/properties/description"
8210
+ },
8211
+ "ext": {
8212
+ "$ref": "#/definitions/PictureOptions/properties/ext"
8213
+ },
8214
+ "hidden": {
8215
+ "description": "XSD `@hidden` (default false); emitted as \"1\" only when true.",
8216
+ "type": "boolean"
8217
+ },
8218
+ "name": {
8219
+ "$ref": "#/definitions/PictureOptions/properties/name"
8220
+ },
8221
+ "title": {
8222
+ "description": "XSD `@title`.",
8223
+ "type": "string"
8224
+ }
8225
+ },
8226
+ "type": "object"
8227
+ },
7960
8228
  "NormalAutofitOptions": {
7961
8229
  "additionalProperties": false,
7962
8230
  "description": "Normal autofit options.",
@@ -11231,6 +11499,23 @@
11231
11499
  },
11232
11500
  "type": "object"
11233
11501
  },
11502
+ "RelativeSizeAnchorOptions": {
11503
+ "additionalProperties": false,
11504
+ "description": "Relative anchor (cdr:relSizeAnchor): the object spans from `from` to `to`.",
11505
+ "properties": {
11506
+ "from": {
11507
+ "$ref": "#/definitions/UserShapeMarkerOptions"
11508
+ },
11509
+ "object": {
11510
+ "$ref": "#/definitions/UserShapeObjectOptions"
11511
+ },
11512
+ "to": {
11513
+ "$ref": "#/definitions/UserShapeMarkerOptions"
11514
+ }
11515
+ },
11516
+ "required": ["from", "to", "object"],
11517
+ "type": "object"
11518
+ },
11234
11519
  "RevisionAction": {
11235
11520
  "description": "Revision action for comments / custom views.",
11236
11521
  "enum": ["add", "delete"],
@@ -14123,7 +14408,7 @@
14123
14408
  "description": "Auto-filter (ref shorthand or structured filter columns/sort state)"
14124
14409
  },
14125
14410
  "columns": {
14126
- "description": "Column definitions",
14411
+ "description": "Column definitions. Excel requires one per column spanned by `ref`; missing ones auto-fill with default ColumnN names, extras are dropped.",
14127
14412
  "items": {
14128
14413
  "$ref": "#/definitions/TableColumnOptions"
14129
14414
  },
@@ -15225,6 +15510,62 @@
15225
15510
  ],
15226
15511
  "type": "string"
15227
15512
  },
15513
+ "Transform2DOptions": {
15514
+ "additionalProperties": false,
15515
+ "properties": {
15516
+ "flipHorizontal": {
15517
+ "type": "boolean"
15518
+ },
15519
+ "flipVertical": {
15520
+ "type": "boolean"
15521
+ },
15522
+ "height": {
15523
+ "anyOf": [
15524
+ {
15525
+ "type": "number"
15526
+ },
15527
+ {
15528
+ "$ref": "#/definitions/UniversalMeasure"
15529
+ }
15530
+ ]
15531
+ },
15532
+ "rotation": {
15533
+ "description": "Rotation angle in degrees (e.g., 45 = 45°).",
15534
+ "type": "number"
15535
+ },
15536
+ "width": {
15537
+ "anyOf": [
15538
+ {
15539
+ "type": "number"
15540
+ },
15541
+ {
15542
+ "$ref": "#/definitions/UniversalMeasure"
15543
+ }
15544
+ ]
15545
+ },
15546
+ "x": {
15547
+ "anyOf": [
15548
+ {
15549
+ "type": "number"
15550
+ },
15551
+ {
15552
+ "$ref": "#/definitions/UniversalMeasure"
15553
+ }
15554
+ ]
15555
+ },
15556
+ "y": {
15557
+ "anyOf": [
15558
+ {
15559
+ "type": "number"
15560
+ },
15561
+ {
15562
+ "$ref": "#/definitions/UniversalMeasure"
15563
+ }
15564
+ ]
15565
+ }
15566
+ },
15567
+ "type": "object"
15568
+ },
15228
15569
  "TransformEffectOptions": {
15229
15570
  "additionalProperties": false,
15230
15571
  "description": "Transform effect — scale, skew, translate.",
@@ -15326,6 +15667,252 @@
15326
15667
  "pattern": "^[0-9A-Fa-f]{4}$",
15327
15668
  "type": "string"
15328
15669
  },
15670
+ "UserShapeConnectorOptions": {
15671
+ "additionalProperties": false,
15672
+ "properties": {
15673
+ "id": {
15674
+ "description": "cNvPr drawing id (schema-required)",
15675
+ "type": "number"
15676
+ },
15677
+ "macro": {
15678
+ "description": "Macro reference (`@macro`)",
15679
+ "type": "string"
15680
+ },
15681
+ "nonVisualProperties": {
15682
+ "$ref": "#/definitions/NonVisualDrawingPropertiesOptions"
15683
+ },
15684
+ "published": {
15685
+ "description": "Published as a server-side shape (`@fPublished`, default false)",
15686
+ "type": "boolean"
15687
+ },
15688
+ "shapeProperties": {
15689
+ "$ref": "#/definitions/ShapePropertiesOptions"
15690
+ },
15691
+ "style": {
15692
+ "$ref": "#/definitions/DefaultShapeStyleOptions"
15693
+ },
15694
+ "type": {
15695
+ "const": "connector",
15696
+ "type": "string"
15697
+ }
15698
+ },
15699
+ "required": ["id", "shapeProperties", "type"],
15700
+ "type": "object"
15701
+ },
15702
+ "UserShapeExtentOptions": {
15703
+ "additionalProperties": false,
15704
+ "description": "Anchor extent (a:ext): width/height in EMU.",
15705
+ "properties": {
15706
+ "height": {
15707
+ "type": "number"
15708
+ },
15709
+ "width": {
15710
+ "type": "number"
15711
+ }
15712
+ },
15713
+ "required": ["width", "height"],
15714
+ "type": "object"
15715
+ },
15716
+ "UserShapeGraphicFrameOptions": {
15717
+ "additionalProperties": false,
15718
+ "properties": {
15719
+ "graphic": {
15720
+ "description": "Verbatim a:graphic XML payload. The graphic contents (chart/table references) are package-wired; the part body carries them unchanged.",
15721
+ "type": "string"
15722
+ },
15723
+ "graphicFrameLocks": {
15724
+ "anyOf": [
15725
+ {
15726
+ "$ref": "#/definitions/GraphicFrameLockingOptions"
15727
+ },
15728
+ {
15729
+ "type": "null"
15730
+ }
15731
+ ],
15732
+ "description": "Frame locking flags (cdr:cNvGraphicFramePr)"
15733
+ },
15734
+ "id": {
15735
+ "description": "cNvPr drawing id (schema-required)",
15736
+ "type": "number"
15737
+ },
15738
+ "macro": {
15739
+ "description": "Macro reference (`@macro`)",
15740
+ "type": "string"
15741
+ },
15742
+ "nonVisualProperties": {
15743
+ "$ref": "#/definitions/NonVisualDrawingPropertiesOptions"
15744
+ },
15745
+ "published": {
15746
+ "description": "Published as a server-side shape (`@fPublished`, default false)",
15747
+ "type": "boolean"
15748
+ },
15749
+ "transform": {
15750
+ "$ref": "#/definitions/Transform2DOptions",
15751
+ "description": "Placement transform (cdr:xfrm)"
15752
+ },
15753
+ "type": {
15754
+ "const": "graphicFrame",
15755
+ "type": "string"
15756
+ }
15757
+ },
15758
+ "required": ["graphic", "id", "transform", "type"],
15759
+ "type": "object"
15760
+ },
15761
+ "UserShapeGroupOptions": {
15762
+ "additionalProperties": false,
15763
+ "properties": {
15764
+ "children": {
15765
+ "items": {
15766
+ "$ref": "#/definitions/UserShapeObjectOptions"
15767
+ },
15768
+ "type": "array"
15769
+ },
15770
+ "groupShapeProperties": {
15771
+ "$ref": "#/definitions/GroupShapePropertiesOptions"
15772
+ },
15773
+ "id": {
15774
+ "description": "cNvPr drawing id (schema-required)",
15775
+ "type": "number"
15776
+ },
15777
+ "macro": {
15778
+ "description": "Macro reference (`@macro`)",
15779
+ "type": "string"
15780
+ },
15781
+ "nonVisualProperties": {
15782
+ "$ref": "#/definitions/NonVisualDrawingPropertiesOptions"
15783
+ },
15784
+ "published": {
15785
+ "description": "Published as a server-side shape (`@fPublished`, default false)",
15786
+ "type": "boolean"
15787
+ },
15788
+ "type": {
15789
+ "const": "group",
15790
+ "type": "string"
15791
+ }
15792
+ },
15793
+ "required": ["children", "groupShapeProperties", "id", "type"],
15794
+ "type": "object"
15795
+ },
15796
+ "UserShapeMarkerOptions": {
15797
+ "additionalProperties": false,
15798
+ "description": "Anchor marker: x/y as 0.0–1.0 fractions of the chart area.",
15799
+ "properties": {
15800
+ "x": {
15801
+ "type": "number"
15802
+ },
15803
+ "y": {
15804
+ "type": "number"
15805
+ }
15806
+ },
15807
+ "required": ["x", "y"],
15808
+ "type": "object"
15809
+ },
15810
+ "UserShapeObjectOptions": {
15811
+ "anyOf": [
15812
+ {
15813
+ "$ref": "#/definitions/UserShapeShapeOptions"
15814
+ },
15815
+ {
15816
+ "$ref": "#/definitions/UserShapeConnectorOptions"
15817
+ },
15818
+ {
15819
+ "$ref": "#/definitions/UserShapePictureOptions"
15820
+ },
15821
+ {
15822
+ "$ref": "#/definitions/UserShapeGraphicFrameOptions"
15823
+ },
15824
+ {
15825
+ "$ref": "#/definitions/UserShapeGroupOptions"
15826
+ }
15827
+ ]
15828
+ },
15829
+ "UserShapePictureOptions": {
15830
+ "additionalProperties": false,
15831
+ "properties": {
15832
+ "blipFill": {
15833
+ "$ref": "#/definitions/BlipFillOptions"
15834
+ },
15835
+ "id": {
15836
+ "description": "cNvPr drawing id (schema-required)",
15837
+ "type": "number"
15838
+ },
15839
+ "macro": {
15840
+ "description": "Macro reference (`@macro`)",
15841
+ "type": "string"
15842
+ },
15843
+ "nonVisualProperties": {
15844
+ "$ref": "#/definitions/NonVisualDrawingPropertiesOptions"
15845
+ },
15846
+ "published": {
15847
+ "description": "Published as a server-side shape (`@fPublished`, default false)",
15848
+ "type": "boolean"
15849
+ },
15850
+ "referenceId": {
15851
+ "description": "Image reference key (a:blip r:embed via the relationship placeholder)",
15852
+ "type": "string"
15853
+ },
15854
+ "shapeProperties": {
15855
+ "$ref": "#/definitions/ShapePropertiesOptions"
15856
+ },
15857
+ "style": {
15858
+ "$ref": "#/definitions/DefaultShapeStyleOptions"
15859
+ },
15860
+ "type": {
15861
+ "const": "picture",
15862
+ "type": "string"
15863
+ }
15864
+ },
15865
+ "required": ["id", "referenceId", "shapeProperties", "type"],
15866
+ "type": "object"
15867
+ },
15868
+ "UserShapeShapeOptions": {
15869
+ "additionalProperties": false,
15870
+ "properties": {
15871
+ "id": {
15872
+ "description": "cNvPr drawing id (schema-required)",
15873
+ "type": "number"
15874
+ },
15875
+ "locksText": {
15876
+ "description": "Text locking (`@fLocksText`, default true)",
15877
+ "type": "boolean"
15878
+ },
15879
+ "macro": {
15880
+ "description": "Macro reference (`@macro`)",
15881
+ "type": "string"
15882
+ },
15883
+ "nonVisualProperties": {
15884
+ "$ref": "#/definitions/NonVisualDrawingPropertiesOptions",
15885
+ "description": "cNvPr — id is required by the schema"
15886
+ },
15887
+ "published": {
15888
+ "description": "Published as a server-side shape (`@fPublished`, default false)",
15889
+ "type": "boolean"
15890
+ },
15891
+ "shapeProperties": {
15892
+ "$ref": "#/definitions/ShapePropertiesOptions"
15893
+ },
15894
+ "style": {
15895
+ "$ref": "#/definitions/DefaultShapeStyleOptions"
15896
+ },
15897
+ "textBody": {
15898
+ "$ref": "#/definitions/TextBodyOptions"
15899
+ },
15900
+ "textBox": {
15901
+ "description": "Text-box marker (cdr:cNvSpPr `@txBox`)",
15902
+ "type": "boolean"
15903
+ },
15904
+ "textLink": {
15905
+ "description": "Formula linking the text to a cell (`@textlink`)",
15906
+ "type": "string"
15907
+ },
15908
+ "type": {
15909
+ "const": "shape",
15910
+ "type": "string"
15911
+ }
15912
+ },
15913
+ "required": ["id", "shapeProperties", "type"],
15914
+ "type": "object"
15915
+ },
15329
15916
  "UsersOptions": {
15330
15917
  "additionalProperties": false,
15331
15918
  "description": "Options for xl/users.xml.",
@@ -15820,6 +16407,7 @@
15820
16407
  "type": "array"
15821
16408
  },
15822
16409
  "customWorkbookViews": {
16410
+ "description": "Workbook-level custom view snapshots. Excel requires one entry per sheet-level customSheetViews guid (matched by guid).",
15823
16411
  "items": {
15824
16412
  "$ref": "#/definitions/CustomWorkbookViewOptions"
15825
16413
  },
@@ -16791,8 +17379,8 @@
16791
17379
  "type": "number"
16792
17380
  },
16793
17381
  "userShapes": {
16794
- "description": "User-drawn shapes relationship id (c:userShapes r:id, after printSettings).",
16795
- "type": "string"
17382
+ "$ref": "#/definitions/ChartUserShapesOptions",
17383
+ "description": "User-drawn shapes layered over the chart (c:userShapes, after printSettings)."
16796
17384
  },
16797
17385
  "varyColors": {
16798
17386
  "description": "Vary data-point colors (chart-group-level c:varyColors). Emitted only when set — the corpus is mixed and fresh output stays bare.",
@@ -16892,7 +17480,7 @@
16892
17480
  "type": "array"
16893
17481
  },
16894
17482
  "customSheetViews": {
16895
- "description": "Custom sheet views",
17483
+ "description": "Custom sheet views. Each guid needs a same-guid workbook-level customWorkbookViews entry — Excel refuses orphans.",
16896
17484
  "items": {
16897
17485
  "$ref": "#/definitions/CustomSheetViewOptions"
16898
17486
  },