@rathnasgala2/schemas 2.22.0 → 3.0.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 (46) hide show
  1. package/THIRD_PARTY_LICENSES.json +3 -3
  2. package/diagnostics/diagnostic-map.json +706 -4
  3. package/docs/catalogs/schema-inventory.json +4 -4
  4. package/examples/valid/build-input/rules.json +50 -0
  5. package/examples/valid/publication/rules.json +48 -0
  6. package/examples/valid/theme-contract/canonical.json +355 -19
  7. package/examples/valid/theme-contract/default-3.0.json +660 -0
  8. package/examples/valid/theme-contract/rules.json +3456 -552
  9. package/fixtures/boundary/build-input/rules.json +55 -0
  10. package/fixtures/boundary/publication/rules.json +53 -0
  11. package/fixtures/boundary/theme-contract/root.json +355 -19
  12. package/fixtures/boundary/theme-contract/rules.json +4158 -1226
  13. package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  14. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +27 -0
  15. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -0
  16. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +50 -0
  17. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
  18. package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  19. package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +23 -0
  20. package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +9 -0
  21. package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +42 -0
  22. package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
  23. package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +421 -20
  24. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_LONG/cases.json +2 -2
  25. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_SHORT/cases.json +1 -1
  26. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +2155 -296
  27. package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +229 -9
  28. package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +176 -0
  29. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +8812 -1517
  30. package/fixtures/invalid/theme-contract/SCHEMA_STRING_TOO_LONG/cases.json +22 -0
  31. package/fixtures/manifest.json +5543 -161
  32. package/fixtures/s2/manifest.json +1 -1
  33. package/fixtures/s2/theme-contracts-digest-cycle.json +888 -36
  34. package/fixtures/unknown-field/build-input/rules.json +35 -0
  35. package/fixtures/unknown-field/publication/rules.json +35 -0
  36. package/fixtures/unknown-field/theme-contract/root.json +355 -19
  37. package/fixtures/unknown-field/theme-contract/rules.json +637 -22
  38. package/generated/browser/validator-core.mjs +3 -3
  39. package/generated/typescript/contracts/build-input.d.ts +8 -0
  40. package/generated/typescript/contracts/publication.d.ts +12 -0
  41. package/generated/typescript/contracts/theme-contract.d.ts +529 -9
  42. package/package.json +1 -1
  43. package/sbom.cdx.json +23 -23
  44. package/schemas/build-input.schema.json +19 -0
  45. package/schemas/publication.schema.json +21 -0
  46. package/schemas/theme-contract.schema.json +1178 -83
@@ -103,7 +103,7 @@
103
103
  "internalSemanticCoverage": [
104
104
  {
105
105
  "file": "test/t03-theme-composition-semantics.test.js",
106
- "testName": "the five identities and exact 35-token order, types, grammars, and palettes are closed"
106
+ "testName": "the five identities and exact contract-3 token order, types, grammars, and palettes are closed"
107
107
  },
108
108
  {
109
109
  "file": "test/t03-theme-composition-semantics.test.js",