@rathnasgala2/schemas 2.21.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 (51) hide show
  1. package/README.md +31 -30
  2. package/THIRD_PARTY_LICENSES.json +3 -3
  3. package/diagnostics/diagnostic-map.json +706 -4
  4. package/docs/catalogs/app-components.json +1107 -1
  5. package/docs/catalogs/app-routes.json +444 -1
  6. package/docs/catalogs/schema-inventory.json +5 -5
  7. package/examples/valid/build-input/rules.json +50 -0
  8. package/examples/valid/publication/rules.json +48 -0
  9. package/examples/valid/theme-contract/canonical.json +355 -19
  10. package/examples/valid/theme-contract/default-3.0.json +660 -0
  11. package/examples/valid/theme-contract/rules.json +3456 -552
  12. package/fixtures/boundary/build-input/rules.json +55 -0
  13. package/fixtures/boundary/publication/rules.json +53 -0
  14. package/fixtures/boundary/theme-contract/root.json +355 -19
  15. package/fixtures/boundary/theme-contract/rules.json +4158 -1226
  16. package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  17. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +27 -0
  18. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -0
  19. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +50 -0
  20. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
  21. package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  22. package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +23 -0
  23. package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +9 -0
  24. package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +42 -0
  25. package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
  26. package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +421 -20
  27. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_LONG/cases.json +2 -2
  28. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_SHORT/cases.json +1 -1
  29. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +2155 -296
  30. package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +229 -9
  31. package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +176 -0
  32. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +8812 -1517
  33. package/fixtures/invalid/theme-contract/SCHEMA_STRING_TOO_LONG/cases.json +22 -0
  34. package/fixtures/manifest.json +5543 -161
  35. package/fixtures/s2/manifest.json +1 -1
  36. package/fixtures/s2/theme-contracts-digest-cycle.json +888 -36
  37. package/fixtures/unknown-field/build-input/rules.json +35 -0
  38. package/fixtures/unknown-field/publication/rules.json +35 -0
  39. package/fixtures/unknown-field/theme-contract/root.json +355 -19
  40. package/fixtures/unknown-field/theme-contract/rules.json +637 -22
  41. package/generated/browser/validator-core.mjs +3 -3
  42. package/generated/typescript/contracts/build-input.d.ts +8 -0
  43. package/generated/typescript/contracts/publication.d.ts +12 -0
  44. package/generated/typescript/contracts/theme-contract.d.ts +529 -9
  45. package/openapi/http-catalog.json +40 -2
  46. package/openapi/openapi.yaml +1348 -162
  47. package/package.json +1 -1
  48. package/sbom.cdx.json +23 -23
  49. package/schemas/build-input.schema.json +19 -0
  50. package/schemas/publication.schema.json +21 -0
  51. 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",