@rathnasgala2/schemas 3.16.0 → 3.18.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/README.md +5 -3
  2. package/THIRD_PARTY_LICENSES.json +1 -1
  3. package/catalog-sources/internal-event-actions.json +1 -1
  4. package/diagnostics/diagnostic-map.json +57 -0
  5. package/docs/catalogs/internal-event-actions.json +2 -2
  6. package/docs/catalogs/schema-inventory.json +7 -7
  7. package/examples/valid/adapter-capability/rules.json +12 -0
  8. package/examples/valid/deployment-intent/rules.json +12 -0
  9. package/examples/valid/deployment-observation/rules.json +12 -0
  10. package/examples/valid/deployment-receipt/rules.json +12 -0
  11. package/examples/valid/problem/rules.json +39 -0
  12. package/fixtures/boundary/adapter-capability/rules.json +26 -0
  13. package/fixtures/boundary/deployment-intent/rules.json +26 -0
  14. package/fixtures/boundary/deployment-observation/rules.json +26 -0
  15. package/fixtures/boundary/deployment-receipt/rules.json +26 -0
  16. package/fixtures/boundary/problem/rules.json +81 -0
  17. package/fixtures/invalid/adapter-capability/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  18. package/fixtures/invalid/adapter-capability/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
  19. package/fixtures/invalid/adapter-capability/UTF8_BYTE_LENGTH_INVALID/cases.json +11 -0
  20. package/fixtures/invalid/deployment-intent/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  21. package/fixtures/invalid/deployment-intent/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
  22. package/fixtures/invalid/deployment-intent/UTF8_BYTE_LENGTH_INVALID/cases.json +11 -0
  23. package/fixtures/invalid/deployment-observation/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  24. package/fixtures/invalid/deployment-observation/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
  25. package/fixtures/invalid/deployment-observation/UTF8_BYTE_LENGTH_INVALID/cases.json +11 -0
  26. package/fixtures/invalid/deployment-receipt/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  27. package/fixtures/invalid/deployment-receipt/SCHEMA_STRING_TOO_LONG/cases.json +11 -0
  28. package/fixtures/invalid/deployment-receipt/UTF8_BYTE_LENGTH_INVALID/cases.json +11 -0
  29. package/fixtures/invalid/problem/GRAPHEME_LENGTH_INVALID/cases.json +9 -0
  30. package/fixtures/invalid/problem/SCHEMA_STRING_TOO_LONG/cases.json +27 -0
  31. package/fixtures/invalid/problem/SCHEMA_STRING_TOO_SHORT/cases.json +9 -0
  32. package/fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json +18 -0
  33. package/fixtures/manifest.json +447 -10
  34. package/fixtures/unknown-field/adapter-capability/rules.json +3 -0
  35. package/fixtures/unknown-field/deployment-intent/rules.json +3 -0
  36. package/fixtures/unknown-field/deployment-observation/rules.json +3 -0
  37. package/fixtures/unknown-field/deployment-receipt/rules.json +3 -0
  38. package/fixtures/unknown-field/problem/rules.json +7 -0
  39. package/generated/browser/validator-core.mjs +2 -2
  40. package/generated/typescript/contracts/adapter-capability.d.ts +1 -0
  41. package/generated/typescript/contracts/deployment-intent.d.ts +1 -0
  42. package/generated/typescript/contracts/deployment-observation.d.ts +1 -0
  43. package/generated/typescript/contracts/deployment-receipt.d.ts +1 -0
  44. package/generated/typescript/contracts/problem.d.ts +4 -0
  45. package/openapi/http-catalog.json +16 -3
  46. package/openapi/openapi.yaml +526 -10
  47. package/package.json +1 -1
  48. package/sbom.cdx.json +23 -23
  49. package/schemas/adapter-capability.schema.json +7 -0
  50. package/schemas/deployment-intent.schema.json +7 -0
  51. package/schemas/deployment-observation.schema.json +7 -0
  52. package/schemas/deployment-receipt.schema.json +7 -0
  53. package/schemas/problem.schema.json +21 -0
@@ -246,6 +246,17 @@
246
246
  "recipe": { "kind": "repeat-string", "value": "a", "count": 82 },
247
247
  "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
248
248
  },
249
+ {
250
+ "caseId": "adapter-capability-invalid-db756f3811ab14af",
251
+ "coveredRuleIds": [
252
+ "adapter-capability:#/$defs/destinationIdentity/properties/verificationBaseUrl:maxLength"
253
+ ],
254
+ "schemaId": "urn:gala:schema:adapter-capability:2.0.0",
255
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
256
+ "keyword": "maxLength",
257
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
258
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
259
+ },
249
260
  {
250
261
  "caseId": "adapter-capability-invalid-de141758c902917f",
251
262
  "coveredRuleIds": [
@@ -31,5 +31,16 @@
31
31
  "keyword": "x-gala-utf8ByteLength",
32
32
  "recipe": { "kind": "repeat-string", "value": "a", "count": 8193 },
33
33
  "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
34
+ },
35
+ {
36
+ "caseId": "adapter-capability-invalid-9df25c48ee352666",
37
+ "coveredRuleIds": [
38
+ "adapter-capability:#/$defs/destinationIdentity/properties/verificationBaseUrl:x-gala-utf8ByteLength"
39
+ ],
40
+ "schemaId": "urn:gala:schema:adapter-capability:2.0.0",
41
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
42
+ "keyword": "x-gala-utf8ByteLength",
43
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
44
+ "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
34
45
  }
35
46
  ]
@@ -68,6 +68,17 @@
68
68
  "instance": "",
69
69
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
70
70
  },
71
+ {
72
+ "caseId": "deployment-intent-invalid-7fc7770caca98dff",
73
+ "coveredRuleIds": [
74
+ "deployment-intent:#/$defs/destinationIdentity/properties/verificationBaseUrl:pattern"
75
+ ],
76
+ "schemaId": "urn:gala:schema:deployment-intent:2.0.0",
77
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
78
+ "keyword": "pattern",
79
+ "instance": "",
80
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
81
+ },
71
82
  {
72
83
  "caseId": "deployment-intent-invalid-88d35214044dc965",
73
84
  "coveredRuleIds": [
@@ -8,6 +8,17 @@
8
8
  "recipe": { "kind": "repeat-string", "value": "a", "count": 64 },
9
9
  "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
10
10
  },
11
+ {
12
+ "caseId": "deployment-intent-invalid-0ee01d55f214c985",
13
+ "coveredRuleIds": [
14
+ "deployment-intent:#/$defs/destinationIdentity/properties/verificationBaseUrl:maxLength"
15
+ ],
16
+ "schemaId": "urn:gala:schema:deployment-intent:2.0.0",
17
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
18
+ "keyword": "maxLength",
19
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
20
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
21
+ },
11
22
  {
12
23
  "caseId": "deployment-intent-invalid-2581f62ed5f86298",
13
24
  "coveredRuleIds": [
@@ -21,6 +21,17 @@
21
21
  "recipe": { "kind": "repeat-string", "value": "a", "count": 513 },
22
22
  "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
23
23
  },
24
+ {
25
+ "caseId": "deployment-intent-invalid-79c6046eb032421d",
26
+ "coveredRuleIds": [
27
+ "deployment-intent:#/$defs/destinationIdentity/properties/verificationBaseUrl:x-gala-utf8ByteLength"
28
+ ],
29
+ "schemaId": "urn:gala:schema:deployment-intent:2.0.0",
30
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
31
+ "keyword": "x-gala-utf8ByteLength",
32
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
33
+ "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
34
+ },
24
35
  {
25
36
  "caseId": "deployment-intent-invalid-8729532f06b2641f",
26
37
  "coveredRuleIds": [
@@ -10,6 +10,17 @@
10
10
  "instance": "",
11
11
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
12
12
  },
13
+ {
14
+ "caseId": "deployment-observation-invalid-2752ace48b4c4149",
15
+ "coveredRuleIds": [
16
+ "deployment-observation:#/$defs/destinationIdentity/properties/verificationBaseUrl:pattern"
17
+ ],
18
+ "schemaId": "urn:gala:schema:deployment-observation:2.0.0",
19
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
20
+ "keyword": "pattern",
21
+ "instance": "",
22
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
23
+ },
13
24
  {
14
25
  "caseId": "deployment-observation-invalid-38d1703086368212",
15
26
  "coveredRuleIds": ["deployment-observation:#/$defs/positiveInt64:pattern"],
@@ -52,6 +52,17 @@
52
52
  "recipe": { "kind": "repeat-string", "value": "a", "count": 20 },
53
53
  "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
54
54
  },
55
+ {
56
+ "caseId": "deployment-observation-invalid-9b8ed4ea85ab37fb",
57
+ "coveredRuleIds": [
58
+ "deployment-observation:#/$defs/destinationIdentity/properties/verificationBaseUrl:maxLength"
59
+ ],
60
+ "schemaId": "urn:gala:schema:deployment-observation:2.0.0",
61
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
62
+ "keyword": "maxLength",
63
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
64
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
65
+ },
55
66
  {
56
67
  "caseId": "deployment-observation-invalid-a0656754a0193b3b",
57
68
  "coveredRuleIds": [
@@ -54,6 +54,17 @@
54
54
  "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
55
55
  "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
56
56
  },
57
+ {
58
+ "caseId": "deployment-observation-invalid-9e6cb91335fa8158",
59
+ "coveredRuleIds": [
60
+ "deployment-observation:#/$defs/destinationIdentity/properties/verificationBaseUrl:x-gala-utf8ByteLength"
61
+ ],
62
+ "schemaId": "urn:gala:schema:deployment-observation:2.0.0",
63
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
64
+ "keyword": "x-gala-utf8ByteLength",
65
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
66
+ "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
67
+ },
57
68
  {
58
69
  "caseId": "deployment-observation-invalid-a381dc9396e8466e",
59
70
  "coveredRuleIds": [
@@ -35,6 +35,17 @@
35
35
  "instance": "",
36
36
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
37
37
  },
38
+ {
39
+ "caseId": "deployment-receipt-invalid-20cf5220558948c2",
40
+ "coveredRuleIds": [
41
+ "deployment-receipt:#/$defs/destinationIdentity/properties/verificationBaseUrl:pattern"
42
+ ],
43
+ "schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
44
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
45
+ "keyword": "pattern",
46
+ "instance": "",
47
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
48
+ },
38
49
  {
39
50
  "caseId": "deployment-receipt-invalid-246e5b98b4e26ff5",
40
51
  "coveredRuleIds": [
@@ -41,6 +41,17 @@
41
41
  "recipe": { "kind": "repeat-string", "value": "a", "count": 215 },
42
42
  "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
43
43
  },
44
+ {
45
+ "caseId": "deployment-receipt-invalid-531be9a4505208ef",
46
+ "coveredRuleIds": [
47
+ "deployment-receipt:#/$defs/destinationIdentity/properties/verificationBaseUrl:maxLength"
48
+ ],
49
+ "schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
50
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
51
+ "keyword": "maxLength",
52
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
53
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
54
+ },
44
55
  {
45
56
  "caseId": "deployment-receipt-invalid-53f32f2ff7acbc21",
46
57
  "coveredRuleIds": ["deployment-receipt:#/$defs/verificationUrl:maxLength"],
@@ -75,5 +75,16 @@
75
75
  "keyword": "x-gala-utf8ByteLength",
76
76
  "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
77
77
  "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
78
+ },
79
+ {
80
+ "caseId": "deployment-receipt-invalid-9361a8a7ca8a1b1b",
81
+ "coveredRuleIds": [
82
+ "deployment-receipt:#/$defs/destinationIdentity/properties/verificationBaseUrl:x-gala-utf8ByteLength"
83
+ ],
84
+ "schemaId": "urn:gala:schema:deployment-receipt:2.0.0",
85
+ "schemaPointer": "#/$defs/destinationIdentity/properties/verificationBaseUrl",
86
+ "keyword": "x-gala-utf8ByteLength",
87
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
88
+ "expectedCodes": ["UTF8_BYTE_LENGTH_INVALID"]
78
89
  }
79
90
  ]
@@ -16,5 +16,14 @@
16
16
  "keyword": "x-gala-graphemeLength",
17
17
  "recipe": { "kind": "repeat-string", "value": "a", "count": 501 },
18
18
  "expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
19
+ },
20
+ {
21
+ "caseId": "problem-invalid-e6cf0e13316aced5",
22
+ "coveredRuleIds": ["problem:#/properties/remedy:x-gala-graphemeLength"],
23
+ "schemaId": "urn:gala:schema:problem:2.0.0",
24
+ "schemaPointer": "#/properties/remedy",
25
+ "keyword": "x-gala-graphemeLength",
26
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 501 },
27
+ "expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
19
28
  }
20
29
  ]
@@ -10,6 +10,33 @@
10
10
  "recipe": { "kind": "repeat-string", "value": "a", "count": 513 },
11
11
  "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
12
12
  },
13
+ {
14
+ "caseId": "problem-invalid-3c0ebad3a61a7589",
15
+ "coveredRuleIds": ["problem:#/properties/profileBase:maxLength"],
16
+ "schemaId": "urn:gala:schema:problem:2.0.0",
17
+ "schemaPointer": "#/properties/profileBase",
18
+ "keyword": "maxLength",
19
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
20
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
21
+ },
22
+ {
23
+ "caseId": "problem-invalid-5a364e171f6cb6a1",
24
+ "coveredRuleIds": ["problem:#/properties/expectedBase:maxLength"],
25
+ "schemaId": "urn:gala:schema:problem:2.0.0",
26
+ "schemaPointer": "#/properties/expectedBase",
27
+ "keyword": "maxLength",
28
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 2049 },
29
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
30
+ },
31
+ {
32
+ "caseId": "problem-invalid-d856580c1bf20c65",
33
+ "coveredRuleIds": ["problem:#/properties/domainState:maxLength"],
34
+ "schemaId": "urn:gala:schema:problem:2.0.0",
35
+ "schemaPointer": "#/properties/domainState",
36
+ "keyword": "maxLength",
37
+ "recipe": { "kind": "repeat-string", "value": "a", "count": 81 },
38
+ "expectedCodes": ["SCHEMA_STRING_TOO_LONG"]
39
+ },
13
40
  {
14
41
  "caseId": "problem-invalid-fbd1092416e2570b",
15
42
  "coveredRuleIds": [
@@ -20,5 +20,14 @@
20
20
  "keyword": "minLength",
21
21
  "instance": "",
22
22
  "expectedCodes": ["SCHEMA_STRING_TOO_SHORT"]
23
+ },
24
+ {
25
+ "caseId": "problem-invalid-9623aafee692d2a7",
26
+ "coveredRuleIds": ["problem:#/properties/domainState:minLength"],
27
+ "schemaId": "urn:gala:schema:problem:2.0.0",
28
+ "schemaPointer": "#/properties/domainState",
29
+ "keyword": "minLength",
30
+ "instance": "",
31
+ "expectedCodes": ["SCHEMA_STRING_TOO_SHORT"]
23
32
  }
24
33
  ]
@@ -17,6 +17,15 @@
17
17
  "instance": null,
18
18
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
19
19
  },
20
+ {
21
+ "caseId": "problem-invalid-59b628efd9d01db4",
22
+ "coveredRuleIds": ["problem:#/properties/profileBase:type"],
23
+ "schemaId": "urn:gala:schema:problem:2.0.0",
24
+ "schemaPointer": "#/properties/profileBase",
25
+ "keyword": "type",
26
+ "instance": null,
27
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
28
+ },
20
29
  {
21
30
  "caseId": "problem-invalid-6729549958d3f9e2",
22
31
  "coveredRuleIds": [
@@ -73,6 +82,15 @@
73
82
  "instance": null,
74
83
  "expectedCodes": ["SCHEMA_TYPE_INVALID"]
75
84
  },
85
+ {
86
+ "caseId": "problem-invalid-b9c7dff39539d058",
87
+ "coveredRuleIds": ["problem:#/properties/domainState:type"],
88
+ "schemaId": "urn:gala:schema:problem:2.0.0",
89
+ "schemaPointer": "#/properties/domainState",
90
+ "keyword": "type",
91
+ "instance": null,
92
+ "expectedCodes": ["SCHEMA_TYPE_INVALID"]
93
+ },
76
94
  {
77
95
  "caseId": "problem-invalid-bcf5607e4f4c32f1",
78
96
  "coveredRuleIds": ["problem:#/properties/retryable:type"],