@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.
- package/LICENSE +122 -0
- package/README.md +28 -3
- package/THIRD_PARTY_NOTICES +34 -0
- package/dist/availability.d.ts +21 -0
- package/dist/availability.d.ts.map +1 -0
- package/dist/availability.js +2 -0
- package/dist/availability.js.map +1 -0
- package/dist/catalog-adoption.d.ts +20 -0
- package/dist/catalog-adoption.d.ts.map +1 -0
- package/dist/catalog-adoption.js +76 -0
- package/dist/catalog-adoption.js.map +1 -0
- package/dist/catalog-composition.d.ts +10 -0
- package/dist/catalog-composition.d.ts.map +1 -0
- package/dist/catalog-composition.js +66 -0
- package/dist/catalog-composition.js.map +1 -0
- package/dist/catalog-delivery.d.ts +47 -0
- package/dist/catalog-delivery.d.ts.map +1 -0
- package/dist/catalog-delivery.js +87 -0
- package/dist/catalog-delivery.js.map +1 -0
- package/dist/catalog-package-data.d.ts +8 -0
- package/dist/catalog-package-data.d.ts.map +1 -0
- package/dist/catalog-package-data.js +3845 -0
- package/dist/catalog-package-data.js.map +1 -0
- package/dist/compatibility.d.ts +68 -0
- package/dist/compatibility.d.ts.map +1 -0
- package/dist/compatibility.js +207 -0
- package/dist/compatibility.js.map +1 -0
- package/dist/configuration-bundle.d.ts +204 -0
- package/dist/configuration-bundle.d.ts.map +1 -0
- package/dist/configuration-bundle.js +626 -0
- package/dist/configuration-bundle.js.map +1 -0
- package/dist/entities.d.ts +641 -0
- package/dist/entities.d.ts.map +1 -0
- package/dist/entities.js +2 -0
- package/dist/entities.js.map +1 -0
- package/dist/fixtures.d.ts +25 -0
- package/dist/fixtures.d.ts.map +1 -0
- package/dist/fixtures.js +546 -0
- package/dist/fixtures.js.map +1 -0
- package/dist/hash.d.ts +8 -0
- package/dist/hash.d.ts.map +1 -0
- package/dist/hash.js +13 -0
- package/dist/hash.js.map +1 -0
- package/dist/host-qualification.d.ts +107 -0
- package/dist/host-qualification.d.ts.map +1 -0
- package/dist/host-qualification.js +88 -0
- package/dist/host-qualification.js.map +1 -0
- package/dist/icc-catalog.d.ts +31 -0
- package/dist/icc-catalog.d.ts.map +1 -0
- package/dist/icc-catalog.js +321 -0
- package/dist/icc-catalog.js.map +1 -0
- package/dist/icc-csf-profiles.d.ts +28 -0
- package/dist/icc-csf-profiles.d.ts.map +1 -0
- package/dist/icc-csf-profiles.js +394 -0
- package/dist/icc-csf-profiles.js.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -0
- package/dist/model-maintenance.d.ts +216 -0
- package/dist/model-maintenance.d.ts.map +1 -0
- package/dist/model-maintenance.js +425 -0
- package/dist/model-maintenance.js.map +1 -0
- package/dist/model-package-data.d.ts +3 -0
- package/dist/model-package-data.d.ts.map +1 -0
- package/dist/model-package-data.js +4954 -0
- package/dist/model-package-data.js.map +1 -0
- package/dist/persona-inventory.d.ts +143 -0
- package/dist/persona-inventory.d.ts.map +1 -0
- package/dist/persona-inventory.js +56 -0
- package/dist/persona-inventory.js.map +1 -0
- package/dist/profile-identity.d.ts +27 -0
- package/dist/profile-identity.d.ts.map +1 -0
- package/dist/profile-identity.js +30 -0
- package/dist/profile-identity.js.map +1 -0
- package/dist/provider-listings.d.ts +9 -0
- package/dist/provider-listings.d.ts.map +1 -0
- package/dist/provider-listings.js +48 -0
- package/dist/provider-listings.js.map +1 -0
- package/dist/reasoning-validation.d.ts +9 -0
- package/dist/reasoning-validation.d.ts.map +1 -0
- package/dist/reasoning-validation.js +79 -0
- package/dist/reasoning-validation.js.map +1 -0
- package/dist/reasoning.d.ts +55 -0
- package/dist/reasoning.d.ts.map +1 -0
- package/dist/reasoning.js +13 -0
- package/dist/reasoning.js.map +1 -0
- package/dist/receipt.d.ts +16 -0
- package/dist/receipt.d.ts.map +1 -0
- package/dist/receipt.js +18 -0
- package/dist/receipt.js.map +1 -0
- package/dist/schemas/adoption-change-set.schema.json +91 -0
- package/dist/schemas/bundle.d.ts +124 -0
- package/dist/schemas/bundle.d.ts.map +1 -0
- package/dist/schemas/bundle.js +84 -0
- package/dist/schemas/bundle.js.map +1 -0
- package/dist/schemas/catalog-release.schema.json +375 -0
- package/dist/schemas/catalog-review-input.schema.json +179 -0
- package/dist/schemas/catalog-review-output.schema.json +259 -0
- package/dist/schemas/catalog-review-output.v2.schema.json +251 -0
- package/dist/schemas/catalog-review-record.schema.json +391 -0
- package/dist/schemas/client-persona-inventory.schema.json +107 -0
- package/dist/schemas/common.schema.json +324 -0
- package/dist/schemas/config.d.ts +1106 -0
- package/dist/schemas/config.d.ts.map +1 -0
- package/dist/schemas/config.js +496 -0
- package/dist/schemas/config.js.map +1 -0
- package/dist/schemas/configuration-bundle-manifest.schema.json +144 -0
- package/dist/schemas/configuration-manifest.schema.json +109 -0
- package/dist/schemas/connection.schema.json +49 -0
- package/dist/schemas/core.d.ts +2268 -0
- package/dist/schemas/core.d.ts.map +1 -0
- package/dist/schemas/core.js +367 -0
- package/dist/schemas/core.js.map +1 -0
- package/dist/schemas/desktop-configuration-revision.schema.json +146 -0
- package/dist/schemas/execution-profile-revision.schema.json +235 -0
- package/dist/schemas/execution-receipt.schema.json +431 -0
- package/dist/schemas/host-adapter-qualification.schema.json +398 -0
- package/dist/schemas/host-qualification-policy.schema.json +50 -0
- package/dist/schemas/index.d.ts +11 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +34 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/inventory.d.ts +170 -0
- package/dist/schemas/inventory.d.ts.map +1 -0
- package/dist/schemas/inventory.js +87 -0
- package/dist/schemas/inventory.js.map +1 -0
- package/dist/schemas/model-definition.schema.json +628 -0
- package/dist/schemas/model-package-release.schema.json +594 -0
- package/dist/schemas/model-upgrade-advisory.schema.json +191 -0
- package/dist/schemas/operation-contract-document.schema.json +153 -0
- package/dist/schemas/persona-assignments.schema.json +125 -0
- package/dist/schemas/persona-registry-overlay.schema.json +93 -0
- package/dist/schemas/persona-source-document.schema.json +86 -0
- package/dist/schemas/persona-specification.schema.json +122 -0
- package/dist/schemas/price-revision.schema.json +299 -0
- package/dist/schemas/profile-assessment.schema.json +288 -0
- package/dist/schemas/scoped.d.ts +424 -0
- package/dist/schemas/scoped.d.ts.map +1 -0
- package/dist/schemas/scoped.js +203 -0
- package/dist/schemas/scoped.js.map +1 -0
- package/dist/schemas/usage-aggregate-query.schema.json +86 -0
- package/dist/schemas/usage-page.schema.json +22 -0
- package/dist/schemas/usage-query.schema.json +77 -0
- package/dist/schemas/usage-summary.schema.json +468 -0
- package/dist/schemas/usage.d.ts +527 -0
- package/dist/schemas/usage.d.ts.map +1 -0
- package/dist/schemas/usage.js +142 -0
- package/dist/schemas/usage.js.map +1 -0
- package/dist/scoped-configuration.d.ts +208 -0
- package/dist/scoped-configuration.d.ts.map +1 -0
- package/dist/scoped-configuration.js +425 -0
- package/dist/scoped-configuration.js.map +1 -0
- package/dist/scripts/emit-schemas.d.ts +2 -0
- package/dist/scripts/emit-schemas.d.ts.map +1 -0
- package/dist/scripts/emit-schemas.js +24 -0
- package/dist/scripts/emit-schemas.js.map +1 -0
- package/dist/scripts/verify-bundle.d.ts +3 -0
- package/dist/scripts/verify-bundle.d.ts.map +1 -0
- package/dist/scripts/verify-bundle.js +59 -0
- package/dist/scripts/verify-bundle.js.map +1 -0
- package/dist/validation.d.ts +11 -0
- package/dist/validation.d.ts.map +1 -0
- package/dist/validation.js +41 -0
- package/dist/validation.js.map +1 -0
- package/package.json +31 -4
- package/third-party-licenses/ajv-formats@3.0.1/LICENSE +21 -0
- package/third-party-licenses/ajv@8.20.0/LICENSE +22 -0
- package/third-party-licenses/fast-deep-equal@3.1.3/LICENSE +21 -0
- package/third-party-licenses/fast-uri@3.1.7/LICENSE +30 -0
- package/third-party-licenses/json-schema-traverse@1.0.0/LICENSE +21 -0
- package/third-party-licenses/require-from-string@2.0.2/license +21 -0
- package/third-party-licenses/typescript@5.9.3/LICENSE.txt +55 -0
- package/third-party-licenses/typescript@5.9.3/ThirdPartyNoticeText.txt +193 -0
- 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
|
+
}
|