@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.
Files changed (45) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/project-record.d.ts +9 -0
  6. package/dist/project-record.d.ts.map +1 -1
  7. package/dist/project-record.js +13 -0
  8. package/dist/project-record.js.map +1 -1
  9. package/dist/schemas/index.d.ts +1 -1
  10. package/dist/schemas/index.d.ts.map +1 -1
  11. package/dist/schemas/index.js +1 -1
  12. package/dist/schemas/index.js.map +1 -1
  13. package/dist/schemas/profile.d.ts +2 -2
  14. package/dist/schemas/request.d.ts +258 -0
  15. package/dist/schemas/request.d.ts.map +1 -1
  16. package/dist/schemas/request.js +105 -0
  17. package/dist/schemas/request.js.map +1 -1
  18. package/package.json +4 -4
  19. package/schemas/CatalogEntry.json +67 -17
  20. package/schemas/CatalogEntry.schema.json +157 -157
  21. package/schemas/EvidenceBundle.json +315 -15
  22. package/schemas/EvidenceBundle.schema.json +469 -469
  23. package/schemas/EvidenceItem.json +156 -15
  24. package/schemas/EvidenceRef.json +113 -9
  25. package/schemas/EvidenceSelection.schema.json +83 -83
  26. package/schemas/IntentScopeRequest.json +24 -0
  27. package/schemas/IntentScopeResponse.json +119 -0
  28. package/schemas/RetrievalPlan.json +221 -13
  29. package/schemas/RetrievalPlan.schema.json +73 -73
  30. package/schemas/RetrievalStep.json +51 -14
  31. package/schemas/ScopeIntent.json +84 -0
  32. package/schemas/ScopeRequest.json +151 -28
  33. package/schemas/ScopeRequest.schema.json +108 -108
  34. package/schemas/ScoperBudgets.json +48 -14
  35. package/schemas/ScoperProfile.json +114 -17
  36. package/schemas/TrustedExecutionContext.json +57 -22
  37. package/schemas/TrustedExecutionContext.schema.json +129 -129
  38. package/dist/schemas.d.ts +0 -1077
  39. package/dist/schemas.d.ts.map +0 -1
  40. package/dist/schemas.js +0 -199
  41. package/dist/schemas.js.map +0 -1
  42. package/dist/schemas.test.d.ts +0 -2
  43. package/dist/schemas.test.d.ts.map +0 -1
  44. package/dist/schemas.test.js +0 -29
  45. package/dist/schemas.test.js.map +0 -1
@@ -1,17 +1,67 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "CatalogEntry",
4
- "type": "object",
5
- "properties": {
6
- "id": { "type": "string" },
7
- "capability": { "type": "string" },
8
- "objectType": { "type": "string" },
9
- "contentType": { "type": "string" },
10
- "description": { "type": "string" },
11
- "version": { "type": "string" },
12
- "enabled": { "type": "boolean" },
13
- "requiresFeature": { "type": "string" },
14
- "epistemicDefault": { "type": "string" }
15
- },
16
- "required": ["id", "capability", "description", "version"]
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
+ }