@techis/ai-contracts 0.0.0-stage → 0.3.0-rc.16

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 (175) hide show
  1. package/LICENSE +122 -0
  2. package/README.md +28 -3
  3. package/THIRD_PARTY_NOTICES +34 -0
  4. package/dist/availability.d.ts +21 -0
  5. package/dist/availability.d.ts.map +1 -0
  6. package/dist/availability.js +2 -0
  7. package/dist/availability.js.map +1 -0
  8. package/dist/catalog-adoption.d.ts +20 -0
  9. package/dist/catalog-adoption.d.ts.map +1 -0
  10. package/dist/catalog-adoption.js +76 -0
  11. package/dist/catalog-adoption.js.map +1 -0
  12. package/dist/catalog-composition.d.ts +10 -0
  13. package/dist/catalog-composition.d.ts.map +1 -0
  14. package/dist/catalog-composition.js +66 -0
  15. package/dist/catalog-composition.js.map +1 -0
  16. package/dist/catalog-delivery.d.ts +47 -0
  17. package/dist/catalog-delivery.d.ts.map +1 -0
  18. package/dist/catalog-delivery.js +87 -0
  19. package/dist/catalog-delivery.js.map +1 -0
  20. package/dist/catalog-package-data.d.ts +8 -0
  21. package/dist/catalog-package-data.d.ts.map +1 -0
  22. package/dist/catalog-package-data.js +3845 -0
  23. package/dist/catalog-package-data.js.map +1 -0
  24. package/dist/compatibility.d.ts +68 -0
  25. package/dist/compatibility.d.ts.map +1 -0
  26. package/dist/compatibility.js +207 -0
  27. package/dist/compatibility.js.map +1 -0
  28. package/dist/configuration-bundle.d.ts +204 -0
  29. package/dist/configuration-bundle.d.ts.map +1 -0
  30. package/dist/configuration-bundle.js +626 -0
  31. package/dist/configuration-bundle.js.map +1 -0
  32. package/dist/entities.d.ts +641 -0
  33. package/dist/entities.d.ts.map +1 -0
  34. package/dist/entities.js +2 -0
  35. package/dist/entities.js.map +1 -0
  36. package/dist/fixtures.d.ts +25 -0
  37. package/dist/fixtures.d.ts.map +1 -0
  38. package/dist/fixtures.js +546 -0
  39. package/dist/fixtures.js.map +1 -0
  40. package/dist/hash.d.ts +8 -0
  41. package/dist/hash.d.ts.map +1 -0
  42. package/dist/hash.js +13 -0
  43. package/dist/hash.js.map +1 -0
  44. package/dist/host-qualification.d.ts +107 -0
  45. package/dist/host-qualification.d.ts.map +1 -0
  46. package/dist/host-qualification.js +88 -0
  47. package/dist/host-qualification.js.map +1 -0
  48. package/dist/icc-catalog.d.ts +31 -0
  49. package/dist/icc-catalog.d.ts.map +1 -0
  50. package/dist/icc-catalog.js +321 -0
  51. package/dist/icc-catalog.js.map +1 -0
  52. package/dist/icc-csf-profiles.d.ts +28 -0
  53. package/dist/icc-csf-profiles.d.ts.map +1 -0
  54. package/dist/icc-csf-profiles.js +394 -0
  55. package/dist/icc-csf-profiles.js.map +1 -0
  56. package/dist/index.d.ts +25 -0
  57. package/dist/index.d.ts.map +1 -0
  58. package/dist/index.js +25 -0
  59. package/dist/index.js.map +1 -0
  60. package/dist/model-maintenance.d.ts +216 -0
  61. package/dist/model-maintenance.d.ts.map +1 -0
  62. package/dist/model-maintenance.js +425 -0
  63. package/dist/model-maintenance.js.map +1 -0
  64. package/dist/model-package-data.d.ts +3 -0
  65. package/dist/model-package-data.d.ts.map +1 -0
  66. package/dist/model-package-data.js +4954 -0
  67. package/dist/model-package-data.js.map +1 -0
  68. package/dist/persona-inventory.d.ts +143 -0
  69. package/dist/persona-inventory.d.ts.map +1 -0
  70. package/dist/persona-inventory.js +56 -0
  71. package/dist/persona-inventory.js.map +1 -0
  72. package/dist/profile-identity.d.ts +27 -0
  73. package/dist/profile-identity.d.ts.map +1 -0
  74. package/dist/profile-identity.js +30 -0
  75. package/dist/profile-identity.js.map +1 -0
  76. package/dist/provider-listings.d.ts +9 -0
  77. package/dist/provider-listings.d.ts.map +1 -0
  78. package/dist/provider-listings.js +48 -0
  79. package/dist/provider-listings.js.map +1 -0
  80. package/dist/reasoning-validation.d.ts +9 -0
  81. package/dist/reasoning-validation.d.ts.map +1 -0
  82. package/dist/reasoning-validation.js +79 -0
  83. package/dist/reasoning-validation.js.map +1 -0
  84. package/dist/reasoning.d.ts +55 -0
  85. package/dist/reasoning.d.ts.map +1 -0
  86. package/dist/reasoning.js +13 -0
  87. package/dist/reasoning.js.map +1 -0
  88. package/dist/receipt.d.ts +16 -0
  89. package/dist/receipt.d.ts.map +1 -0
  90. package/dist/receipt.js +18 -0
  91. package/dist/receipt.js.map +1 -0
  92. package/dist/schemas/adoption-change-set.schema.json +91 -0
  93. package/dist/schemas/bundle.d.ts +124 -0
  94. package/dist/schemas/bundle.d.ts.map +1 -0
  95. package/dist/schemas/bundle.js +84 -0
  96. package/dist/schemas/bundle.js.map +1 -0
  97. package/dist/schemas/catalog-release.schema.json +375 -0
  98. package/dist/schemas/catalog-review-input.schema.json +179 -0
  99. package/dist/schemas/catalog-review-output.schema.json +259 -0
  100. package/dist/schemas/catalog-review-output.v2.schema.json +251 -0
  101. package/dist/schemas/catalog-review-record.schema.json +391 -0
  102. package/dist/schemas/client-persona-inventory.schema.json +107 -0
  103. package/dist/schemas/common.schema.json +324 -0
  104. package/dist/schemas/config.d.ts +1106 -0
  105. package/dist/schemas/config.d.ts.map +1 -0
  106. package/dist/schemas/config.js +496 -0
  107. package/dist/schemas/config.js.map +1 -0
  108. package/dist/schemas/configuration-bundle-manifest.schema.json +144 -0
  109. package/dist/schemas/configuration-manifest.schema.json +109 -0
  110. package/dist/schemas/connection.schema.json +49 -0
  111. package/dist/schemas/core.d.ts +2268 -0
  112. package/dist/schemas/core.d.ts.map +1 -0
  113. package/dist/schemas/core.js +367 -0
  114. package/dist/schemas/core.js.map +1 -0
  115. package/dist/schemas/desktop-configuration-revision.schema.json +146 -0
  116. package/dist/schemas/execution-profile-revision.schema.json +235 -0
  117. package/dist/schemas/execution-receipt.schema.json +431 -0
  118. package/dist/schemas/host-adapter-qualification.schema.json +398 -0
  119. package/dist/schemas/host-qualification-policy.schema.json +50 -0
  120. package/dist/schemas/index.d.ts +11 -0
  121. package/dist/schemas/index.d.ts.map +1 -0
  122. package/dist/schemas/index.js +34 -0
  123. package/dist/schemas/index.js.map +1 -0
  124. package/dist/schemas/inventory.d.ts +170 -0
  125. package/dist/schemas/inventory.d.ts.map +1 -0
  126. package/dist/schemas/inventory.js +87 -0
  127. package/dist/schemas/inventory.js.map +1 -0
  128. package/dist/schemas/model-definition.schema.json +628 -0
  129. package/dist/schemas/model-package-release.schema.json +594 -0
  130. package/dist/schemas/model-upgrade-advisory.schema.json +191 -0
  131. package/dist/schemas/operation-contract-document.schema.json +153 -0
  132. package/dist/schemas/persona-assignments.schema.json +125 -0
  133. package/dist/schemas/persona-registry-overlay.schema.json +93 -0
  134. package/dist/schemas/persona-source-document.schema.json +86 -0
  135. package/dist/schemas/persona-specification.schema.json +122 -0
  136. package/dist/schemas/price-revision.schema.json +299 -0
  137. package/dist/schemas/profile-assessment.schema.json +288 -0
  138. package/dist/schemas/scoped.d.ts +424 -0
  139. package/dist/schemas/scoped.d.ts.map +1 -0
  140. package/dist/schemas/scoped.js +203 -0
  141. package/dist/schemas/scoped.js.map +1 -0
  142. package/dist/schemas/usage-aggregate-query.schema.json +86 -0
  143. package/dist/schemas/usage-page.schema.json +22 -0
  144. package/dist/schemas/usage-query.schema.json +77 -0
  145. package/dist/schemas/usage-summary.schema.json +468 -0
  146. package/dist/schemas/usage.d.ts +527 -0
  147. package/dist/schemas/usage.d.ts.map +1 -0
  148. package/dist/schemas/usage.js +142 -0
  149. package/dist/schemas/usage.js.map +1 -0
  150. package/dist/scoped-configuration.d.ts +208 -0
  151. package/dist/scoped-configuration.d.ts.map +1 -0
  152. package/dist/scoped-configuration.js +425 -0
  153. package/dist/scoped-configuration.js.map +1 -0
  154. package/dist/scripts/emit-schemas.d.ts +2 -0
  155. package/dist/scripts/emit-schemas.d.ts.map +1 -0
  156. package/dist/scripts/emit-schemas.js +24 -0
  157. package/dist/scripts/emit-schemas.js.map +1 -0
  158. package/dist/scripts/verify-bundle.d.ts +3 -0
  159. package/dist/scripts/verify-bundle.d.ts.map +1 -0
  160. package/dist/scripts/verify-bundle.js +59 -0
  161. package/dist/scripts/verify-bundle.js.map +1 -0
  162. package/dist/validation.d.ts +11 -0
  163. package/dist/validation.d.ts.map +1 -0
  164. package/dist/validation.js +41 -0
  165. package/dist/validation.js.map +1 -0
  166. package/package.json +31 -4
  167. package/third-party-licenses/ajv-formats@3.0.1/LICENSE +21 -0
  168. package/third-party-licenses/ajv@8.20.0/LICENSE +22 -0
  169. package/third-party-licenses/fast-deep-equal@3.1.3/LICENSE +21 -0
  170. package/third-party-licenses/fast-uri@3.1.7/LICENSE +30 -0
  171. package/third-party-licenses/json-schema-traverse@1.0.0/LICENSE +21 -0
  172. package/third-party-licenses/require-from-string@2.0.2/license +21 -0
  173. package/third-party-licenses/typescript@5.9.3/LICENSE.txt +55 -0
  174. package/third-party-licenses/typescript@5.9.3/ThirdPartyNoticeText.txt +193 -0
  175. package/third-party-licenses.json +102 -0
@@ -0,0 +1,144 @@
1
+ {
2
+ "$id": "https://techis.dev/ai/contracts/configuration-bundle-manifest.schema.json",
3
+ "type": "object",
4
+ "additionalProperties": false,
5
+ "required": [
6
+ "schemaVersion",
7
+ "kind",
8
+ "bundleVersion",
9
+ "compatibleRuntime",
10
+ "schemaVersions",
11
+ "provenance",
12
+ "documents"
13
+ ],
14
+ "properties": {
15
+ "schemaVersion": {
16
+ "const": 1
17
+ },
18
+ "kind": {
19
+ "const": "techis-configuration-bundle-manifest"
20
+ },
21
+ "bundleVersion": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 64
25
+ },
26
+ "compatibleRuntime": {
27
+ "type": "string",
28
+ "pattern": "^@techis/ai-runtime@(\\*|>=|>|<=|<|=|\\^|~|[0-9])[0-9A-Za-z.,<>=~^ *-]*$",
29
+ "minLength": 1,
30
+ "maxLength": 256
31
+ },
32
+ "schemaVersions": {
33
+ "type": "object",
34
+ "additionalProperties": false,
35
+ "required": [
36
+ "profiles",
37
+ "catalog"
38
+ ],
39
+ "properties": {
40
+ "profiles": {
41
+ "const": 2
42
+ },
43
+ "catalog": {
44
+ "enum": [
45
+ 1,
46
+ 2,
47
+ 3
48
+ ]
49
+ },
50
+ "personaSources": {
51
+ "const": 2
52
+ },
53
+ "operationContract": {
54
+ "const": 2
55
+ }
56
+ }
57
+ },
58
+ "provenance": {
59
+ "type": "object",
60
+ "additionalProperties": false,
61
+ "required": [
62
+ "builtAt",
63
+ "builtBy",
64
+ "secretsIncluded",
65
+ "source"
66
+ ],
67
+ "properties": {
68
+ "builtAt": {
69
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime"
70
+ },
71
+ "builtBy": {
72
+ "type": "string",
73
+ "minLength": 1,
74
+ "maxLength": 200
75
+ },
76
+ "secretsIncluded": {
77
+ "const": false
78
+ },
79
+ "source": {
80
+ "anyOf": [
81
+ {
82
+ "type": "object",
83
+ "additionalProperties": false,
84
+ "required": [
85
+ "kind",
86
+ "storeDescription",
87
+ "revisions"
88
+ ],
89
+ "properties": {
90
+ "kind": {
91
+ "const": "management-store"
92
+ },
93
+ "storeDescription": {
94
+ "type": "string",
95
+ "minLength": 1,
96
+ "maxLength": 500
97
+ },
98
+ "revisions": {
99
+ "type": "object",
100
+ "additionalProperties": {
101
+ "type": "string",
102
+ "minLength": 1,
103
+ "maxLength": 256
104
+ }
105
+ }
106
+ }
107
+ },
108
+ {
109
+ "type": "object",
110
+ "additionalProperties": false,
111
+ "required": [
112
+ "kind"
113
+ ],
114
+ "properties": {
115
+ "kind": {
116
+ "const": "authored-offline"
117
+ },
118
+ "description": {
119
+ "type": "string",
120
+ "maxLength": 500
121
+ }
122
+ }
123
+ }
124
+ ]
125
+ },
126
+ "sources": {
127
+ "type": "array",
128
+ "items": {
129
+ "type": "string",
130
+ "maxLength": 500
131
+ }
132
+ }
133
+ }
134
+ },
135
+ "documents": {
136
+ "type": "object",
137
+ "minProperties": 3,
138
+ "additionalProperties": {
139
+ "type": "string",
140
+ "pattern": "^[a-f0-9]{64}$"
141
+ }
142
+ }
143
+ }
144
+ }
@@ -0,0 +1,109 @@
1
+ {
2
+ "$id": "https://techis.dev/ai/contracts/configuration-manifest.schema.json",
3
+ "type": "object",
4
+ "additionalProperties": false,
5
+ "required": [
6
+ "schemaVersion",
7
+ "applicationId",
8
+ "environmentId",
9
+ "manifestRevision",
10
+ "references",
11
+ "adapterRequirements",
12
+ "publication"
13
+ ],
14
+ "properties": {
15
+ "schemaVersion": {
16
+ "const": 1
17
+ },
18
+ "applicationId": {
19
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/applicationId"
20
+ },
21
+ "environmentId": {
22
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/environmentId"
23
+ },
24
+ "manifestRevision": {
25
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision"
26
+ },
27
+ "references": {
28
+ "type": "object",
29
+ "additionalProperties": false,
30
+ "required": [
31
+ "catalogRevision",
32
+ "priceRevisions",
33
+ "profiles",
34
+ "personas",
35
+ "assignmentRevision",
36
+ "connections"
37
+ ],
38
+ "properties": {
39
+ "catalogRevision": {
40
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision"
41
+ },
42
+ "priceRevisions": {
43
+ "type": "object",
44
+ "additionalProperties": {
45
+ "type": "string",
46
+ "minLength": 1
47
+ }
48
+ },
49
+ "profiles": {
50
+ "type": "object",
51
+ "additionalProperties": {
52
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision"
53
+ }
54
+ },
55
+ "personas": {
56
+ "type": "object",
57
+ "additionalProperties": {
58
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision"
59
+ }
60
+ },
61
+ "assignmentRevision": {
62
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision"
63
+ },
64
+ "connections": {
65
+ "type": "array",
66
+ "items": {
67
+ "$ref": "https://techis.dev/ai/contracts/connection.schema.json"
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "adapterRequirements": {
73
+ "type": "object",
74
+ "additionalProperties": {
75
+ "type": "object",
76
+ "additionalProperties": false,
77
+ "required": [
78
+ "minVersion"
79
+ ],
80
+ "properties": {
81
+ "minVersion": {
82
+ "type": "string",
83
+ "minLength": 1
84
+ }
85
+ }
86
+ }
87
+ },
88
+ "publication": {
89
+ "type": "object",
90
+ "additionalProperties": false,
91
+ "required": [
92
+ "publishedAt",
93
+ "publishedBy"
94
+ ],
95
+ "properties": {
96
+ "publishedAt": {
97
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime"
98
+ },
99
+ "publishedBy": {
100
+ "type": "string",
101
+ "minLength": 1
102
+ },
103
+ "supersedes": {
104
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision"
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$id": "https://techis.dev/ai/contracts/connection.schema.json",
3
+ "type": "object",
4
+ "additionalProperties": false,
5
+ "required": [
6
+ "schemaVersion",
7
+ "applicationId",
8
+ "environmentId",
9
+ "provider",
10
+ "credentialReference"
11
+ ],
12
+ "properties": {
13
+ "schemaVersion": {
14
+ "const": 1
15
+ },
16
+ "applicationId": {
17
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/applicationId"
18
+ },
19
+ "environmentId": {
20
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/environmentId"
21
+ },
22
+ "provider": {
23
+ "type": "string",
24
+ "minLength": 1
25
+ },
26
+ "endpoint": {
27
+ "type": "string",
28
+ "minLength": 1
29
+ },
30
+ "credentialReference": {
31
+ "type": "string",
32
+ "minLength": 1
33
+ },
34
+ "operationalLimits": {
35
+ "type": "object",
36
+ "additionalProperties": false,
37
+ "properties": {
38
+ "concurrency": {
39
+ "type": "integer",
40
+ "minimum": 1
41
+ },
42
+ "requestsPerMinute": {
43
+ "type": "integer",
44
+ "minimum": 1
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }