@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
@@ -150,6 +150,7 @@ export type AdapterCapabilityDestinationIdentity = Readonly<{
150
150
  readonly environment: 'github-pages' | 'do-spaces' | 'local-directory';
151
151
  readonly providerBinding?: AdapterCapabilityDestinationProviderCoordinates;
152
152
  readonly targetDigest: AdapterCapabilityDigest;
153
+ readonly verificationBaseUrl?: AdapterCapabilityUrlHttps;
153
154
  }> &
154
155
  unknown;
155
156
 
@@ -175,6 +175,7 @@ export type DeploymentIntentDestinationIdentity = Readonly<{
175
175
  readonly environment: 'github-pages' | 'do-spaces' | 'local-directory';
176
176
  readonly providerBinding?: DeploymentIntentDestinationProviderCoordinates;
177
177
  readonly targetDigest: DeploymentIntentDigest;
178
+ readonly verificationBaseUrl?: DeploymentIntentUrlHttps;
178
179
  }> &
179
180
  unknown;
180
181
 
@@ -113,6 +113,7 @@ export type DeploymentObservationDestinationIdentity = Readonly<{
113
113
  readonly environment: 'github-pages' | 'do-spaces' | 'local-directory';
114
114
  readonly providerBinding?: DeploymentObservationDestinationProviderCoordinates;
115
115
  readonly targetDigest: DeploymentObservationDigest;
116
+ readonly verificationBaseUrl?: DeploymentObservationUrlHttps;
116
117
  }> &
117
118
  unknown;
118
119
 
@@ -1148,6 +1148,7 @@ export type DeploymentReceiptDestinationIdentity = Readonly<{
1148
1148
  readonly environment: 'github-pages' | 'do-spaces' | 'local-directory';
1149
1149
  readonly providerBinding?: DeploymentReceiptDestinationProviderCoordinates;
1150
1150
  readonly targetDigest: DeploymentReceiptDigest;
1151
+ readonly verificationBaseUrl?: DeploymentReceiptUrlHttps;
1151
1152
  }> &
1152
1153
  unknown;
1153
1154
 
@@ -67,9 +67,13 @@ export type ProblemDocument = Readonly<{
67
67
  readonly code: ProblemProblemCode;
68
68
  readonly correlationId: ProblemStableId;
69
69
  readonly detail: ProblemPlainText;
70
+ readonly domainState?: string;
70
71
  readonly errors: ReadonlyArray<ProblemFieldError>;
72
+ readonly expectedBase?: ProblemUrlHttps;
71
73
  readonly instance?: ProblemCanonicalRoute;
72
74
  readonly operationId?: ProblemStableId;
75
+ readonly profileBase?: string;
76
+ readonly remedy?: ProblemPlainText;
73
77
  readonly retryable: boolean;
74
78
  readonly schemaId: 'urn:gala:schema:problem:2.0.0';
75
79
  readonly schemaVersion: '2.0.0';
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "2.0.0",
3
3
  "sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
4
- "openApiDigest": "sha256:9f788998e00babc25ff76f7ef7e7e5f491b4532ead1e95c8aef5c1f81ad81eda",
4
+ "openApiDigest": "sha256:873e58c1c5cff984dbee260f215f8c6f3fd10c8623889ba4618b832814b043a9",
5
5
  "operations": [
6
6
  {
7
7
  "operationId": "getInternalHealth",
@@ -120,6 +120,19 @@
120
120
  "apiKeyScope": null,
121
121
  "sourceFragment": "callbacks"
122
122
  },
123
+ {
124
+ "operationId": "postCallbacksStripe",
125
+ "method": "POST",
126
+ "path": "/v2/callbacks/stripe",
127
+ "purpose": "accept an authenticated Stripe billing event",
128
+ "capabilityKey": null,
129
+ "conditionalCapabilityKeys": [],
130
+ "activationGate": "MVP",
131
+ "assuranceClass": "SESSION",
132
+ "actionGrant": "none",
133
+ "apiKeyScope": null,
134
+ "sourceFragment": "callbacks"
135
+ },
123
136
  {
124
137
  "operationId": "getClaimsByToken",
125
138
  "method": "GET",
@@ -470,7 +483,7 @@
470
483
  "activationGate": "MVP",
471
484
  "assuranceClass": "SESSION",
472
485
  "actionGrant": "none",
473
- "apiKeyScope": null,
486
+ "apiKeyScope": "publish",
474
487
  "sourceFragment": "organizations"
475
488
  },
476
489
  {
@@ -2686,5 +2699,5 @@
2686
2699
  "sourceFragment": "workloads"
2687
2700
  }
2688
2701
  ],
2689
- "digest": "sha256:0e62172fd7069e162b78a730cf4c677f21f3492d549a91c16687a0ccce3cec42"
2702
+ "digest": "sha256:7c2a102c264904a42607e573f34c5c4db46e498fc068c3778e2b5f8c9f023607"
2690
2703
  }