@altnovatrail/spec 0.9.16 → 0.10.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.
@@ -1,7 +1,7 @@
1
1
  // Code generated by tools/types from format/schemas; DO NOT EDIT.
2
2
 
3
3
  /**
4
- * The types of the module format, major version 0, generated from the schemas of version 0.3 in
4
+ * The types of the module format, major version 0, generated from the schemas of version 0.4 in
5
5
  * format/schemas by tools/types (R72 and R73 in spec's docs/decisions.md): the same types as the Go
6
6
  * package formatv0, by the same names. The schemas decide what is valid: a type gives the shape of
7
7
  * a value alone, and code that reads a value from elsewhere checks it against its schema first. A
@@ -359,8 +359,9 @@ export type TaskID = LocalID;
359
359
  /**
360
360
  * StatementPart is the type of common.schema.json#/$defs/statement_part.
361
361
  *
362
- * A part of a text that the learner reads — a statement, a solution or an explanation: a paragraph,
363
- * or a picture with what it shows and its size.
362
+ * A part of a text that the learner reads — a statement, a solution, the statement of a worked
363
+ * example, or a paragraph or a picture of an explanation, which the lesson's own explanation_part
364
+ * repeats: a paragraph, or a picture with what it shows and its size.
364
365
  */
365
366
  export interface StatementPart {
366
367
  /**
@@ -368,9 +369,10 @@ export interface StatementPart {
368
369
  */
369
370
  readonly text?: Text;
370
371
  /**
371
- * A picture, by its path from media/.
372
+ * A picture, by its path from media/; in a task, a template's may hold placeholders, and a
373
+ * lesson's holds none.
372
374
  */
373
- readonly picture?: PicturePath;
375
+ readonly picture?: TaskPicturePath;
374
376
  /**
375
377
  * What the picture shows, in words: a screen reader reads it, and it stands in the picture's
376
378
  * place until the picture comes. Empty for a picture that only decorates.
@@ -387,21 +389,13 @@ export interface StatementPart {
387
389
  }
388
390
 
389
391
  /**
390
- * PicturePath is the type of common.schema.json#/$defs/picture_path.
392
+ * TaskPicturePath is the type of common.schema.json#/$defs/task_picture_path.
391
393
  *
392
- * The path of a picture from the module's media/ folder: a media path whose extension is .png, .jpg
393
- * or .webp.
394
+ * The path of a picture of a task's statement or solution: a picture path, and in a template, one
395
+ * whose names MAY hold placeholders of parameters and derived numbers, each after a -, such as
396
+ * pictures/split-{total}-{parts}.png, which every instance replaces with numbers.
394
397
  */
395
- export type PicturePath = MediaPath;
396
-
397
- /**
398
- * MediaPath is the type of common.schema.json#/$defs/media_path.
399
- *
400
- * The path of a media file from the module's media/ folder: names in kebab-case that begin with a
401
- * letter, joined by /, and the extension of the file's format — .png, .jpg, .webp or .mp3. No name
402
- * is one that Windows reserves for a device. pictures/ladder.png.
403
- */
404
- export type MediaPath = string;
398
+ export type TaskPicturePath = string;
405
399
 
406
400
  /**
407
401
  * Canvas is the type of common.schema.json#/$defs/canvas.
@@ -474,6 +468,23 @@ export interface SheetRectangle {
474
468
  */
475
469
  export type LessonID = LocalID;
476
470
 
471
+ /**
472
+ * PicturePath is the type of common.schema.json#/$defs/picture_path.
473
+ *
474
+ * The path of a picture from the module's media/ folder: a media path whose extension is .png, .jpg
475
+ * or .webp.
476
+ */
477
+ export type PicturePath = MediaPath;
478
+
479
+ /**
480
+ * MediaPath is the type of common.schema.json#/$defs/media_path.
481
+ *
482
+ * The path of a media file from the module's media/ folder: names in kebab-case that begin with a
483
+ * letter, joined by /, and the extension of the file's format — .png, .jpg, .webp or .mp3. No name
484
+ * is one that Windows reserves for a device. pictures/ladder.png.
485
+ */
486
+ export type MediaPath = string;
487
+
477
488
  // The types of shared-taxonomy.schema.json.
478
489
 
479
490
  /**
@@ -680,6 +691,12 @@ export interface Step {
680
691
  * What the learner does in the step, in the module's explanation language.
681
692
  */
682
693
  readonly title: Text;
694
+ /**
695
+ * How to go through the step, in the module's explanation language, which the learner's app shows
696
+ * beside its title. Every task of the module goes through the step, so the leak check searches it
697
+ * for the keys of every task.
698
+ */
699
+ readonly description?: Text;
683
700
  /**
684
701
  * What of the task the step gives the learner: givens, the task's givens and unknown, which the
685
702
  * learner ticks; techniques, the task's techniques, which the server gives when the step begins.
@@ -756,6 +773,13 @@ export interface Task {
756
773
  * ticks beside the givens.
757
774
  */
758
775
  readonly unknown?: Text;
776
+ /**
777
+ * The author's question that breaks the task down, in the module's explanation language: what a
778
+ * hint asked for gives before the first wrong answer, with the techniques. Closed, since it hints
779
+ * at how to solve the task more than a technique does; the leak check searches it for the task's
780
+ * keys.
781
+ */
782
+ readonly leading_question?: Text;
759
783
  /**
760
784
  * The skills that the task trains and needs, for each item that names none of its own.
761
785
  */
@@ -883,13 +907,13 @@ export type AnswerSlotBinding = "anywhere" | "sheet" | "zone" | "choice";
883
907
  */
884
908
  export interface Check {
885
909
  /**
886
- * The check kind: a number, a fraction, a choice, a predicate on a whole number, or a rubric,
887
- * which gives feedback and no verdict.
910
+ * The check kind: a number, a fraction, a choice, a time of day in hours and minutes, a predicate
911
+ * on a whole number, or a rubric, which gives feedback and no verdict.
888
912
  */
889
913
  readonly kind: CheckKind;
890
914
  /**
891
915
  * The right answer, as a string: a number for number, a simple fraction for fraction, one of the
892
- * options for choice.
916
+ * options for choice, a time H:MM for time.
893
917
  */
894
918
  readonly key?: string;
895
919
  /**
@@ -909,8 +933,16 @@ export interface Check {
909
933
  */
910
934
  readonly options?: readonly Text[];
911
935
  /**
912
- * Of a number, a fraction or a choice: the wrong values that the author knows, each with the trap
913
- * it shows, compared with the value read as the key is.
936
+ * Of a choice written by hand: what is in notation. options, unless given: the options alone.
937
+ * word: the options, and any other value that is one word of letters, which gets not_yet; the key
938
+ * is one such word, and the other options may be phrases.
939
+ *
940
+ * @defaultValue "options"
941
+ */
942
+ readonly notation?: CheckNotation;
943
+ /**
944
+ * Of a number, a fraction, a choice or a time: the wrong values that the author knows, each with
945
+ * the trap it shows, compared with the value read as the key is.
914
946
  */
915
947
  readonly trap_values?: readonly TrapValue[];
916
948
  /**
@@ -927,10 +959,10 @@ export interface Check {
927
959
  /**
928
960
  * CheckKind is the type of task.schema.json#/$defs/check/properties/kind.
929
961
  *
930
- * The check kind: a number, a fraction, a choice, a predicate on a whole number, or a rubric, which
931
- * gives feedback and no verdict.
962
+ * The check kind: a number, a fraction, a choice, a time of day in hours and minutes, a predicate
963
+ * on a whole number, or a rubric, which gives feedback and no verdict.
932
964
  */
933
- export type CheckKind = "number" | "fraction" | "choice" | "predicate" | "rubric";
965
+ export type CheckKind = "number" | "fraction" | "choice" | "time" | "predicate" | "rubric";
934
966
 
935
967
  /**
936
968
  * CheckForm is the type of task.schema.json#/$defs/check/properties/form.
@@ -940,6 +972,15 @@ export type CheckKind = "number" | "fraction" | "choice" | "predicate" | "rubric
940
972
  */
941
973
  export type CheckForm = "any" | "reduced";
942
974
 
975
+ /**
976
+ * CheckNotation is the type of task.schema.json#/$defs/check/properties/notation.
977
+ *
978
+ * Of a choice written by hand: what is in notation. options, unless given: the options alone. word:
979
+ * the options, and any other value that is one word of letters, which gets not_yet; the key is one
980
+ * such word, and the other options may be phrases.
981
+ */
982
+ export type CheckNotation = "options" | "word";
983
+
943
984
  /**
944
985
  * TrapValue is the type of task.schema.json#/$defs/trap_value.
945
986
  *
@@ -947,7 +988,8 @@ export type CheckForm = "any" | "reduced";
947
988
  */
948
989
  export interface TrapValue {
949
990
  /**
950
- * The wrong value, as the key is written: for a choice, one of its options other than the key.
991
+ * The wrong value, as the key is written: for a choice, one of its options other than the key;
992
+ * for a time, in the notation of a time read, so that 5:60 can show a trap.
951
993
  */
952
994
  readonly value: string;
953
995
  /**
@@ -991,7 +1033,8 @@ export type SheetCheck = Check;
991
1033
  /**
992
1034
  * ChosenCheck is the type of task.schema.json#/$defs/chosen_check.
993
1035
  *
994
- * The check of a choice by tapping: its options are the answer slot's, and the check holds none.
1036
+ * The check of a choice by tapping: its options are the answer slot's, and the check holds none,
1037
+ * nor a notation.
995
1038
  */
996
1039
  export type ChosenCheck = Check;
997
1040
 
@@ -1168,10 +1211,10 @@ export interface Lesson {
1168
1211
  */
1169
1212
  export interface Segment {
1170
1213
  /**
1171
- * An explanation: paragraphs and pictures that the learner reads, in order, in the module's
1172
- * explanation language.
1214
+ * An explanation: paragraphs, pictures and numbered lists that the learner reads, in order, in
1215
+ * the module's explanation language.
1173
1216
  */
1174
- readonly explanation?: readonly StatementPart[];
1217
+ readonly explanation?: readonly ExplanationPart[];
1175
1218
  /**
1176
1219
  * A worked example: an example solved before the learner's eyes, on a handwriting sheet.
1177
1220
  */
@@ -1182,10 +1225,47 @@ export interface Segment {
1182
1225
  readonly task?: TaskID;
1183
1226
  }
1184
1227
 
1228
+ /**
1229
+ * ExplanationPart is the type of lesson.schema.json#/$defs/explanation_part.
1230
+ *
1231
+ * A part of an explanation: a numbered list, or a paragraph or a picture with what it shows and its
1232
+ * size, as a part of a task's statement is; a lesson's picture path holds no placeholder.
1233
+ */
1234
+ export interface ExplanationPart {
1235
+ /**
1236
+ * A paragraph, as plain text.
1237
+ */
1238
+ readonly text?: Text;
1239
+ /**
1240
+ * A picture, by its path from media/: a lesson has no template, so its path holds no placeholder.
1241
+ */
1242
+ readonly picture?: PicturePath;
1243
+ /**
1244
+ * What the picture shows, in words: a screen reader reads it, and it stands in the picture's
1245
+ * place until the picture comes. Empty for a picture that only decorates.
1246
+ */
1247
+ readonly alt?: string;
1248
+ /**
1249
+ * The width the picture is shown at, in CSS px; narrower when the text it stands in is.
1250
+ */
1251
+ readonly width?: number;
1252
+ /**
1253
+ * The height the picture is shown at, in CSS px, in proportion to its width.
1254
+ */
1255
+ readonly height?: number;
1256
+ /**
1257
+ * A numbered list: its texts in order, such as the steps of a method, each a short text that does
1258
+ * not begin with a number of its own, as 1. or 1) does. The learner's app draws the numbers, so
1259
+ * the leak check reads none of them; it searches the texts as it searches the paragraphs.
1260
+ */
1261
+ readonly numbered_list?: readonly Text[];
1262
+ }
1263
+
1185
1264
  /**
1186
1265
  * WorkedExample is the type of lesson.schema.json#/$defs/worked_example.
1187
1266
  *
1188
- * A worked example of a lesson: no task, with no answer slots and no key.
1267
+ * A worked example of a lesson: no task, with no answer slots and no key. On a handwriting sheet
1268
+ * the demo shows pictures on the sheet; on a workbook it fills the boxes of the example's lines.
1189
1269
  */
1190
1270
  export interface WorkedExample {
1191
1271
  /**
@@ -1193,10 +1273,15 @@ export interface WorkedExample {
1193
1273
  */
1194
1274
  readonly statement: readonly StatementPart[];
1195
1275
  /**
1196
- * The sheet that the author's demo is shown on: a handwriting sheet and its grid. The learner
1197
- * does not write on it.
1276
+ * What the author's demo is shown on: a handwriting sheet and its grid, or a workbook, the
1277
+ * example's lines with their boxes. The learner does not write on it.
1198
1278
  */
1199
1279
  readonly canvas: Canvas;
1280
+ /**
1281
+ * On a workbook: the example's lines, each with its boxes and what they hold, laid out on the
1282
+ * page as a task's lines are.
1283
+ */
1284
+ readonly lines?: readonly ExampleLine[];
1200
1285
  /**
1201
1286
  * The author's demo: the parts of how the example is solved, in order, which the learner opens
1202
1287
  * one at a time and may hide.
@@ -1204,11 +1289,43 @@ export interface WorkedExample {
1204
1289
  readonly demo: readonly DemoPart[];
1205
1290
  }
1206
1291
 
1292
+ /**
1293
+ * ExampleLine is the type of lesson.schema.json#/$defs/example_line.
1294
+ *
1295
+ * A line of a worked example on a workbook.
1296
+ */
1297
+ export interface ExampleLine {
1298
+ /**
1299
+ * The pieces of the line, in order, a box among them at least.
1300
+ */
1301
+ readonly line: readonly ExampleLinePart[];
1302
+ }
1303
+
1304
+ /**
1305
+ * ExampleLinePart is the type of lesson.schema.json#/$defs/example_line_part.
1306
+ *
1307
+ * A piece of a line of a worked example: a piece of text, or a box with what the demo writes in it.
1308
+ */
1309
+ export interface ExampleLinePart {
1310
+ /**
1311
+ * A piece of text of the line.
1312
+ */
1313
+ readonly text?: Text;
1314
+ /**
1315
+ * A box of the line.
1316
+ */
1317
+ readonly binding?: string;
1318
+ /**
1319
+ * Of a box: what the demo writes in it when a part fills it.
1320
+ */
1321
+ readonly value?: Text;
1322
+ }
1323
+
1207
1324
  /**
1208
1325
  * DemoPart is the type of lesson.schema.json#/$defs/demo_part.
1209
1326
  *
1210
1327
  * A part of the author's demo: a paragraph; a picture beside the sheet, with what it shows and its
1211
- * size; or a picture on the sheet, with what it shows and its area.
1328
+ * size; a picture on the sheet, with what it shows and its area; or, on a workbook, a box filled.
1212
1329
  */
1213
1330
  export interface DemoPart {
1214
1331
  /**
@@ -1237,6 +1354,26 @@ export interface DemoPart {
1237
1354
  * of the author's demo.
1238
1355
  */
1239
1356
  readonly area?: SheetRectangle;
1357
+ /**
1358
+ * Of a worked example on a workbook: the box that this part of the demo fills with its value.
1359
+ */
1360
+ readonly fill?: DemoFill;
1361
+ }
1362
+
1363
+ /**
1364
+ * DemoFill is the type of lesson.schema.json#/$defs/demo_fill.
1365
+ *
1366
+ * A box of a worked example's lines, by its line and its place in it.
1367
+ */
1368
+ export interface DemoFill {
1369
+ /**
1370
+ * The line, by its place among the example's lines, from 1.
1371
+ */
1372
+ readonly line: number;
1373
+ /**
1374
+ * The box, by its place among the boxes of the line, from 1.
1375
+ */
1376
+ readonly box: number;
1240
1377
  }
1241
1378
 
1242
1379
  // The types of index-vector.schema.json.
@@ -1526,6 +1663,351 @@ export interface PackageVector {
1526
1663
  readonly digest: Digest;
1527
1664
  }
1528
1665
 
1666
+ // The types of page-vector.schema.json.
1667
+
1668
+ /**
1669
+ * PageVector is the type of page-vector.schema.json.
1670
+ *
1671
+ * A test vector of the workbook's page (sections 9 and 14 of the format text): the lines of a
1672
+ * task's items, as the open view holds them, and either the page that the layout makes of them or
1673
+ * the item at whose row it has no room. An implementation lays the page out by format/page.yaml and
1674
+ * gets exactly these.
1675
+ */
1676
+ export interface PageVector {
1677
+ /**
1678
+ * The items of the task, in order.
1679
+ */
1680
+ readonly items: readonly PageLine[];
1681
+ /**
1682
+ * The bottom of the last row of the page.
1683
+ */
1684
+ readonly bottom?: number;
1685
+ /**
1686
+ * The items on the page, in the task's order.
1687
+ */
1688
+ readonly page?: readonly PageItem[];
1689
+ /**
1690
+ * The item, counted from 0, at whose row the page has no room: the layout refuses the page there,
1691
+ * and task.workbook-page with it.
1692
+ */
1693
+ readonly no_room_at?: number;
1694
+ }
1695
+
1696
+ /**
1697
+ * PageLine is the type of page-vector.schema.json#/$defs/page_line.
1698
+ *
1699
+ * An item of a workbook, its line alone.
1700
+ */
1701
+ export interface PageLine {
1702
+ /**
1703
+ * The pieces of the item's line, in order.
1704
+ */
1705
+ readonly line: readonly PageLinePart[];
1706
+ }
1707
+
1708
+ /**
1709
+ * PageLinePart is the type of page-vector.schema.json#/$defs/page_line_part.
1710
+ *
1711
+ * A piece of the line: a piece of text, or a box.
1712
+ */
1713
+ export interface PageLinePart {
1714
+ /**
1715
+ * A piece of text of the line.
1716
+ */
1717
+ readonly text?: string;
1718
+ /**
1719
+ * A box, an answer slot.
1720
+ */
1721
+ readonly binding?: string;
1722
+ }
1723
+
1724
+ /**
1725
+ * PageItem is the type of page-vector.schema.json#/$defs/page_item.
1726
+ *
1727
+ * An item on the page.
1728
+ */
1729
+ export interface PageItem {
1730
+ /**
1731
+ * The item's number, n., right in the column of the numbers on the baseline of its first line.
1732
+ */
1733
+ readonly number: PageText;
1734
+ /**
1735
+ * The item's texts and boxes, in the order they are read.
1736
+ */
1737
+ readonly line: readonly PagePart[];
1738
+ }
1739
+
1740
+ /**
1741
+ * PageText is the type of page-vector.schema.json#/$defs/page_text.
1742
+ *
1743
+ * The item's number, n., right in the column of the numbers on the baseline of its first line.
1744
+ */
1745
+ export interface PageText {
1746
+ /**
1747
+ * The text, its words joined by single spaces.
1748
+ */
1749
+ readonly text: string;
1750
+ /**
1751
+ * Where it starts.
1752
+ */
1753
+ readonly left: number;
1754
+ /**
1755
+ * Its alphabetic baseline.
1756
+ */
1757
+ readonly baseline: number;
1758
+ /**
1759
+ * The width that it is fitted to.
1760
+ */
1761
+ readonly width: number;
1762
+ }
1763
+
1764
+ /**
1765
+ * PagePart is the type of page-vector.schema.json#/$defs/page_part.
1766
+ *
1767
+ * A text of the line on one line of the page, with its place, or a box, with its rectangle.
1768
+ */
1769
+ export interface PagePart {
1770
+ /**
1771
+ * The text, its words joined by single spaces.
1772
+ */
1773
+ readonly text?: string;
1774
+ /**
1775
+ * Where it starts.
1776
+ */
1777
+ readonly left?: number;
1778
+ /**
1779
+ * Its alphabetic baseline.
1780
+ */
1781
+ readonly baseline?: number;
1782
+ /**
1783
+ * The width that it is fitted to.
1784
+ */
1785
+ readonly width?: number;
1786
+ /**
1787
+ * Of a box: its top.
1788
+ */
1789
+ readonly top?: number;
1790
+ /**
1791
+ * Of a box: its height.
1792
+ */
1793
+ readonly height?: number;
1794
+ }
1795
+
1796
+ // The types of page.schema.json.
1797
+
1798
+ /**
1799
+ * Page is the type of page.schema.json.
1800
+ *
1801
+ * The numbers and the table of widths of a workbook's page, format/page.yaml (section 14 of the
1802
+ * format text): canvas lays every page out by them, and task.workbook-page holds every task on a
1803
+ * workbook to them. Units are those of the page, and a width of a character is in whole hundredths
1804
+ * of the type size.
1805
+ */
1806
+ export interface Page {
1807
+ /**
1808
+ * The page, as large as the handwriting sheet.
1809
+ */
1810
+ readonly sheet: PageSheet;
1811
+ /**
1812
+ * The numbers of the layout, in units of the page.
1813
+ */
1814
+ readonly numbers: PageNumbers;
1815
+ /**
1816
+ * The most items that a page holds, 99 at most: the column of their numbers is two digits and a
1817
+ * full stop wide.
1818
+ */
1819
+ readonly most_items: number;
1820
+ /**
1821
+ * The table of widths, in whole hundredths of the type size.
1822
+ */
1823
+ readonly widths: PageWidths;
1824
+ /**
1825
+ * The marks that glue two neighbours of a line together.
1826
+ */
1827
+ readonly joints: PageJoints;
1828
+ }
1829
+
1830
+ /**
1831
+ * PageSheet is the type of page.schema.json#/$defs/page_sheet.
1832
+ *
1833
+ * The page, as large as the handwriting sheet.
1834
+ */
1835
+ export interface PageSheet {
1836
+ /**
1837
+ * The width of the page, in its units.
1838
+ */
1839
+ readonly width: number;
1840
+ /**
1841
+ * The height of the page, in its units.
1842
+ */
1843
+ readonly height: number;
1844
+ }
1845
+
1846
+ /**
1847
+ * PageNumbers is the type of page.schema.json#/$defs/page_numbers.
1848
+ *
1849
+ * The numbers of the layout, in units of the page.
1850
+ */
1851
+ export interface PageNumbers {
1852
+ /**
1853
+ * The type size of the text of a line.
1854
+ */
1855
+ readonly size: number;
1856
+ /**
1857
+ * The width of a box, the same for every box of the task.
1858
+ */
1859
+ readonly box_width: number;
1860
+ /**
1861
+ * The height of a box.
1862
+ */
1863
+ readonly box_height: number;
1864
+ /**
1865
+ * The height of a line of text without a box.
1866
+ */
1867
+ readonly line: number;
1868
+ /**
1869
+ * Between a line with a box and one without, in an item that wraps.
1870
+ */
1871
+ readonly lead: number;
1872
+ /**
1873
+ * Between a box and a word beside it, and between an item's number and its line.
1874
+ */
1875
+ readonly gap: number;
1876
+ /**
1877
+ * Between two boxes side by side, and between two lines with boxes in an item that wraps.
1878
+ */
1879
+ readonly apart: number;
1880
+ /**
1881
+ * Between two rows of items.
1882
+ */
1883
+ readonly items: number;
1884
+ /**
1885
+ * Between the two columns of short items.
1886
+ */
1887
+ readonly gutter: number;
1888
+ /**
1889
+ * The margin of the page on its sides, its top and its bottom.
1890
+ */
1891
+ readonly margin: number;
1892
+ }
1893
+
1894
+ /**
1895
+ * PageWidths is the type of page.schema.json#/$defs/page_widths.
1896
+ *
1897
+ * The table of widths, in whole hundredths of the type size.
1898
+ */
1899
+ export interface PageWidths {
1900
+ /**
1901
+ * The digits, all of one width.
1902
+ */
1903
+ readonly digits: PageWidthClass;
1904
+ /**
1905
+ * The signs of operations and comparisons, all of one width.
1906
+ */
1907
+ readonly signs: PageWidthClass;
1908
+ /**
1909
+ * The space between two words, which the layout sets itself.
1910
+ */
1911
+ readonly space: number;
1912
+ /**
1913
+ * The characters of a width of their own, each class by its width.
1914
+ */
1915
+ readonly characters: readonly PageWidthClass[];
1916
+ /**
1917
+ * The spaces that do not break, each a character of its word.
1918
+ */
1919
+ readonly spaces: readonly PageSpaceWidth[];
1920
+ /**
1921
+ * The code points of no width, each joining the character before it.
1922
+ */
1923
+ readonly zero: readonly string[];
1924
+ /**
1925
+ * The characters of a square's width: Hangul, CJK, the full-width forms and emoji.
1926
+ */
1927
+ readonly wide: PageWide;
1928
+ /**
1929
+ * The white space that a line breaks at: a run of it is one space between two words, and none at
1930
+ * the ends of a piece.
1931
+ */
1932
+ readonly breaks: readonly string[];
1933
+ /**
1934
+ * The width of a character that the table does not know.
1935
+ */
1936
+ readonly unknown: number;
1937
+ /**
1938
+ * The joiner: the code point after it goes with the one before it.
1939
+ */
1940
+ readonly joiner: string;
1941
+ /**
1942
+ * The regional indicators, two of which make a flag, one cluster.
1943
+ */
1944
+ readonly regional_indicators: string;
1945
+ }
1946
+
1947
+ /**
1948
+ * PageWidthClass is the type of page.schema.json#/$defs/page_width_class.
1949
+ *
1950
+ * Characters of one width.
1951
+ */
1952
+ export interface PageWidthClass {
1953
+ /**
1954
+ * The characters of the class.
1955
+ */
1956
+ readonly characters: string;
1957
+ /**
1958
+ * Their width.
1959
+ */
1960
+ readonly width: number;
1961
+ }
1962
+
1963
+ /**
1964
+ * PageSpaceWidth is the type of page.schema.json#/$defs/page_space_width.
1965
+ *
1966
+ * A space that does not break, of its own width.
1967
+ */
1968
+ export interface PageSpaceWidth {
1969
+ /**
1970
+ * The code point of the space, U+ and four to six hexadecimal digits.
1971
+ */
1972
+ readonly code_point: string;
1973
+ /**
1974
+ * Its width.
1975
+ */
1976
+ readonly width: number;
1977
+ }
1978
+
1979
+ /**
1980
+ * PageWide is the type of page.schema.json#/$defs/page_wide.
1981
+ *
1982
+ * The characters of a square's width: Hangul, CJK, the full-width forms and emoji.
1983
+ */
1984
+ export interface PageWide {
1985
+ /**
1986
+ * The width of such a character, a square.
1987
+ */
1988
+ readonly width: number;
1989
+ /**
1990
+ * The ranges of the wide characters.
1991
+ */
1992
+ readonly ranges: readonly string[];
1993
+ }
1994
+
1995
+ /**
1996
+ * PageJoints is the type of page.schema.json#/$defs/page_joints.
1997
+ *
1998
+ * The marks that glue two neighbours of a line together.
1999
+ */
2000
+ export interface PageJoints {
2001
+ /**
2002
+ * The marks that a word glues to the word before it: no space between them, and no break.
2003
+ */
2004
+ readonly closing: string;
2005
+ /**
2006
+ * The marks that glue a word to the word after it, or to a box: no break after them.
2007
+ */
2008
+ readonly opening: string;
2009
+ }
2010
+
1529
2011
  // The types of random-vector.schema.json.
1530
2012
 
1531
2013
  /**