reffy 20.0.13 → 20.0.15
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/LICENSE +21 -21
- package/README.md +151 -151
- package/index.js +29 -29
- package/package.json +5 -5
- package/reffy.js +324 -324
- package/schemas/browserlib/extract-algorithms.json +52 -52
- package/schemas/browserlib/extract-cssdfn.json +108 -108
- package/schemas/browserlib/extract-dfns.json +90 -90
- package/schemas/browserlib/extract-elements.json +17 -17
- package/schemas/browserlib/extract-events.json +31 -31
- package/schemas/browserlib/extract-headings.json +19 -19
- package/schemas/browserlib/extract-ids.json +7 -7
- package/schemas/browserlib/extract-links.json +12 -12
- package/schemas/browserlib/extract-refs.json +12 -12
- package/schemas/common.json +876 -876
- package/schemas/files/extracts/algorithms.json +12 -12
- package/schemas/files/extracts/css.json +16 -16
- package/schemas/files/extracts/dfns.json +12 -12
- package/schemas/files/extracts/elements.json +12 -12
- package/schemas/files/extracts/events.json +12 -12
- package/schemas/files/extracts/headings.json +12 -12
- package/schemas/files/extracts/ids.json +12 -12
- package/schemas/files/extracts/links.json +12 -12
- package/schemas/files/extracts/refs.json +12 -12
- package/schemas/files/index.json +59 -59
- package/schemas/postprocessing/events.json +50 -50
- package/schemas/postprocessing/idlnames-parsed.json +27 -27
- package/schemas/postprocessing/idlnames.json +17 -17
- package/schemas/postprocessing/idlparsed.json +67 -67
- package/src/browserlib/clone-and-clean.mjs +24 -24
- package/src/browserlib/create-outline.mjs +353 -353
- package/src/browserlib/extract-algorithms.mjs +723 -723
- package/src/browserlib/extract-cddl.mjs +125 -125
- package/src/browserlib/extract-dfns.mjs +1093 -1093
- package/src/browserlib/extract-headings.mjs +76 -76
- package/src/browserlib/extract-ids.mjs +28 -28
- package/src/browserlib/extract-links.mjs +45 -45
- package/src/browserlib/extract-references.mjs +308 -308
- package/src/browserlib/extract-webidl.mjs +89 -89
- package/src/browserlib/get-absolute-url.mjs +29 -29
- package/src/browserlib/get-code-elements.mjs +20 -20
- package/src/browserlib/get-generator.mjs +26 -26
- package/src/browserlib/get-lastmodified-date.mjs +13 -13
- package/src/browserlib/get-revision.mjs +12 -12
- package/src/browserlib/get-title.mjs +14 -14
- package/src/browserlib/informative-selector.mjs +24 -24
- package/src/browserlib/map-ids-to-headings.mjs +173 -173
- package/src/browserlib/reffy.json +85 -85
- package/src/browserlib/trim-spaces.mjs +35 -35
- package/src/cli/check-missing-dfns.js +587 -587
- package/src/cli/merge-crawl-results.js +132 -132
- package/src/cli/parse-webidl.js +447 -447
- package/src/lib/css-grammar-parse-tree.schema.json +109 -109
- package/src/lib/css-grammar-parser.js +440 -440
- package/src/lib/fetch.js +51 -51
- package/src/lib/markdown-report.js +360 -360
- package/src/lib/mock-server.js +218 -218
- package/src/lib/post-processor.js +322 -322
- package/src/lib/throttled-queue.js +129 -129
- package/src/postprocessing/annotate-links.js +41 -41
- package/src/postprocessing/csscomplete.js +48 -48
- package/src/postprocessing/idlnames.js +391 -391
- package/src/postprocessing/idlparsed.js +179 -179
- package/src/postprocessing/patch-dfns.js +51 -51
- package/src/specs/missing-css-rules.json +197 -197
- package/src/specs/spec-equivalents.json +149 -149
- package/src/browserlib/extract-editors.mjs~ +0 -14
- package/src/browserlib/extract-events.mjs~ +0 -3
- package/src/browserlib/generate-es-dfn-report.sh~ +0 -4
- package/src/browserlib/get-revision.mjs~ +0 -7
- package/src/cli/csstree-grammar-check.js +0 -28
- package/src/cli/csstree-grammar-check.js~ +0 -10
- package/src/cli/csstree-grammar-parser.js +0 -11
- package/src/cli/csstree-grammar-parser.js~ +0 -1
- package/src/cli/extract-editors.js~ +0 -38
- package/src/cli/process-specs.js~ +0 -28
- package/src/postprocessing/annotate-links.js~ +0 -8
- package/src/postprocessing/events.js~ +0 -245
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/algorithms.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["spec", "algorithms"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
-
"algorithms": { "$ref": "../../browserlib/extract-algorithms.json" }
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/algorithms.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["spec", "algorithms"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
+
"algorithms": { "$ref": "../../browserlib/extract-algorithms.json" }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/css.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["spec", "properties", "atrules", "selectors", "values"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
-
"properties": { "$ref": "../../browserlib/extract-cssdfn.json#/properties/properties" },
|
|
11
|
-
"atrules": { "$ref": "../../browserlib/extract-cssdfn.json#/properties/atrules" },
|
|
12
|
-
"selectors": { "$ref": "../../browserlib/extract-cssdfn.json#/properties/selectors" },
|
|
13
|
-
"values": { "$ref": "../../browserlib/extract-cssdfn.json#/properties/values" },
|
|
14
|
-
"warnings": { "$ref": "../../browserlib/extract-cssdfn.json#/properties/warnings" }
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/css.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["spec", "properties", "atrules", "selectors", "values"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
+
"properties": { "$ref": "../../browserlib/extract-cssdfn.json#/properties/properties" },
|
|
11
|
+
"atrules": { "$ref": "../../browserlib/extract-cssdfn.json#/properties/atrules" },
|
|
12
|
+
"selectors": { "$ref": "../../browserlib/extract-cssdfn.json#/properties/selectors" },
|
|
13
|
+
"values": { "$ref": "../../browserlib/extract-cssdfn.json#/properties/values" },
|
|
14
|
+
"warnings": { "$ref": "../../browserlib/extract-cssdfn.json#/properties/warnings" }
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/dfns.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["spec", "dfns"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
-
"dfns": { "$ref": "../../browserlib/extract-dfns.json" }
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/dfns.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["spec", "dfns"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
+
"dfns": { "$ref": "../../browserlib/extract-dfns.json" }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/elements.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["spec", "elements"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
-
"elements": { "$ref": "../../browserlib/extract-elements.json" }
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/elements.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["spec", "elements"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
+
"elements": { "$ref": "../../browserlib/extract-elements.json" }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/events.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["spec", "events"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
-
"events": { "$ref": "../../browserlib/extract-events.json" }
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/events.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["spec", "events"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
+
"events": { "$ref": "../../browserlib/extract-events.json" }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/headings.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["spec", "headings"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
-
"headings": { "$ref": "../../browserlib/extract-headings.json" }
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/headings.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["spec", "headings"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
+
"headings": { "$ref": "../../browserlib/extract-headings.json" }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/ids.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["spec", "ids"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
-
"ids": { "$ref": "../../browserlib/extract-ids.json" }
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/ids.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["spec", "ids"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
+
"ids": { "$ref": "../../browserlib/extract-ids.json" }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/links.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["spec", "links"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
-
"links": { "$ref": "../../browserlib/extract-links.json" }
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/links.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["spec", "links"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
+
"links": { "$ref": "../../browserlib/extract-links.json" }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/refs.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["spec", "refs"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
-
"refs": { "$ref": "../../browserlib/extract-refs.json" }
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/extracts/refs.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["spec", "refs"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"spec": { "$ref": "../../common.json#/$defs/specInExtract" },
|
|
10
|
+
"refs": { "$ref": "../../browserlib/extract-refs.json" }
|
|
11
|
+
}
|
|
12
|
+
}
|
package/schemas/files/index.json
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/index.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["type", "title", "date", "stats", "crawler", "results"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"type": { "type": "string", "const": "crawl" },
|
|
10
|
-
"title": { "type": "string" },
|
|
11
|
-
"date": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z"
|
|
14
|
-
},
|
|
15
|
-
"crawler": { "type": "string" },
|
|
16
|
-
|
|
17
|
-
"options": { "type": "object" },
|
|
18
|
-
|
|
19
|
-
"stats": {
|
|
20
|
-
"type": "object",
|
|
21
|
-
"additionalProperties": false,
|
|
22
|
-
"required": ["crawled", "errors"],
|
|
23
|
-
"properties": {
|
|
24
|
-
"crawled": {
|
|
25
|
-
"type": "integer"
|
|
26
|
-
},
|
|
27
|
-
"errors": {
|
|
28
|
-
"type": "integer"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
"results": {
|
|
34
|
-
"type": "array",
|
|
35
|
-
"items": {
|
|
36
|
-
"type": "object"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
"post": {
|
|
41
|
-
"type": "array",
|
|
42
|
-
"items": {
|
|
43
|
-
"type": "object",
|
|
44
|
-
"properties": {
|
|
45
|
-
"mod": {
|
|
46
|
-
"type": "string"
|
|
47
|
-
},
|
|
48
|
-
"result": {
|
|
49
|
-
"oneOf": [
|
|
50
|
-
{ "type": "object" },
|
|
51
|
-
{ "type": "array" }
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
"additionalProperties": false
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/files/index.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["type", "title", "date", "stats", "crawler", "results"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"type": { "type": "string", "const": "crawl" },
|
|
10
|
+
"title": { "type": "string" },
|
|
11
|
+
"date": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z"
|
|
14
|
+
},
|
|
15
|
+
"crawler": { "type": "string" },
|
|
16
|
+
|
|
17
|
+
"options": { "type": "object" },
|
|
18
|
+
|
|
19
|
+
"stats": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"required": ["crawled", "errors"],
|
|
23
|
+
"properties": {
|
|
24
|
+
"crawled": {
|
|
25
|
+
"type": "integer"
|
|
26
|
+
},
|
|
27
|
+
"errors": {
|
|
28
|
+
"type": "integer"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
"results": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "object"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
"post": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"properties": {
|
|
45
|
+
"mod": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"result": {
|
|
49
|
+
"oneOf": [
|
|
50
|
+
{ "type": "object" },
|
|
51
|
+
{ "type": "array" }
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/postprocessing/events.json",
|
|
4
|
-
|
|
5
|
-
"type": "array",
|
|
6
|
-
"items": {
|
|
7
|
-
"type": "object",
|
|
8
|
-
"additionalProperties": false,
|
|
9
|
-
"required": ["type", "interface", "targets"],
|
|
10
|
-
"properties": {
|
|
11
|
-
"type": { "type": "string" },
|
|
12
|
-
"interface": { "$ref": "../common.json#/$defs/interface" },
|
|
13
|
-
"targets": {
|
|
14
|
-
"type": "array",
|
|
15
|
-
"items": {
|
|
16
|
-
"type": "object",
|
|
17
|
-
"additionalProperties": false,
|
|
18
|
-
"required": ["target"],
|
|
19
|
-
"properties": {
|
|
20
|
-
"target": { "$ref": "../common.json#/$defs/interface" },
|
|
21
|
-
"bubbles": { "type": "boolean" },
|
|
22
|
-
"bubblingPath": { "$ref": "../common.json#/$defs/interfaces" }
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"href": { "$ref": "../common.json#/$defs/url" },
|
|
27
|
-
"src": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"additionalProperties": false,
|
|
30
|
-
"properties": {
|
|
31
|
-
"format": { "type": "string" },
|
|
32
|
-
"href": { "$ref": "../common.json#/$defs/url" }
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"cancelable": { "type": "boolean" },
|
|
36
|
-
"extendedIn": {
|
|
37
|
-
"type": "array",
|
|
38
|
-
"items": {
|
|
39
|
-
"type": "object",
|
|
40
|
-
"additionalProperties": false,
|
|
41
|
-
"required": ["spec"],
|
|
42
|
-
"properties": {
|
|
43
|
-
"spec": { "$ref": "../common.json#/$defs/shortname" },
|
|
44
|
-
"href": { "$ref": "../common.json#/$defs/url" }
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/postprocessing/events.json",
|
|
4
|
+
|
|
5
|
+
"type": "array",
|
|
6
|
+
"items": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"required": ["type", "interface", "targets"],
|
|
10
|
+
"properties": {
|
|
11
|
+
"type": { "type": "string" },
|
|
12
|
+
"interface": { "$ref": "../common.json#/$defs/interface" },
|
|
13
|
+
"targets": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"additionalProperties": false,
|
|
18
|
+
"required": ["target"],
|
|
19
|
+
"properties": {
|
|
20
|
+
"target": { "$ref": "../common.json#/$defs/interface" },
|
|
21
|
+
"bubbles": { "type": "boolean" },
|
|
22
|
+
"bubblingPath": { "$ref": "../common.json#/$defs/interfaces" }
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"href": { "$ref": "../common.json#/$defs/url" },
|
|
27
|
+
"src": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"additionalProperties": false,
|
|
30
|
+
"properties": {
|
|
31
|
+
"format": { "type": "string" },
|
|
32
|
+
"href": { "$ref": "../common.json#/$defs/url" }
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"cancelable": { "type": "boolean" },
|
|
36
|
+
"extendedIn": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"required": ["spec"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"spec": { "$ref": "../common.json#/$defs/shortname" },
|
|
44
|
+
"href": { "$ref": "../common.json#/$defs/url" }
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/postprocessing/idlnames-parsed.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["name", "type", "defined", "extended", "includes"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"name": { "$ref": "../common.json#/$defs/interface" },
|
|
10
|
-
"type": { "$ref": "../common.json#/$defs/interfacetype" },
|
|
11
|
-
"defined": { "$ref": "../common.json#/$defs/idlFragmentInSpec" },
|
|
12
|
-
"extended": {
|
|
13
|
-
"type": "array",
|
|
14
|
-
"items": { "$ref": "../common.json#/$defs/idlFragmentInSpec" }
|
|
15
|
-
},
|
|
16
|
-
"inheritance": {
|
|
17
|
-
"oneOf": [
|
|
18
|
-
{ "type": "null" },
|
|
19
|
-
{ "$ref": "#" }
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
"includes": {
|
|
23
|
-
"type": "array",
|
|
24
|
-
"items": { "$ref": "#" }
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/postprocessing/idlnames-parsed.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["name", "type", "defined", "extended", "includes"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": { "$ref": "../common.json#/$defs/interface" },
|
|
10
|
+
"type": { "$ref": "../common.json#/$defs/interfacetype" },
|
|
11
|
+
"defined": { "$ref": "../common.json#/$defs/idlFragmentInSpec" },
|
|
12
|
+
"extended": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": { "$ref": "../common.json#/$defs/idlFragmentInSpec" }
|
|
15
|
+
},
|
|
16
|
+
"inheritance": {
|
|
17
|
+
"oneOf": [
|
|
18
|
+
{ "type": "null" },
|
|
19
|
+
{ "$ref": "#" }
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"includes": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": { "$ref": "#" }
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"$id": "https://github.com/w3c/reffy/blob/main/schemas/postprocessing/idlnames.json",
|
|
4
|
-
|
|
5
|
-
"type": "object",
|
|
6
|
-
"propertyNames": { "$ref": "../common.json#/$defs/interface" },
|
|
7
|
-
"additionalProperties": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
"required": ["fragment", "parsed", "type"],
|
|
11
|
-
"properties": {
|
|
12
|
-
"fragment": { "type": "string" },
|
|
13
|
-
"parsed": { "type": "string" },
|
|
14
|
-
"type": { "$ref": "../common.json#/$defs/interfacetype" }
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"$id": "https://github.com/w3c/reffy/blob/main/schemas/postprocessing/idlnames.json",
|
|
4
|
+
|
|
5
|
+
"type": "object",
|
|
6
|
+
"propertyNames": { "$ref": "../common.json#/$defs/interface" },
|
|
7
|
+
"additionalProperties": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"required": ["fragment", "parsed", "type"],
|
|
11
|
+
"properties": {
|
|
12
|
+
"fragment": { "type": "string" },
|
|
13
|
+
"parsed": { "type": "string" },
|
|
14
|
+
"type": { "$ref": "../common.json#/$defs/interfacetype" }
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|