@x12i/memorix-scoper-contracts 2.0.0 → 2.1.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.
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/project-record.d.ts +9 -0
- package/dist/project-record.d.ts.map +1 -1
- package/dist/project-record.js +13 -0
- package/dist/project-record.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/profile.d.ts +2 -2
- package/dist/schemas/request.d.ts +258 -0
- package/dist/schemas/request.d.ts.map +1 -1
- package/dist/schemas/request.js +105 -0
- package/dist/schemas/request.js.map +1 -1
- package/package.json +4 -4
- package/schemas/CatalogEntry.json +67 -17
- package/schemas/CatalogEntry.schema.json +157 -157
- package/schemas/EvidenceBundle.json +315 -15
- package/schemas/EvidenceBundle.schema.json +469 -469
- package/schemas/EvidenceItem.json +156 -15
- package/schemas/EvidenceRef.json +113 -9
- package/schemas/EvidenceSelection.schema.json +83 -83
- package/schemas/IntentScopeRequest.json +24 -0
- package/schemas/IntentScopeResponse.json +119 -0
- package/schemas/RetrievalPlan.json +221 -13
- package/schemas/RetrievalPlan.schema.json +73 -73
- package/schemas/RetrievalStep.json +51 -14
- package/schemas/ScopeIntent.json +84 -0
- package/schemas/ScopeRequest.json +151 -28
- package/schemas/ScopeRequest.schema.json +108 -108
- package/schemas/ScoperBudgets.json +48 -14
- package/schemas/ScoperProfile.json +114 -17
- package/schemas/TrustedExecutionContext.json +57 -22
- package/schemas/TrustedExecutionContext.schema.json +129 -129
- package/dist/schemas.d.ts +0 -1077
- package/dist/schemas.d.ts.map +0 -1
- package/dist/schemas.js +0 -199
- package/dist/schemas.js.map +0 -1
- package/dist/schemas.test.d.ts +0 -2
- package/dist/schemas.test.d.ts.map +0 -1
- package/dist/schemas.test.js +0 -29
- package/dist/schemas.test.js.map +0 -1
|
@@ -1,17 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/CatalogEntry",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"CatalogEntry": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1
|
|
10
|
+
},
|
|
11
|
+
"capability": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"subjects.get",
|
|
15
|
+
"subjects.list",
|
|
16
|
+
"subjects.query",
|
|
17
|
+
"subjects.getNexumSnapshot",
|
|
18
|
+
"estate.startSession",
|
|
19
|
+
"estate.getBag",
|
|
20
|
+
"estate.query",
|
|
21
|
+
"explore.query",
|
|
22
|
+
"catalog.describe"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"objectType": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"contentType": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"description": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 1
|
|
34
|
+
},
|
|
35
|
+
"version": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"minLength": 1
|
|
38
|
+
},
|
|
39
|
+
"enabled": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"default": true
|
|
42
|
+
},
|
|
43
|
+
"requiresFeature": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"epistemicDefault": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"enum": [
|
|
49
|
+
"OBSERVED",
|
|
50
|
+
"INFERRED",
|
|
51
|
+
"POLICY_CANDIDATE",
|
|
52
|
+
"REACHABLE",
|
|
53
|
+
"UNKNOWN"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"id",
|
|
59
|
+
"capability",
|
|
60
|
+
"description",
|
|
61
|
+
"version"
|
|
62
|
+
],
|
|
63
|
+
"additionalProperties": false
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
67
|
+
}
|
|
@@ -1,157 +1,157 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/CatalogEntry",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"CatalogEntry": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"id": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"version": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"description": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"surface": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"enum": [
|
|
19
|
-
"estate-bag",
|
|
20
|
-
"subject",
|
|
21
|
-
"knowledge-explore"
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"operation": {
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"physicalContractVersion": {
|
|
28
|
-
"type": "string"
|
|
29
|
-
},
|
|
30
|
-
"identifiers": {
|
|
31
|
-
"type": "array",
|
|
32
|
-
"items": {
|
|
33
|
-
"type": "object",
|
|
34
|
-
"properties": {
|
|
35
|
-
"name": {
|
|
36
|
-
"type": "string"
|
|
37
|
-
},
|
|
38
|
-
"kind": {
|
|
39
|
-
"type": "string"
|
|
40
|
-
},
|
|
41
|
-
"required": {
|
|
42
|
-
"type": "boolean"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"required": [
|
|
46
|
-
"name",
|
|
47
|
-
"kind"
|
|
48
|
-
],
|
|
49
|
-
"additionalProperties": false
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"relationships": {
|
|
53
|
-
"type": "array",
|
|
54
|
-
"items": {
|
|
55
|
-
"type": "object",
|
|
56
|
-
"properties": {
|
|
57
|
-
"name": {
|
|
58
|
-
"type": "string"
|
|
59
|
-
},
|
|
60
|
-
"target": {
|
|
61
|
-
"type": "string"
|
|
62
|
-
},
|
|
63
|
-
"cardinality": {
|
|
64
|
-
"type": "string"
|
|
65
|
-
},
|
|
66
|
-
"strength": {
|
|
67
|
-
"type": "string",
|
|
68
|
-
"enum": [
|
|
69
|
-
"identity",
|
|
70
|
-
"authoritative-relation",
|
|
71
|
-
"weak-correlation"
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"required": [
|
|
76
|
-
"name",
|
|
77
|
-
"target",
|
|
78
|
-
"cardinality",
|
|
79
|
-
"strength"
|
|
80
|
-
],
|
|
81
|
-
"additionalProperties": false
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"clock": {
|
|
85
|
-
"type": "string",
|
|
86
|
-
"enum": [
|
|
87
|
-
"stable",
|
|
88
|
-
"live"
|
|
89
|
-
]
|
|
90
|
-
},
|
|
91
|
-
"epistemicPlanes": {
|
|
92
|
-
"type": "array",
|
|
93
|
-
"items": {
|
|
94
|
-
"type": "string"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"limits": {
|
|
98
|
-
"type": "object",
|
|
99
|
-
"additionalProperties": {
|
|
100
|
-
"type": [
|
|
101
|
-
"number",
|
|
102
|
-
"string",
|
|
103
|
-
"boolean"
|
|
104
|
-
]
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"classification": {
|
|
108
|
-
"type": "string"
|
|
109
|
-
},
|
|
110
|
-
"requiredPermissions": {
|
|
111
|
-
"type": "array",
|
|
112
|
-
"items": {
|
|
113
|
-
"type": "string"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"mayBeMissing": {
|
|
117
|
-
"type": "boolean"
|
|
118
|
-
},
|
|
119
|
-
"limitations": {
|
|
120
|
-
"type": "array",
|
|
121
|
-
"items": {
|
|
122
|
-
"type": "string"
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"prohibitedInferences": {
|
|
126
|
-
"type": "array",
|
|
127
|
-
"items": {
|
|
128
|
-
"type": "string"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"owner": {
|
|
132
|
-
"type": "string"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"required": [
|
|
136
|
-
"id",
|
|
137
|
-
"version",
|
|
138
|
-
"description",
|
|
139
|
-
"surface",
|
|
140
|
-
"operation",
|
|
141
|
-
"physicalContractVersion",
|
|
142
|
-
"identifiers",
|
|
143
|
-
"relationships",
|
|
144
|
-
"epistemicPlanes",
|
|
145
|
-
"limits",
|
|
146
|
-
"classification",
|
|
147
|
-
"requiredPermissions",
|
|
148
|
-
"mayBeMissing",
|
|
149
|
-
"limitations",
|
|
150
|
-
"prohibitedInferences",
|
|
151
|
-
"owner"
|
|
152
|
-
],
|
|
153
|
-
"additionalProperties": false
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
157
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/CatalogEntry",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"CatalogEntry": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"version": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"description": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"surface": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": [
|
|
19
|
+
"estate-bag",
|
|
20
|
+
"subject",
|
|
21
|
+
"knowledge-explore"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"operation": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"physicalContractVersion": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"identifiers": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"name": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"kind": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"required": {
|
|
42
|
+
"type": "boolean"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"name",
|
|
47
|
+
"kind"
|
|
48
|
+
],
|
|
49
|
+
"additionalProperties": false
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"relationships": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": {
|
|
57
|
+
"name": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"target": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"cardinality": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"strength": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"enum": [
|
|
69
|
+
"identity",
|
|
70
|
+
"authoritative-relation",
|
|
71
|
+
"weak-correlation"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": [
|
|
76
|
+
"name",
|
|
77
|
+
"target",
|
|
78
|
+
"cardinality",
|
|
79
|
+
"strength"
|
|
80
|
+
],
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"clock": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"enum": [
|
|
87
|
+
"stable",
|
|
88
|
+
"live"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"epistemicPlanes": {
|
|
92
|
+
"type": "array",
|
|
93
|
+
"items": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"limits": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"additionalProperties": {
|
|
100
|
+
"type": [
|
|
101
|
+
"number",
|
|
102
|
+
"string",
|
|
103
|
+
"boolean"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"classification": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"requiredPermissions": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"items": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"mayBeMissing": {
|
|
117
|
+
"type": "boolean"
|
|
118
|
+
},
|
|
119
|
+
"limitations": {
|
|
120
|
+
"type": "array",
|
|
121
|
+
"items": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"prohibitedInferences": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"items": {
|
|
128
|
+
"type": "string"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"owner": {
|
|
132
|
+
"type": "string"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"required": [
|
|
136
|
+
"id",
|
|
137
|
+
"version",
|
|
138
|
+
"description",
|
|
139
|
+
"surface",
|
|
140
|
+
"operation",
|
|
141
|
+
"physicalContractVersion",
|
|
142
|
+
"identifiers",
|
|
143
|
+
"relationships",
|
|
144
|
+
"epistemicPlanes",
|
|
145
|
+
"limits",
|
|
146
|
+
"classification",
|
|
147
|
+
"requiredPermissions",
|
|
148
|
+
"mayBeMissing",
|
|
149
|
+
"limitations",
|
|
150
|
+
"prohibitedInferences",
|
|
151
|
+
"owner"
|
|
152
|
+
],
|
|
153
|
+
"additionalProperties": false
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
157
|
+
}
|