@openpresentation/opf 0.36.0 → 0.37.0

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.
Files changed (86) hide show
  1. package/dist/browser.js +19 -19
  2. package/dist/{catalog-refs-BgotJhR5.d.ts → catalog-refs-BeRgtpZS.d.ts} +4 -4
  3. package/dist/{catalog-schemas-BX-VEc5Q.d.ts → catalog-schemas-CwY-3cCP.d.ts} +1 -1
  4. package/dist/{chunk-OFL3WY6F.js → chunk-3A3PNYNP.js} +77 -15
  5. package/dist/{chunk-TJMESSBQ.js → chunk-44IS6ZU2.js} +109 -9
  6. package/dist/{chunk-J7FUSZZ5.js → chunk-4FA4ZABY.js} +6 -6
  7. package/dist/{chunk-F5SY7MSA.js → chunk-56BYOGIF.js} +1 -1
  8. package/dist/{chunk-MS2LPR7F.js → chunk-6WN6PRCI.js} +1 -1
  9. package/dist/{chunk-7JE3XTL7.js → chunk-BHRCWV6B.js} +4 -4
  10. package/dist/{chunk-4FA4AZXY.js → chunk-C5ACMFKB.js} +1392 -808
  11. package/dist/{chunk-2NIID3QD.js → chunk-CYGQY6HH.js} +6 -6
  12. package/dist/{chunk-SER6GJTT.js → chunk-EOMENOKY.js} +23 -6
  13. package/dist/{chunk-O65COLKF.js → chunk-HS2JQ3AO.js} +118 -19
  14. package/dist/chunk-IW4TXMJY.js +646 -0
  15. package/dist/{chunk-6WVPFWPD.js → chunk-JTNCBTEH.js} +4 -4
  16. package/dist/{chunk-3KPTVK77.js → chunk-KANQVJGK.js} +1244 -119
  17. package/dist/{chunk-VDZXNNZF.js → chunk-M4IPCFDV.js} +1 -1
  18. package/dist/{chunk-XRMYP4JD.js → chunk-ORVMHVOS.js} +86 -2
  19. package/dist/{chunk-HHQROUYC.js → chunk-QFT4R2IL.js} +4405 -2808
  20. package/dist/chunk-QQBOI5XI.js +86 -0
  21. package/dist/{chunk-GNKOQ6NA.js → chunk-TIVBO56G.js} +4 -4
  22. package/dist/{chunk-APCNAAA7.js → chunk-VD7WLE3C.js} +2 -2
  23. package/dist/{chunk-AZELWKG2.js → chunk-XJU2X5JM.js} +5 -4
  24. package/dist/chunk-YESKKKVE.js +1 -0
  25. package/dist/{chunk-BPSZ7OWD.js → chunk-YZ4WMB5C.js} +26 -21
  26. package/dist/{composition-CSM7YfBl.d.ts → composition-DiKC371V.d.ts} +707 -134
  27. package/dist/composition.d.ts +3 -3
  28. package/dist/composition.js +1 -1
  29. package/dist/{conversion-CL7ipVGO.d.ts → conversion-DF_HgknQ.d.ts} +6 -6
  30. package/dist/conversion-XIWN7FMW.js +25 -0
  31. package/dist/convert.d.ts +5 -5
  32. package/dist/convert.js +63 -23
  33. package/dist/data.d.ts +41 -3
  34. package/dist/data.js +2 -2
  35. package/dist/{deck-report-DhsB0SUz.d.ts → deck-report-BwgsIRAf.d.ts} +3 -3
  36. package/dist/deck.d.ts +6 -6
  37. package/dist/deck.js +11 -11
  38. package/dist/diff.js +4 -4
  39. package/dist/docs.js +43 -31
  40. package/dist/examples.js +2338 -392
  41. package/dist/font-policy.js +1 -1
  42. package/dist/format.js +2 -2
  43. package/dist/ids.d.ts +17 -4
  44. package/dist/ids.js +4 -4
  45. package/dist/index.d.ts +140 -23
  46. package/dist/index.js +22 -22
  47. package/dist/markdown.d.ts +2 -2
  48. package/dist/markdown.js +8 -8
  49. package/dist/metric-data-B4Q8RFRR.d.ts +382 -0
  50. package/dist/node-engine.d.ts +6 -6
  51. package/dist/node-engine.js +21 -21
  52. package/dist/{pagination-BSqq32xt.d.ts → pagination-C9qnH_n-.d.ts} +5 -5
  53. package/dist/pagination.d.ts +4 -4
  54. package/dist/pagination.js +4 -4
  55. package/dist/patch.js +3 -3
  56. package/dist/precompiled.js +2 -2
  57. package/dist/{presentation-Dx-kZC8Y.d.ts → presentation-DmOhusrX.d.ts} +541 -110
  58. package/dist/schema-engine-ajv.js +1 -1
  59. package/dist/schema-engine-precompiled.js +2 -2
  60. package/dist/schema.d.ts +2 -2
  61. package/dist/schema.js +3 -3
  62. package/dist/schemas.d.ts +46 -2
  63. package/dist/schemas.js +1 -1
  64. package/dist/shape-engine-eager.js +2 -2
  65. package/dist/shape-engine-lazy.js +1 -1
  66. package/dist/{shape-engine-module-N74FCHGY.js → shape-engine-module-YU2XGIQN.js} +2 -2
  67. package/dist/shape-geometry.js +1 -1
  68. package/dist/source.js +10 -10
  69. package/dist/spec/reference/engine-defaults.json +1 -1
  70. package/dist/spec/reference/engine-vocabularies.json +1 -0
  71. package/dist/spec/schemas/font-scheme.schema.json +5 -6
  72. package/dist/spec/schemas/layout.schema.json +5 -4
  73. package/dist/spec/schemas/narrative.schema.json +1 -0
  74. package/dist/spec/schemas/opf.schema.json +661 -98
  75. package/dist/types.d.ts +11 -12
  76. package/dist/{validation-types-bnrso0JL.d.ts → validation-types-CV-ngACL.d.ts} +49 -6
  77. package/dist/validator.d.ts +5 -5
  78. package/dist/validator.js +3 -3
  79. package/dist/yaml.d.ts +2 -2
  80. package/dist/yaml.js +7 -7
  81. package/package.json +5 -5
  82. package/dist/chart-data-B_k-WTex.d.ts +0 -194
  83. package/dist/chunk-6VGLE7C5.js +0 -3983
  84. package/dist/chunk-SEC4IOOS.js +0 -1
  85. package/dist/chunk-WCPDN7AY.js +0 -642
  86. package/dist/conversion-FTGQLJK7.js +0 -25
@@ -1,6 +1,6 @@
1
1
  import { installedSchemaEngine } from './chunk-43JWUIGF.js';
2
2
  import { qualifyBranch } from './chunk-JBARNYFR.js';
3
- import { schemas } from './chunk-3KPTVK77.js';
3
+ import { schemas } from './chunk-KANQVJGK.js';
4
4
  import './chunk-PRXZD2II.js';
5
5
  import Ajv2020 from 'ajv/dist/2020.js';
6
6
  import addFormats from 'ajv-formats';
@@ -1,3 +1,3 @@
1
- export { precompiledMarker, schemaEngine } from './chunk-SEC4IOOS.js';
2
- import './chunk-3KPTVK77.js';
1
+ export { precompiledMarker, schemaEngine } from './chunk-YESKKKVE.js';
2
+ import './chunk-KANQVJGK.js';
3
3
  import './chunk-PRXZD2II.js';
package/dist/schema.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { C as CatalogRecordKind } from './catalog-schemas-BX-VEc5Q.js';
1
+ import { C as CatalogRecordKind } from './catalog-schemas-CwY-3cCP.js';
2
2
  import { SchemaName } from './schemas.js';
3
- import './catalog-refs-BgotJhR5.js';
3
+ import './catalog-refs-BeRgtpZS.js';
4
4
  import './json-BFSdESOE.js';
5
5
 
6
6
  /**
package/dist/schema.js CHANGED
@@ -1,6 +1,6 @@
1
- export { COMMON_KEYS, UNRANKED_PRIORITY, activeSchema, catalogKindAt, createSchemaValue, describeField, listSchemaFields, resolveSchema, schemaAtPath, schemaCatalogKinds, schemaLabel, schemaType, schemaVariants, splitOpfPath } from './chunk-4FA4AZXY.js';
1
+ export { COMMON_KEYS, UNRANKED_PRIORITY, activeSchema, catalogKindAt, createSchemaValue, describeField, listSchemaFields, resolveSchema, schemaAtPath, schemaCatalogKinds, schemaLabel, schemaType, schemaVariants, splitOpfPath } from './chunk-C5ACMFKB.js';
2
2
  import './chunk-JBARNYFR.js';
3
- import './chunk-3KPTVK77.js';
4
- import './chunk-HHQROUYC.js';
3
+ import './chunk-KANQVJGK.js';
4
+ import './chunk-QFT4R2IL.js';
5
5
  import './chunk-BLCDUM7B.js';
6
6
  import './chunk-PRXZD2II.js';
package/dist/schemas.d.ts CHANGED
@@ -36,6 +36,8 @@ declare const presentation: JsonSchemaDocument & {
36
36
  readonly "ListVariable": JsonObject;
37
37
  readonly "BackgroundShortcut": JsonObject;
38
38
  readonly "ImageSource": JsonObject;
39
+ readonly "EmbedUrl": JsonObject;
40
+ readonly "EmbedPayload": JsonObject;
39
41
  readonly "ColorVariant": JsonObject;
40
42
  readonly "Background": JsonObject;
41
43
  readonly "ThemeBackground": JsonObject;
@@ -88,22 +90,42 @@ declare const presentation: JsonSchemaDocument & {
88
90
  readonly "Reference": JsonObject;
89
91
  readonly "FiniteNumber": JsonObject;
90
92
  readonly "Line": JsonObject;
93
+ readonly "ReferenceLineStroke": JsonObject;
91
94
  readonly "ChartReferenceLine": JsonObject;
95
+ readonly "ChartBand": JsonObject;
92
96
  readonly "Chart": JsonObject;
93
97
  readonly "ChartAxisTitles": JsonObject;
94
98
  readonly "ChartHighlight": JsonObject;
95
99
  readonly "ChartDataLabels": JsonObject;
96
100
  readonly "Table": JsonObject;
101
+ readonly "TableColorScale": JsonObject;
102
+ readonly "SchemeColorName": JsonObject;
97
103
  readonly "ChartData": JsonObject;
98
104
  readonly "DataColumn": JsonObject;
99
- readonly "DataSourceRef": JsonObject;
105
+ readonly "DatasetColumn": JsonObject;
106
+ readonly "DataSourceId": JsonObject;
107
+ readonly "DataSource": JsonObject;
108
+ readonly "DataSources": JsonObject;
109
+ readonly "DataSourceChoice": JsonObject;
110
+ readonly "DataQuery": JsonObject;
111
+ readonly "DataRetrieved": JsonObject;
112
+ readonly "DataVersion": JsonObject;
113
+ readonly "DataSha256": JsonObject;
114
+ readonly "DataGenerator": JsonObject;
100
115
  readonly "DatasetId": JsonObject;
101
116
  readonly "DatasetFields": JsonObject;
102
117
  readonly "Datasets": JsonObject;
103
118
  readonly "Dataset": JsonObject;
104
119
  readonly "DatasetRef": JsonObject;
120
+ readonly "DataCondition": JsonObject;
121
+ readonly "DataFilter": JsonObject;
122
+ readonly "DataLink": JsonObject;
123
+ readonly "MetricGauge": JsonObject;
124
+ readonly "MetricData": JsonObject;
125
+ readonly "MetricDelta": JsonObject;
105
126
  readonly "ChartMapping": JsonObject;
106
127
  readonly "ChartDataCell": JsonObject;
128
+ readonly "TableRow": JsonObject;
107
129
  readonly "TableCell": JsonObject;
108
130
  readonly "TableCellValue": JsonObject;
109
131
  readonly "StyledTableCell": JsonObject;
@@ -200,6 +222,8 @@ declare const schemas: {
200
222
  readonly "ListVariable": JsonObject;
201
223
  readonly "BackgroundShortcut": JsonObject;
202
224
  readonly "ImageSource": JsonObject;
225
+ readonly "EmbedUrl": JsonObject;
226
+ readonly "EmbedPayload": JsonObject;
203
227
  readonly "ColorVariant": JsonObject;
204
228
  readonly "Background": JsonObject;
205
229
  readonly "ThemeBackground": JsonObject;
@@ -252,22 +276,42 @@ declare const schemas: {
252
276
  readonly "Reference": JsonObject;
253
277
  readonly "FiniteNumber": JsonObject;
254
278
  readonly "Line": JsonObject;
279
+ readonly "ReferenceLineStroke": JsonObject;
255
280
  readonly "ChartReferenceLine": JsonObject;
281
+ readonly "ChartBand": JsonObject;
256
282
  readonly "Chart": JsonObject;
257
283
  readonly "ChartAxisTitles": JsonObject;
258
284
  readonly "ChartHighlight": JsonObject;
259
285
  readonly "ChartDataLabels": JsonObject;
260
286
  readonly "Table": JsonObject;
287
+ readonly "TableColorScale": JsonObject;
288
+ readonly "SchemeColorName": JsonObject;
261
289
  readonly "ChartData": JsonObject;
262
290
  readonly "DataColumn": JsonObject;
263
- readonly "DataSourceRef": JsonObject;
291
+ readonly "DatasetColumn": JsonObject;
292
+ readonly "DataSourceId": JsonObject;
293
+ readonly "DataSource": JsonObject;
294
+ readonly "DataSources": JsonObject;
295
+ readonly "DataSourceChoice": JsonObject;
296
+ readonly "DataQuery": JsonObject;
297
+ readonly "DataRetrieved": JsonObject;
298
+ readonly "DataVersion": JsonObject;
299
+ readonly "DataSha256": JsonObject;
300
+ readonly "DataGenerator": JsonObject;
264
301
  readonly "DatasetId": JsonObject;
265
302
  readonly "DatasetFields": JsonObject;
266
303
  readonly "Datasets": JsonObject;
267
304
  readonly "Dataset": JsonObject;
268
305
  readonly "DatasetRef": JsonObject;
306
+ readonly "DataCondition": JsonObject;
307
+ readonly "DataFilter": JsonObject;
308
+ readonly "DataLink": JsonObject;
309
+ readonly "MetricGauge": JsonObject;
310
+ readonly "MetricData": JsonObject;
311
+ readonly "MetricDelta": JsonObject;
269
312
  readonly "ChartMapping": JsonObject;
270
313
  readonly "ChartDataCell": JsonObject;
314
+ readonly "TableRow": JsonObject;
271
315
  readonly "TableCell": JsonObject;
272
316
  readonly "TableCellValue": JsonObject;
273
317
  readonly "StyledTableCell": JsonObject;
package/dist/schemas.js CHANGED
@@ -1,2 +1,2 @@
1
- export { audience, chartType, colorScheme, fontScheme, iconSet, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-3KPTVK77.js';
1
+ export { audience, chartType, colorScheme, fontScheme, iconSet, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-KANQVJGK.js';
2
2
  import './chunk-PRXZD2II.js';
@@ -1,5 +1,5 @@
1
- import { shape_engine_module_exports } from './chunk-VDZXNNZF.js';
2
- import './chunk-WCPDN7AY.js';
1
+ import { shape_engine_module_exports } from './chunk-M4IPCFDV.js';
2
+ import './chunk-IW4TXMJY.js';
3
3
  import './chunk-PRXZD2II.js';
4
4
 
5
5
  // src/shape-engine-eager.ts
@@ -5,7 +5,7 @@ var loaded;
5
5
  var loading;
6
6
  var shapeGeometry = () => loaded;
7
7
  function loadShapeGeometry() {
8
- loading ??= import('./shape-engine-module-N74FCHGY.js').then((module) => loaded = module);
8
+ loading ??= import('./shape-engine-module-YU2XGIQN.js').then((module) => loaded = module);
9
9
  return loading;
10
10
  }
11
11
 
@@ -1,3 +1,3 @@
1
- export { sketchPathData, sketchSeed, starOutline } from './chunk-VDZXNNZF.js';
2
- export { PRESET_SHAPES, adjustFromDrawingML, adjustToDrawingML, customGeometry, evaluateGuideFormula, flattenShapePath, isPresetShape, presetAdjustments, presetGeometry } from './chunk-WCPDN7AY.js';
1
+ export { sketchPathData, sketchSeed, starOutline } from './chunk-M4IPCFDV.js';
2
+ export { PRESET_SHAPES, adjustFromDrawingML, adjustToDrawingML, customGeometry, evaluateGuideFormula, flattenShapePath, isPresetShape, presetAdjustments, presetGeometry } from './chunk-IW4TXMJY.js';
3
3
  import './chunk-PRXZD2II.js';
@@ -1,2 +1,2 @@
1
- export { PRESET_SHAPES, adjustFromDrawingML, adjustToDrawingML, customGeometry, evaluateGuideFormula, flattenShapePath, isPresetShape, presetAdjustments, presetGeometry } from './chunk-WCPDN7AY.js';
1
+ export { PRESET_SHAPES, adjustFromDrawingML, adjustToDrawingML, customGeometry, evaluateGuideFormula, flattenShapePath, isPresetShape, presetAdjustments, presetGeometry } from './chunk-IW4TXMJY.js';
2
2
  import './chunk-PRXZD2II.js';
package/dist/source.js CHANGED
@@ -1,14 +1,14 @@
1
- export { explain } from './chunk-TJMESSBQ.js';
2
- import { readMarkdown, frontMatter, splitSegments, isOutline, NOTES, fenceStart, fenceClose, COMMENT } from './chunk-7JE3XTL7.js';
3
- import './chunk-F5SY7MSA.js';
4
- import { splitLines } from './chunk-APCNAAA7.js';
5
- export { analyzeYamlSyntax } from './chunk-APCNAAA7.js';
6
- import './chunk-AZELWKG2.js';
7
- import { rememberByText, SLIDE_OPTION_KEYS, FENCE_KINDS, createLocator, parsePointer } from './chunk-4FA4AZXY.js';
8
- export { BLOCK_AS_VALUES, BLOCK_OPTION_KEYS, FENCE_ATTRIBUTES, FENCE_KINDS, LINE_KEYWORDS, METRIC_KEYS, PATTERN_PHRASES, SLIDE_OPTION_KEYS, SPAN_FLAGS, SPAN_VALUES, analyzeJsonSyntax, applyTextEdits, describeFinding, distance, nearest, segmentsOf as pointerSegments, starterValue } from './chunk-4FA4AZXY.js';
1
+ export { explain } from './chunk-44IS6ZU2.js';
2
+ import { readMarkdown, frontMatter, splitSegments, isOutline, NOTES, fenceStart, fenceClose, COMMENT } from './chunk-BHRCWV6B.js';
3
+ import './chunk-56BYOGIF.js';
4
+ import { splitLines } from './chunk-VD7WLE3C.js';
5
+ export { analyzeYamlSyntax } from './chunk-VD7WLE3C.js';
6
+ import './chunk-XJU2X5JM.js';
7
+ import { rememberByText, SLIDE_OPTION_KEYS, FENCE_KINDS, createLocator, parsePointer } from './chunk-C5ACMFKB.js';
8
+ export { BLOCK_AS_VALUES, BLOCK_OPTION_KEYS, FENCE_ATTRIBUTES, FENCE_KINDS, LINE_KEYWORDS, METRIC_KEYS, PATTERN_PHRASES, SLIDE_OPTION_KEYS, SPAN_FLAGS, SPAN_VALUES, analyzeJsonSyntax, applyTextEdits, describeFinding, distance, nearest, segmentsOf as pointerSegments, starterValue } from './chunk-C5ACMFKB.js';
9
9
  import './chunk-JBARNYFR.js';
10
- import './chunk-3KPTVK77.js';
11
- import './chunk-HHQROUYC.js';
10
+ import './chunk-KANQVJGK.js';
11
+ import './chunk-QFT4R2IL.js';
12
12
  import './chunk-BLCDUM7B.js';
13
13
  import './chunk-PRXZD2II.js';
14
14
  import { findNodeAtOffset, getNodePath, parseTree } from 'jsonc-parser';
@@ -21,7 +21,7 @@
21
21
  "fontScheme": {
22
22
  "major": "Aptos Display",
23
23
  "minor": "Aptos",
24
- "languageFamily": "latin"
24
+ "scriptGroup": "latin"
25
25
  },
26
26
  "chartTypes": ["stacked-column", "stacked-area", "line-with-markers"]
27
27
  }
@@ -7,6 +7,7 @@
7
7
  "area",
8
8
  "bar",
9
9
  "box-and-whisker",
10
+ "bullet",
10
11
  "column",
11
12
  "combo",
12
13
  "doughnut",
@@ -5,6 +5,7 @@
5
5
  "title": "Font Scheme",
6
6
  "description": "Schema for font-scheme records. Each scheme pairs a major (heading) and minor (body) font family in the OOXML majorFont/minorFont sense, scoped to a target app (powerpoint or google-slides) and a language family (Latin, East Asian, or Complex Script). Documents reference a scheme from design.fontScheme (or design.fontScheme.id), from a theme's fontScheme and from a language's fontScheme / googleFontScheme. Role overrides on design.fontScheme (heading, body, accent, code), each a font family name, take precedence over the resolved scheme.\n\nA document references a record as a bare id or 'name:id' and resolves it in its own catalogs groups first, then in the catalog the host registered for the group's source; engines never fetch a catalog. A published record file carries '$schema' and 'id'; the copy a document embeds under catalogs.<group>.<kind>.<id> carries neither (the key is the id) and no 'x-*' display metadata.",
7
7
  "type": "object",
8
+ "additionalProperties": false,
8
9
  "required": [
9
10
  "$schema",
10
11
  "id",
@@ -71,7 +72,7 @@
71
72
  "type": "object",
72
73
  "additionalProperties": false,
73
74
  "minProperties": 1,
74
- "description": "East Asian script fonts. Maps to the OOXML a:ea element of majorFont (major) and minorFont (minor), and to run-level a:ea. When set, they fill the eastAsian slot for every language; when omitted, the slot comes from this scheme's own major/minor when languageFamily is 'ea' and the scheme's languages list is empty or names the presentation language, then from the presentation language's font scheme for East Asian languages, and otherwise from the latin (major/minor) families. A missing 'major' or 'minor' falls back to the other.",
75
+ "description": "East Asian script fonts. Maps to the OOXML a:ea element of majorFont (major) and minorFont (minor), and to run-level a:ea. When set, they fill the eastAsian slot for every language; when omitted, the slot comes from this scheme's own major/minor when scriptGroup is 'eastAsian' and the scheme's languages list is empty or names the presentation language, then from the presentation language's font scheme for East Asian languages, and otherwise from the latin (major/minor) families. A missing 'major' or 'minor' falls back to the other.",
75
76
  "properties": {
76
77
  "major": {
77
78
  "type": "string",
@@ -97,7 +98,7 @@
97
98
  "type": "object",
98
99
  "additionalProperties": false,
99
100
  "minProperties": 1,
100
- "description": "Complex-script fonts (for example Arabic, Hebrew, Indic and Thai). Maps to the OOXML a:cs element of majorFont (major) and minorFont (minor), and to run-level a:cs. When set, they fill the complexScript slot for every language; when omitted, the slot comes from this scheme's own major/minor when languageFamily is 'cs' and the scheme's languages list is empty or names the presentation language, then from the presentation language's font scheme for complex-script languages, and otherwise from the latin (major/minor) families. A missing 'major' or 'minor' falls back to the other.",
101
+ "description": "Complex-script fonts (for example Arabic, Hebrew, Indic and Thai). Maps to the OOXML a:cs element of majorFont (major) and minorFont (minor), and to run-level a:cs. When set, they fill the complexScript slot for every language; when omitted, the slot comes from this scheme's own major/minor when scriptGroup is 'complexScript' and the scheme's languages list is empty or names the presentation language, then from the presentation language's font scheme for complex-script languages, and otherwise from the latin (major/minor) families. A missing 'major' or 'minor' falls back to the other.",
101
102
  "properties": {
102
103
  "major": {
103
104
  "type": "string",
@@ -136,16 +137,14 @@
136
137
  ],
137
138
  "description": "Target application this font pairing is intended for. Metadata for pickers and catalog filters: no engine changes its output by it."
138
139
  },
139
- "languageFamily": {
140
+ "scriptGroup": {
140
141
  "type": "string",
141
142
  "enum": [
142
143
  "latin",
143
- "ea",
144
- "cs",
145
144
  "eastAsian",
146
145
  "complexScript"
147
146
  ],
148
- "description": "Font-language family this scheme is intended for: 'latin' for Latin-script content, 'ea' (or 'eastAsian', the same value) for East Asian scripts, 'cs' (or 'complexScript', the same value) for Complex Scripts. The long names match the 'eastAsian' and 'complexScript' slot keys; the short names match the OOXML a:ea and a:cs elements; core reads both spellings as one value. As the design font scheme, an 'ea'/'eastAsian' or 'cs'/'complexScript' scheme also fills that script slot with its own major/minor families when its languages list is empty or names the presentation language."
147
+ "description": "The script group this scheme is intended for: 'latin' for Latin-script content and every script outside the other two groups (Cyrillic and Greek too), 'eastAsian' for East Asian scripts, 'complexScript' for Complex Scripts (Arabic, Hebrew, Indic, Thai). The names match the 'eastAsian' and 'complexScript' slot keys. As the design font scheme, an 'eastAsian' or 'complexScript' scheme also fills that script slot with its own major/minor families when its languages list is empty or names the presentation language."
149
148
  },
150
149
  "languages": {
151
150
  "type": "array",
@@ -184,7 +184,7 @@
184
184
  },
185
185
  "composition": {
186
186
  "type": "object",
187
- "description": "Only 'gap', 'padding', 'minFontSize' and 'overflow', with their 0.18 meaning. A template's regions replace composition.mode, columns and weights.",
187
+ "description": "Only 'gap', 'padding', 'minFontSizePx' and 'overflow', with their 0.18 meaning. A template's regions replace composition.mode, columns and weights.",
188
188
  "$ref": "#/$defs/Composition"
189
189
  }
190
190
  },
@@ -334,6 +334,7 @@
334
334
  "list",
335
335
  "image",
336
336
  "video",
337
+ "embed",
337
338
  "chart",
338
339
  "table",
339
340
  "code",
@@ -345,7 +346,7 @@
345
346
  "group"
346
347
  ]
347
348
  },
348
- "description": "Content kinds the region takes: the body content kinds, and 'group' for a content group of any content. A region that takes 'image' also takes a shape block. A group is also accepted where every one of its leaf kinds is. Omitted: every body content kind and 'group'.",
349
+ "description": "Content kinds the region takes: the body content kinds, and 'group' for a content group of any content. A region that takes 'image' also takes a shape block, and one that takes 'video' also takes an embed. A group is also accepted where every one of its leaf kinds is. Omitted: every body content kind and 'group'.",
349
350
  "examples": [
350
351
  [
351
352
  "text",
@@ -532,7 +533,7 @@
532
533
  "Composition": {
533
534
  "type": "object",
534
535
  "additionalProperties": false,
535
- "description": "A template's composition: only gap, padding, minFontSize and overflow, with their 0.18 meaning. A slide's composition overrides them; a slide's composition.mode, columns and weights arrange its first primary flowing region.",
536
+ "description": "A template's composition: only gap, padding, minFontSizePx and overflow, with their 0.18 meaning. A slide's composition overrides them; a slide's composition.mode, columns and weights arrange its first primary flowing region.",
536
537
  "properties": {
537
538
  "gap": {
538
539
  "type": "number",
@@ -546,7 +547,7 @@
546
547
  "maximum": 0.2,
547
548
  "description": "Inset as a fraction of the container short edge. Default 0.08 on a slide, 0 inside a group."
548
549
  },
549
- "minFontSize": {
550
+ "minFontSizePx": {
550
551
  "type": "number",
551
552
  "minimum": 8,
552
553
  "maximum": 32,
@@ -162,6 +162,7 @@
162
162
  "list",
163
163
  "image",
164
164
  "video",
165
+ "embed",
165
166
  "chart",
166
167
  "table",
167
168
  "code",