@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.
Files changed (53) hide show
  1. package/THIRD_PARTY_LICENSES.json +1 -1
  2. package/diagnostics/diagnostic-map.json +845 -20
  3. package/docs/catalogs/app-components.json +1766 -2
  4. package/docs/catalogs/app-routes.json +598 -1
  5. package/docs/catalogs/schema-inventory.json +10 -10
  6. package/examples/valid/build-input/rules.json +24 -2
  7. package/examples/valid/template-composition/rules.json +769 -0
  8. package/examples/valid/theme-contract/rules.json +1107 -5
  9. package/fixtures/boundary/build-input/rules.json +24 -2
  10. package/fixtures/boundary/template-composition/rules.json +769 -0
  11. package/fixtures/boundary/theme-contract/rules.json +1107 -5
  12. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -11
  13. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
  14. package/fixtures/invalid/build-input/SCHEMA_UNION_INVALID/cases.json +11 -0
  15. package/fixtures/invalid/template-composition/SCHEMA_CONSTANT_INVALID/cases.json +497 -0
  16. package/fixtures/invalid/template-composition/SCHEMA_ENUM_INVALID/cases.json +83 -0
  17. package/fixtures/invalid/template-composition/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  18. package/fixtures/invalid/template-composition/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +909 -0
  19. package/fixtures/invalid/template-composition/SCHEMA_UNION_INVALID/cases.json +20 -0
  20. package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +120 -0
  21. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +680 -0
  22. package/fixtures/invalid/theme-contract/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
  23. package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +33 -9
  24. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +1383 -3
  25. package/fixtures/invalid/theme-contract/SCHEMA_TYPE_INVALID/cases.json +77 -0
  26. package/fixtures/invalid/theme-contract/SCHEMA_UNION_INVALID/cases.json +18 -0
  27. package/fixtures/invalid/theme-contract/SCHEMA_VERSION_UNSUPPORTED/cases.json +110 -0
  28. package/fixtures/manifest.json +7414 -1089
  29. package/fixtures/s2/manifest.json +1 -1
  30. package/fixtures/unknown-field/build-input/rules.json +5 -1
  31. package/fixtures/unknown-field/template-composition/rules.json +111 -0
  32. package/fixtures/unknown-field/theme-contract/rules.json +276 -1
  33. package/generated/browser/validator-core.mjs +3 -3
  34. package/generated/typescript/contracts/artifact-manifest.d.ts +4 -2
  35. package/generated/typescript/contracts/build-input.d.ts +3 -2
  36. package/generated/typescript/contracts/build-provenance.d.ts +4 -2
  37. package/generated/typescript/contracts/deployment-intent.d.ts +1 -0
  38. package/generated/typescript/contracts/deployment-receipt.d.ts +1 -0
  39. package/generated/typescript/contracts/lock.d.ts +2 -1
  40. package/generated/typescript/contracts/template-composition.d.ts +75 -4
  41. package/generated/typescript/contracts/theme-contract.d.ts +75 -2
  42. package/openapi/http-catalog.json +170 -2
  43. package/openapi/openapi.yaml +2711 -145
  44. package/package.json +1 -1
  45. package/sbom.cdx.json +23 -23
  46. package/schemas/artifact-manifest.schema.json +4 -2
  47. package/schemas/build-input.schema.json +12 -2
  48. package/schemas/build-provenance.schema.json +4 -2
  49. package/schemas/deployment-intent.schema.json +1 -0
  50. package/schemas/deployment-receipt.schema.json +1 -0
  51. package/schemas/lock.schema.json +2 -1
  52. package/schemas/template-composition.schema.json +179 -2
  53. 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
+ ]