@rathnasgala2/schemas 3.6.0 → 3.8.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.
- package/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +845 -20
- package/docs/catalogs/app-components.json +1766 -2
- package/docs/catalogs/app-routes.json +598 -1
- package/docs/catalogs/schema-inventory.json +10 -10
- package/examples/valid/build-input/rules.json +24 -2
- package/examples/valid/template-composition/rules.json +769 -0
- package/examples/valid/theme-contract/rules.json +1107 -5
- package/fixtures/boundary/build-input/rules.json +24 -2
- package/fixtures/boundary/template-composition/rules.json +769 -0
- package/fixtures/boundary/theme-contract/rules.json +1107 -5
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -11
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_UNION_INVALID/cases.json +11 -0
- package/fixtures/invalid/template-composition/SCHEMA_CONSTANT_INVALID/cases.json +497 -0
- package/fixtures/invalid/template-composition/SCHEMA_ENUM_INVALID/cases.json +83 -0
- package/fixtures/invalid/template-composition/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/template-composition/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +909 -0
- package/fixtures/invalid/template-composition/SCHEMA_UNION_INVALID/cases.json +20 -0
- package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +120 -0
- package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +680 -0
- package/fixtures/invalid/theme-contract/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +33 -9
- package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +1383 -3
- package/fixtures/invalid/theme-contract/SCHEMA_TYPE_INVALID/cases.json +77 -0
- package/fixtures/invalid/theme-contract/SCHEMA_UNION_INVALID/cases.json +18 -0
- package/fixtures/invalid/theme-contract/SCHEMA_VERSION_UNSUPPORTED/cases.json +110 -0
- package/fixtures/manifest.json +7414 -1089
- package/fixtures/s2/manifest.json +1 -1
- package/fixtures/unknown-field/build-input/rules.json +5 -1
- package/fixtures/unknown-field/template-composition/rules.json +111 -0
- package/fixtures/unknown-field/theme-contract/rules.json +276 -1
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/artifact-manifest.d.ts +4 -2
- package/generated/typescript/contracts/build-input.d.ts +3 -2
- package/generated/typescript/contracts/build-provenance.d.ts +4 -2
- package/generated/typescript/contracts/deployment-intent.d.ts +1 -0
- package/generated/typescript/contracts/deployment-receipt.d.ts +1 -0
- package/generated/typescript/contracts/lock.d.ts +2 -1
- package/generated/typescript/contracts/template-composition.d.ts +75 -4
- package/generated/typescript/contracts/theme-contract.d.ts +75 -2
- package/openapi/http-catalog.json +170 -2
- package/openapi/openapi.yaml +2711 -145
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/artifact-manifest.schema.json +4 -2
- package/schemas/build-input.schema.json +12 -2
- package/schemas/build-provenance.schema.json +4 -2
- package/schemas/deployment-intent.schema.json +1 -0
- package/schemas/deployment-receipt.schema.json +1 -0
- package/schemas/lock.schema.json +2 -1
- package/schemas/template-composition.schema.json +179 -2
- package/schemas/theme-contract.schema.json +282 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "template-composition-invalid-0d23d85eec66d590",
|
|
4
|
+
"coveredRuleIds": ["template-composition:#/properties/headerLayout:enum"],
|
|
5
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
6
|
+
"schemaPointer": "#/properties/headerLayout",
|
|
7
|
+
"keyword": "enum",
|
|
8
|
+
"instance": "__invalid_enum__",
|
|
9
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "template-composition-invalid-0dd50d0c278813b9",
|
|
13
|
+
"coveredRuleIds": ["template-composition:#/properties/listingLayout:enum"],
|
|
14
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
15
|
+
"schemaPointer": "#/properties/listingLayout",
|
|
16
|
+
"keyword": "enum",
|
|
17
|
+
"instance": "__invalid_enum__",
|
|
18
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "template-composition-invalid-218c23108b1d7da6",
|
|
22
|
+
"coveredRuleIds": ["template-composition:#/properties/density:enum"],
|
|
23
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
24
|
+
"schemaPointer": "#/properties/density",
|
|
25
|
+
"keyword": "enum",
|
|
26
|
+
"instance": "__invalid_enum__",
|
|
27
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"caseId": "template-composition-invalid-4c8eaf198e46a263",
|
|
31
|
+
"coveredRuleIds": ["template-composition:#/properties/articleLayout:enum"],
|
|
32
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
33
|
+
"schemaPointer": "#/properties/articleLayout",
|
|
34
|
+
"keyword": "enum",
|
|
35
|
+
"instance": "__invalid_enum__",
|
|
36
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"caseId": "template-composition-invalid-621cfeb4c04e94f7",
|
|
40
|
+
"coveredRuleIds": ["template-composition:#/properties/mediaRatio:enum"],
|
|
41
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
42
|
+
"schemaPointer": "#/properties/mediaRatio",
|
|
43
|
+
"keyword": "enum",
|
|
44
|
+
"instance": "__invalid_enum__",
|
|
45
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"caseId": "template-composition-invalid-cbd6a27b8c00af52",
|
|
49
|
+
"coveredRuleIds": ["template-composition:#/properties/authorLayout:enum"],
|
|
50
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
51
|
+
"schemaPointer": "#/properties/authorLayout",
|
|
52
|
+
"keyword": "enum",
|
|
53
|
+
"instance": "__invalid_enum__",
|
|
54
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"caseId": "template-composition-invalid-df499588c7a20fb2",
|
|
58
|
+
"coveredRuleIds": ["template-composition:#/properties/homeLayout:enum"],
|
|
59
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
60
|
+
"schemaPointer": "#/properties/homeLayout",
|
|
61
|
+
"keyword": "enum",
|
|
62
|
+
"instance": "__invalid_enum__",
|
|
63
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"caseId": "template-composition-invalid-f777cadd5a61af84",
|
|
67
|
+
"coveredRuleIds": ["template-composition:#/properties/footerLayout:enum"],
|
|
68
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
69
|
+
"schemaPointer": "#/properties/footerLayout",
|
|
70
|
+
"keyword": "enum",
|
|
71
|
+
"instance": "__invalid_enum__",
|
|
72
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"caseId": "template-composition-invalid-fa4ce52957a76232",
|
|
76
|
+
"coveredRuleIds": ["template-composition:#/properties/profile:enum"],
|
|
77
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
78
|
+
"schemaPointer": "#/properties/profile",
|
|
79
|
+
"keyword": "enum",
|
|
80
|
+
"instance": "__invalid_enum__",
|
|
81
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
82
|
+
}
|
|
83
|
+
]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "template-composition-invalid-7221bd5232e572d2",
|
|
4
|
+
"coveredRuleIds": ["template-composition:#/oneOf/0:not"],
|
|
5
|
+
"schemaId": "urn:gala:schema:template-composition:2.0.0",
|
|
6
|
+
"schemaPointer": "#/oneOf/0",
|
|
7
|
+
"keyword": "not",
|
|
8
|
+
"instance": { "profile": null },
|
|
9
|
+
"expectedCodes": ["SCHEMA_NEGATED_RULE_MATCHED"]
|
|
10
|
+
}
|
|
11
|
+
]
|