document-schema 7.16.1 → 7.16.3
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.
- package/README.md +1 -1
- package/dist/{bijection-constructs-DlP29TpB.js → bijection-constructs-CpkTnyq-.js} +4 -4
- package/dist/{bijection-constructs-3By08A5K.cjs → bijection-constructs-k0YIBIt2.cjs} +4 -4
- package/dist/bijection-constructs.cjs +1 -1
- package/dist/bijection-constructs.js +1 -1
- package/dist/bijection-corpus.cjs +1 -1
- package/dist/bijection-corpus.js +1 -1
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.js +2 -2
- package/dist/table-grid.cjs +20 -6
- package/dist/table-grid.d.cts +2 -0
- package/dist/table-grid.d.ts +2 -0
- package/dist/table-grid.js +20 -6
- package/package.json +1 -1
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
package/README.md
CHANGED
|
@@ -520,7 +520,7 @@ None depend on each other for this vocabulary — each depends on `document-sche
|
|
|
520
520
|
|
|
521
521
|
## Build, test, and lint
|
|
522
522
|
|
|
523
|
-
Requires Node.js `>=20` and pnpm
|
|
523
|
+
Requires Node.js `>=20` and pnpm (the version pinned as `packageManager` in `package.json`).
|
|
524
524
|
|
|
525
525
|
```sh
|
|
526
526
|
pnpm install
|
|
@@ -5013,7 +5013,7 @@ function manageArtifactAttachment(attachment) {
|
|
|
5013
5013
|
if (attachment.body != null) attachment.bodyEncoding ??= "base64";
|
|
5014
5014
|
}
|
|
5015
5015
|
//#endregion
|
|
5016
|
-
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.
|
|
5016
|
+
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.4_@ty_661414a52389b87b03e1e02ef3c03293/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js
|
|
5017
5017
|
const NAME_WORKER_STATE = "__vitest_worker__";
|
|
5018
5018
|
function getWorkerState() {
|
|
5019
5019
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -9916,10 +9916,10 @@ function offsetToLineNumber(source, offset) {
|
|
|
9916
9916
|
return line + 1;
|
|
9917
9917
|
}
|
|
9918
9918
|
//#endregion
|
|
9919
|
-
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.
|
|
9919
|
+
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.4_@ty_661414a52389b87b03e1e02ef3c03293/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js
|
|
9920
9920
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
9921
9921
|
//#endregion
|
|
9922
|
-
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.
|
|
9922
|
+
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.4_@ty_661414a52389b87b03e1e02ef3c03293/node_modules/vitest/dist/chunks/rpc.MzXet3jl.js
|
|
9923
9923
|
const RealDate = Date;
|
|
9924
9924
|
let now = null;
|
|
9925
9925
|
var MockDate = class MockDate extends RealDate {
|
|
@@ -10884,7 +10884,7 @@ function raceWith(promise, other) {
|
|
|
10884
10884
|
}))]);
|
|
10885
10885
|
}
|
|
10886
10886
|
//#endregion
|
|
10887
|
-
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.
|
|
10887
|
+
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.4_@ty_661414a52389b87b03e1e02ef3c03293/node_modules/vitest/dist/chunks/test.DNmyFkvJ.js
|
|
10888
10888
|
var fakeTimersSrc = {};
|
|
10889
10889
|
var global$1;
|
|
10890
10890
|
var hasRequiredGlobal;
|
|
@@ -5013,7 +5013,7 @@ function manageArtifactAttachment(attachment) {
|
|
|
5013
5013
|
if (attachment.body != null) attachment.bodyEncoding ??= "base64";
|
|
5014
5014
|
}
|
|
5015
5015
|
//#endregion
|
|
5016
|
-
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.
|
|
5016
|
+
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.4_@ty_661414a52389b87b03e1e02ef3c03293/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js
|
|
5017
5017
|
const NAME_WORKER_STATE = "__vitest_worker__";
|
|
5018
5018
|
function getWorkerState() {
|
|
5019
5019
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -9916,10 +9916,10 @@ function offsetToLineNumber(source, offset) {
|
|
|
9916
9916
|
return line + 1;
|
|
9917
9917
|
}
|
|
9918
9918
|
//#endregion
|
|
9919
|
-
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.
|
|
9919
|
+
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.4_@ty_661414a52389b87b03e1e02ef3c03293/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js
|
|
9920
9920
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
9921
9921
|
//#endregion
|
|
9922
|
-
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.
|
|
9922
|
+
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.4_@ty_661414a52389b87b03e1e02ef3c03293/node_modules/vitest/dist/chunks/rpc.MzXet3jl.js
|
|
9923
9923
|
const RealDate = Date;
|
|
9924
9924
|
let now = null;
|
|
9925
9925
|
var MockDate = class MockDate extends RealDate {
|
|
@@ -10884,7 +10884,7 @@ function raceWith(promise, other) {
|
|
|
10884
10884
|
}))]);
|
|
10885
10885
|
}
|
|
10886
10886
|
//#endregion
|
|
10887
|
-
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.
|
|
10887
|
+
//#region ../../node_modules/.pnpm/vitest@4.1.11_@types+node@26.2.0_@vitest+coverage-v8@4.1.11_jsdom@30.0.1_vite@8.2.4_@ty_661414a52389b87b03e1e02ef3c03293/node_modules/vitest/dist/chunks/test.DNmyFkvJ.js
|
|
10888
10888
|
var fakeTimersSrc = {};
|
|
10889
10889
|
var global$1;
|
|
10890
10890
|
var hasRequiredGlobal;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_bijection_constructs = require("./bijection-constructs-
|
|
2
|
+
const require_bijection_constructs = require("./bijection-constructs-k0YIBIt2.cjs");
|
|
3
3
|
exports.constructCorpus = require_bijection_constructs.constructCorpus;
|
|
4
4
|
exports.runExtentCorpus = require_bijection_constructs.runExtentCorpus;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as runExtentCorpus, t as constructCorpus } from "./bijection-constructs-
|
|
1
|
+
import { n as runExtentCorpus, t as constructCorpus } from "./bijection-constructs-CpkTnyq-.js";
|
|
2
2
|
export { constructCorpus, runExtentCorpus };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_bijection_constructs = require("./bijection-constructs-
|
|
2
|
+
const require_bijection_constructs = require("./bijection-constructs-k0YIBIt2.cjs");
|
|
3
3
|
exports.GALLERY_RESIDUE = require_bijection_constructs.GALLERY_RESIDUE;
|
|
4
4
|
exports.SLIDE_SIZE = require_bijection_constructs.SLIDE_SIZE;
|
|
5
5
|
exports.canon = require_bijection_constructs.canon;
|
package/dist/bijection-corpus.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as canon, c as expectStructurallyEqual, d as shape, f as wordprocessing, i as SLIDE_SIZE, l as normaliseEmbeddedObjects, o as containsGroupWrapper, r as GALLERY_RESIDUE, s as corpus, u as paragraph } from "./bijection-constructs-
|
|
1
|
+
import { a as canon, c as expectStructurallyEqual, d as shape, f as wordprocessing, i as SLIDE_SIZE, l as normaliseEmbeddedObjects, o as containsGroupWrapper, r as GALLERY_RESIDUE, s as corpus, u as paragraph } from "./bijection-constructs-CpkTnyq-.js";
|
|
2
2
|
export { GALLERY_RESIDUE, SLIDE_SIZE, canon, containsGroupWrapper, corpus, expectStructurallyEqual, normaliseEmbeddedObjects, paragraph, shape, wordprocessing };
|
package/dist/schema-io.cjs
CHANGED
|
@@ -7,7 +7,7 @@ const SCHEMA_FILE_NAMES = {
|
|
|
7
7
|
ContentDocument: "content-document.schema.json"
|
|
8
8
|
};
|
|
9
9
|
function schemaUriFor(kind) {
|
|
10
|
-
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
10
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/${SCHEMA_FILE_NAMES[kind]}`;
|
|
11
11
|
}
|
|
12
12
|
const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
|
|
13
13
|
function parseSchemaUri(uri) {
|
|
@@ -105,7 +105,7 @@ function documentFromJson(value) {
|
|
|
105
105
|
if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
|
|
106
106
|
const kind = kindForFileStem(parts.stem);
|
|
107
107
|
if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
|
|
108
|
-
if (majorVersionOf(parts.version) !== majorVersionOf("7.16.
|
|
108
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.16.3")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.16.3");
|
|
109
109
|
switch (kind) {
|
|
110
110
|
case "DocumentTree": return {
|
|
111
111
|
kind,
|
package/dist/schema-io.js
CHANGED
|
@@ -6,7 +6,7 @@ const SCHEMA_FILE_NAMES = {
|
|
|
6
6
|
ContentDocument: "content-document.schema.json"
|
|
7
7
|
};
|
|
8
8
|
function schemaUriFor(kind) {
|
|
9
|
-
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
9
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/${SCHEMA_FILE_NAMES[kind]}`;
|
|
10
10
|
}
|
|
11
11
|
const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
|
|
12
12
|
function parseSchemaUri(uri) {
|
|
@@ -104,7 +104,7 @@ function documentFromJson(value) {
|
|
|
104
104
|
if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
|
|
105
105
|
const kind = kindForFileStem(parts.stem);
|
|
106
106
|
if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
|
|
107
|
-
if (majorVersionOf(parts.version) !== majorVersionOf("7.16.
|
|
107
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.16.3")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.16.3");
|
|
108
108
|
switch (kind) {
|
|
109
109
|
case "DocumentTree": return {
|
|
110
110
|
kind,
|
package/dist/table-grid.cjs
CHANGED
|
@@ -16,18 +16,27 @@ function tableGridColumnCount(table) {
|
|
|
16
16
|
for (const row of table.rows) count = Math.max(count, row.cells.length);
|
|
17
17
|
return count;
|
|
18
18
|
}
|
|
19
|
-
function coveringAnchor(
|
|
20
|
-
|
|
19
|
+
function coveringAnchor(columnAnchors, rowIndex) {
|
|
20
|
+
if (columnAnchors === void 0) return;
|
|
21
|
+
let first = columnAnchors[0];
|
|
22
|
+
while (first !== void 0 && first.rowEnd <= rowIndex) {
|
|
23
|
+
columnAnchors.shift();
|
|
24
|
+
first = columnAnchors[0];
|
|
25
|
+
}
|
|
26
|
+
return first;
|
|
21
27
|
}
|
|
22
28
|
/**
|
|
23
29
|
* Classify every entry of every row as an anchor or as covered, in row-major order, one inner array per table row.
|
|
24
30
|
*
|
|
25
31
|
* This is the walk a consumer runs instead of accumulating spans itself. A writer targeting a format that stores only anchors (HTML's `<td colspan>`, a docx `w:tc` with `w:gridSpan`) keeps the anchors and drops the covered positions; a writer targeting a format that stores covered positions explicitly (ODF, pptx) writes both; a reader checks its own output against it.
|
|
32
|
+
*
|
|
33
|
+
* The work is linear in the table's entries plus the grid positions the anchors' spans cover, not quadratic in the entries: a position asks only about the anchors reaching its own column and row.
|
|
26
34
|
*/
|
|
27
35
|
function walkTableGrid(table) {
|
|
28
|
-
const
|
|
36
|
+
const anchorsByColumn = /* @__PURE__ */ new Map();
|
|
37
|
+
const gridWidth = widestRowLength(table);
|
|
29
38
|
return table.rows.map((row, rowIndex) => row.cells.map((cell, columnIndex) => {
|
|
30
|
-
const anchor = coveringAnchor(
|
|
39
|
+
const anchor = coveringAnchor(anchorsByColumn.get(columnIndex), rowIndex);
|
|
31
40
|
if (anchor !== void 0) return {
|
|
32
41
|
rowIndex,
|
|
33
42
|
columnIndex,
|
|
@@ -35,12 +44,17 @@ function walkTableGrid(table) {
|
|
|
35
44
|
anchorRowIndex: anchor.row,
|
|
36
45
|
anchorColumnIndex: anchor.column
|
|
37
46
|
};
|
|
38
|
-
|
|
47
|
+
const footprint = {
|
|
39
48
|
row: rowIndex,
|
|
40
49
|
column: columnIndex,
|
|
41
50
|
rowEnd: rowIndex + tableCellRowSpan(cell),
|
|
42
51
|
columnEnd: columnIndex + tableCellColumnSpan(cell)
|
|
43
|
-
}
|
|
52
|
+
};
|
|
53
|
+
for (let column = columnIndex; column < Math.min(footprint.columnEnd, gridWidth); column++) {
|
|
54
|
+
const columnAnchors = anchorsByColumn.get(column);
|
|
55
|
+
if (columnAnchors === void 0) anchorsByColumn.set(column, [footprint]);
|
|
56
|
+
else columnAnchors.push(footprint);
|
|
57
|
+
}
|
|
44
58
|
return {
|
|
45
59
|
rowIndex,
|
|
46
60
|
columnIndex,
|
package/dist/table-grid.d.cts
CHANGED
|
@@ -31,6 +31,8 @@ type TableGridPosition = TableGridAnchor | TableGridCovered;
|
|
|
31
31
|
* Classify every entry of every row as an anchor or as covered, in row-major order, one inner array per table row.
|
|
32
32
|
*
|
|
33
33
|
* This is the walk a consumer runs instead of accumulating spans itself. A writer targeting a format that stores only anchors (HTML's `<td colspan>`, a docx `w:tc` with `w:gridSpan`) keeps the anchors and drops the covered positions; a writer targeting a format that stores covered positions explicitly (ODF, pptx) writes both; a reader checks its own output against it.
|
|
34
|
+
*
|
|
35
|
+
* The work is linear in the table's entries plus the grid positions the anchors' spans cover, not quadratic in the entries: a position asks only about the anchors reaching its own column and row.
|
|
34
36
|
*/
|
|
35
37
|
declare function walkTableGrid(table: ContentTable): TableGridPosition[][];
|
|
36
38
|
/**
|
package/dist/table-grid.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ type TableGridPosition = TableGridAnchor | TableGridCovered;
|
|
|
31
31
|
* Classify every entry of every row as an anchor or as covered, in row-major order, one inner array per table row.
|
|
32
32
|
*
|
|
33
33
|
* This is the walk a consumer runs instead of accumulating spans itself. A writer targeting a format that stores only anchors (HTML's `<td colspan>`, a docx `w:tc` with `w:gridSpan`) keeps the anchors and drops the covered positions; a writer targeting a format that stores covered positions explicitly (ODF, pptx) writes both; a reader checks its own output against it.
|
|
34
|
+
*
|
|
35
|
+
* The work is linear in the table's entries plus the grid positions the anchors' spans cover, not quadratic in the entries: a position asks only about the anchors reaching its own column and row.
|
|
34
36
|
*/
|
|
35
37
|
declare function walkTableGrid(table: ContentTable): TableGridPosition[][];
|
|
36
38
|
/**
|
package/dist/table-grid.js
CHANGED
|
@@ -15,18 +15,27 @@ function tableGridColumnCount(table) {
|
|
|
15
15
|
for (const row of table.rows) count = Math.max(count, row.cells.length);
|
|
16
16
|
return count;
|
|
17
17
|
}
|
|
18
|
-
function coveringAnchor(
|
|
19
|
-
|
|
18
|
+
function coveringAnchor(columnAnchors, rowIndex) {
|
|
19
|
+
if (columnAnchors === void 0) return;
|
|
20
|
+
let first = columnAnchors[0];
|
|
21
|
+
while (first !== void 0 && first.rowEnd <= rowIndex) {
|
|
22
|
+
columnAnchors.shift();
|
|
23
|
+
first = columnAnchors[0];
|
|
24
|
+
}
|
|
25
|
+
return first;
|
|
20
26
|
}
|
|
21
27
|
/**
|
|
22
28
|
* Classify every entry of every row as an anchor or as covered, in row-major order, one inner array per table row.
|
|
23
29
|
*
|
|
24
30
|
* This is the walk a consumer runs instead of accumulating spans itself. A writer targeting a format that stores only anchors (HTML's `<td colspan>`, a docx `w:tc` with `w:gridSpan`) keeps the anchors and drops the covered positions; a writer targeting a format that stores covered positions explicitly (ODF, pptx) writes both; a reader checks its own output against it.
|
|
31
|
+
*
|
|
32
|
+
* The work is linear in the table's entries plus the grid positions the anchors' spans cover, not quadratic in the entries: a position asks only about the anchors reaching its own column and row.
|
|
25
33
|
*/
|
|
26
34
|
function walkTableGrid(table) {
|
|
27
|
-
const
|
|
35
|
+
const anchorsByColumn = /* @__PURE__ */ new Map();
|
|
36
|
+
const gridWidth = widestRowLength(table);
|
|
28
37
|
return table.rows.map((row, rowIndex) => row.cells.map((cell, columnIndex) => {
|
|
29
|
-
const anchor = coveringAnchor(
|
|
38
|
+
const anchor = coveringAnchor(anchorsByColumn.get(columnIndex), rowIndex);
|
|
30
39
|
if (anchor !== void 0) return {
|
|
31
40
|
rowIndex,
|
|
32
41
|
columnIndex,
|
|
@@ -34,12 +43,17 @@ function walkTableGrid(table) {
|
|
|
34
43
|
anchorRowIndex: anchor.row,
|
|
35
44
|
anchorColumnIndex: anchor.column
|
|
36
45
|
};
|
|
37
|
-
|
|
46
|
+
const footprint = {
|
|
38
47
|
row: rowIndex,
|
|
39
48
|
column: columnIndex,
|
|
40
49
|
rowEnd: rowIndex + tableCellRowSpan(cell),
|
|
41
50
|
columnEnd: columnIndex + tableCellColumnSpan(cell)
|
|
42
|
-
}
|
|
51
|
+
};
|
|
52
|
+
for (let column = columnIndex; column < Math.min(footprint.columnEnd, gridWidth); column++) {
|
|
53
|
+
const columnAnchors = anchorsByColumn.get(column);
|
|
54
|
+
if (columnAnchors === void 0) anchorsByColumn.set(column, [footprint]);
|
|
55
|
+
else columnAnchors.push(footprint);
|
|
56
|
+
}
|
|
43
57
|
return {
|
|
44
58
|
rowIndex,
|
|
45
59
|
columnIndex,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-schema",
|
|
3
|
-
"version": "7.16.
|
|
3
|
+
"version": "7.16.3",
|
|
4
4
|
"description": "The canonical, format-agnostic content and document-tree schemas shared by ooxml.js, odf.js, documents.js, pdf-codec, and markdown-codec, plus the structural transform between them — no format-specific or I/O behaviour.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/content-document.schema.json",
|
|
4
4
|
"oneOf": [
|
|
5
5
|
{
|
|
6
6
|
"type": "object",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"blocks": {
|
|
134
134
|
"type": "array",
|
|
135
135
|
"items": {
|
|
136
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
136
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
"breakType": {
|
|
@@ -151,19 +151,19 @@
|
|
|
151
151
|
"default": {
|
|
152
152
|
"type": "array",
|
|
153
153
|
"items": {
|
|
154
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
154
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
"even": {
|
|
158
158
|
"type": "array",
|
|
159
159
|
"items": {
|
|
160
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
160
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
163
|
"first": {
|
|
164
164
|
"type": "array",
|
|
165
165
|
"items": {
|
|
166
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
166
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
},
|
|
@@ -175,19 +175,19 @@
|
|
|
175
175
|
"default": {
|
|
176
176
|
"type": "array",
|
|
177
177
|
"items": {
|
|
178
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
178
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
"even": {
|
|
182
182
|
"type": "array",
|
|
183
183
|
"items": {
|
|
184
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
184
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
"first": {
|
|
188
188
|
"type": "array",
|
|
189
189
|
"items": {
|
|
190
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
190
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
},
|
|
@@ -199,19 +199,19 @@
|
|
|
199
199
|
"default": {
|
|
200
200
|
"type": "array",
|
|
201
201
|
"items": {
|
|
202
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
202
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
"even": {
|
|
206
206
|
"type": "array",
|
|
207
207
|
"items": {
|
|
208
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
208
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
209
209
|
}
|
|
210
210
|
},
|
|
211
211
|
"first": {
|
|
212
212
|
"type": "array",
|
|
213
213
|
"items": {
|
|
214
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
214
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
},
|
|
@@ -638,7 +638,7 @@
|
|
|
638
638
|
"blocks": {
|
|
639
639
|
"type": "array",
|
|
640
640
|
"items": {
|
|
641
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
641
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
644
|
},
|
|
@@ -2659,7 +2659,7 @@
|
|
|
2659
2659
|
]
|
|
2660
2660
|
},
|
|
2661
2661
|
"document": {
|
|
2662
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
2662
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/content-document.schema.json"
|
|
2663
2663
|
},
|
|
2664
2664
|
"frame": {
|
|
2665
2665
|
"type": "object",
|
|
@@ -5021,7 +5021,7 @@
|
|
|
5021
5021
|
"blocks": {
|
|
5022
5022
|
"type": "array",
|
|
5023
5023
|
"items": {
|
|
5024
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
5024
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/undefined#/$defs/schema2"
|
|
5025
5025
|
}
|
|
5026
5026
|
}
|
|
5027
5027
|
},
|
|
@@ -8045,7 +8045,7 @@
|
|
|
8045
8045
|
]
|
|
8046
8046
|
},
|
|
8047
8047
|
"document": {
|
|
8048
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
8048
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/content-document.schema.json"
|
|
8049
8049
|
},
|
|
8050
8050
|
"frame": {
|
|
8051
8051
|
"$ref": "#/$defs/Box"
|
|
@@ -10371,7 +10371,7 @@
|
|
|
10371
10371
|
]
|
|
10372
10372
|
},
|
|
10373
10373
|
"document": {
|
|
10374
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
10374
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/content-document.schema.json"
|
|
10375
10375
|
},
|
|
10376
10376
|
"frame": {
|
|
10377
10377
|
"$ref": "#/$defs/Box"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/document-tree.schema.json",
|
|
4
4
|
"oneOf": [
|
|
5
5
|
{
|
|
6
6
|
"type": "object",
|
|
@@ -2011,7 +2011,7 @@
|
|
|
2011
2011
|
]
|
|
2012
2012
|
},
|
|
2013
2013
|
"document": {
|
|
2014
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
2014
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/content-document.schema.json"
|
|
2015
2015
|
},
|
|
2016
2016
|
"frame": {
|
|
2017
2017
|
"$ref": "#/$defs/Box"
|
|
@@ -4337,7 +4337,7 @@
|
|
|
4337
4337
|
]
|
|
4338
4338
|
},
|
|
4339
4339
|
"document": {
|
|
4340
|
-
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.
|
|
4340
|
+
"$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.16.3/schemas/content-document.schema.json"
|
|
4341
4341
|
},
|
|
4342
4342
|
"frame": {
|
|
4343
4343
|
"$ref": "#/$defs/Box"
|