@rathnasgala2/schemas 3.42.0 → 3.44.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 (27) hide show
  1. package/THIRD_PARTY_LICENSES.json +1 -1
  2. package/diagnostics/diagnostic-map.json +52 -22
  3. package/docs/catalogs/app-components.json +969 -59
  4. package/docs/catalogs/app-routes.json +288 -1
  5. package/docs/catalogs/schema-inventory.json +4 -4
  6. package/examples/valid/build-input/rules.json +81 -35
  7. package/fixtures/boundary/build-input/rules.json +107 -61
  8. package/fixtures/boundary/publication/rules.json +14 -14
  9. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +33 -9
  10. package/fixtures/invalid/build-input/SCHEMA_ARRAY_DUPLICATE/cases.json +9 -9
  11. package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +10 -10
  12. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -11
  13. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -0
  14. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +31 -9
  15. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +62 -18
  16. package/fixtures/invalid/publication/SCHEMA_ARRAY_TOO_LONG/cases.json +1 -1
  17. package/fixtures/manifest.json +414 -184
  18. package/fixtures/unknown-field/build-input/rules.json +48 -18
  19. package/generated/browser/validator-core.mjs +3 -3
  20. package/generated/typescript/contracts/build-input.d.ts +24 -17
  21. package/generated/typescript/contracts/publication.d.ts +1 -0
  22. package/openapi/http-catalog.json +340 -2
  23. package/openapi/openapi.yaml +5360 -787
  24. package/package.json +1 -1
  25. package/sbom.cdx.json +23 -23
  26. package/schemas/build-input.schema.json +21 -4
  27. package/schemas/publication.schema.json +3 -2
@@ -141,6 +141,17 @@
141
141
  "instance": null,
142
142
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
143
143
  },
144
+ {
145
+ "caseId": "build-input-invalid-1ae1abc20dd9744b",
146
+ "coveredRuleIds": [
147
+ "build-input:#/$defs/resolvedSharing/properties/reddit/properties/community:type"
148
+ ],
149
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
150
+ "schemaPointer": "#/$defs/resolvedSharing/properties/reddit/properties/community",
151
+ "keyword": "type",
152
+ "instance": null,
153
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
154
+ },
144
155
  {
145
156
  "caseId": "build-input-invalid-1bf78161448af8e1",
146
157
  "coveredRuleIds": ["build-input:#/$defs/contactFormNormalized:type"],
@@ -239,15 +250,6 @@
239
250
  "instance": [],
240
251
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
241
252
  },
242
- {
243
- "caseId": "build-input-invalid-2d233c4f890260ed",
244
- "coveredRuleIds": ["build-input:#/$defs/sharing:type"],
245
- "schemaId": "urn:gala:schema:build-input:2.0.0",
246
- "schemaPointer": "#/$defs/sharing",
247
- "keyword": "type",
248
- "instance": [],
249
- "expectedCodes": ["SCHEMA_TYPE_INVALID"]
250
- },
251
253
  {
252
254
  "caseId": "build-input-invalid-2e8d33870b5be54d",
253
255
  "coveredRuleIds": ["build-input:#/$defs/navigationItem:type"],
@@ -279,15 +281,6 @@
279
281
  "instance": null,
280
282
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
281
283
  },
282
- {
283
- "caseId": "build-input-invalid-31bc04c651995378",
284
- "coveredRuleIds": ["build-input:#/$defs/sharing/properties/targets:type"],
285
- "schemaId": "urn:gala:schema:build-input:2.0.0",
286
- "schemaPointer": "#/$defs/sharing/properties/targets",
287
- "keyword": "type",
288
- "instance": {},
289
- "expectedCodes": ["SCHEMA_TYPE_INVALID"]
290
- },
291
284
  {
292
285
  "caseId": "build-input-invalid-31db49e1ae9063d8",
293
286
  "coveredRuleIds": [
@@ -466,6 +459,15 @@
466
459
  "instance": [],
467
460
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
468
461
  },
462
+ {
463
+ "caseId": "build-input-invalid-5236b4d32c2e65ce",
464
+ "coveredRuleIds": ["build-input:#/$defs/resolvedSharing/properties/x:type"],
465
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
466
+ "schemaPointer": "#/$defs/resolvedSharing/properties/x",
467
+ "keyword": "type",
468
+ "instance": [],
469
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
470
+ },
469
471
  {
470
472
  "caseId": "build-input-invalid-53541a26be376b58",
471
473
  "coveredRuleIds": ["build-input:#/$defs/repositorySnapshot:type"],
@@ -630,6 +632,17 @@
630
632
  "instance": [],
631
633
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
632
634
  },
635
+ {
636
+ "caseId": "build-input-invalid-728816beff1cd370",
637
+ "coveredRuleIds": [
638
+ "build-input:#/$defs/resolvedSharing/properties/reddit:type"
639
+ ],
640
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
641
+ "schemaPointer": "#/$defs/resolvedSharing/properties/reddit",
642
+ "keyword": "type",
643
+ "instance": [],
644
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
645
+ },
633
646
  {
634
647
  "caseId": "build-input-invalid-739473a242bc22a3",
635
648
  "coveredRuleIds": [
@@ -694,6 +707,17 @@
694
707
  "instance": null,
695
708
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
696
709
  },
710
+ {
711
+ "caseId": "build-input-invalid-7fa701bfa1f4a79a",
712
+ "coveredRuleIds": [
713
+ "build-input:#/$defs/resolvedSharing/properties/x/properties/via:type"
714
+ ],
715
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
716
+ "schemaPointer": "#/$defs/resolvedSharing/properties/x/properties/via",
717
+ "keyword": "type",
718
+ "instance": null,
719
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
720
+ },
697
721
  {
698
722
  "caseId": "build-input-invalid-82915b0ca730ad93",
699
723
  "coveredRuleIds": [
@@ -727,6 +751,17 @@
727
751
  "instance": null,
728
752
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
729
753
  },
754
+ {
755
+ "caseId": "build-input-invalid-8823971d19a06801",
756
+ "coveredRuleIds": [
757
+ "build-input:#/$defs/resolvedSharing/properties/targets:type"
758
+ ],
759
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
760
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets",
761
+ "keyword": "type",
762
+ "instance": {},
763
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
764
+ },
730
765
  {
731
766
  "caseId": "build-input-invalid-8d1066df6fec729d",
732
767
  "coveredRuleIds": [
@@ -1186,6 +1221,15 @@
1186
1221
  "instance": [],
1187
1222
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
1188
1223
  },
1224
+ {
1225
+ "caseId": "build-input-invalid-dd11076065216d5f",
1226
+ "coveredRuleIds": ["build-input:#/$defs/resolvedSharing:type"],
1227
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1228
+ "schemaPointer": "#/$defs/resolvedSharing",
1229
+ "keyword": "type",
1230
+ "instance": [],
1231
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
1232
+ },
1189
1233
  {
1190
1234
  "caseId": "build-input-invalid-def733368f2c6da3",
1191
1235
  "coveredRuleIds": [
@@ -10,7 +10,7 @@
10
10
  "recipe": {
11
11
  "kind": "schema-array-count",
12
12
  "schemaPointer": "#/$defs/sharing/properties/targets",
13
- "length": 12
13
+ "length": 13
14
14
  },
15
15
  "expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
16
16
  },