@x12i/memorix-metadata 3.2.1 → 3.3.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 (56) hide show
  1. package/README.md +86 -86
  2. package/dist/abstracts.d.ts.map +1 -1
  3. package/dist/abstracts.js +4 -0
  4. package/dist/abstracts.js.map +1 -1
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/kind-fields.d.ts.map +1 -1
  10. package/dist/kind-fields.js +1 -0
  11. package/dist/kind-fields.js.map +1 -1
  12. package/dist/kinds.d.ts +1 -1
  13. package/dist/kinds.d.ts.map +1 -1
  14. package/dist/kinds.js +8 -0
  15. package/dist/kinds.js.map +1 -1
  16. package/dist/normalize.d.ts.map +1 -1
  17. package/dist/normalize.js +1 -0
  18. package/dist/normalize.js.map +1 -1
  19. package/dist/platform-interfaces.d.ts +29 -0
  20. package/dist/platform-interfaces.d.ts.map +1 -0
  21. package/dist/platform-interfaces.js +53 -0
  22. package/dist/platform-interfaces.js.map +1 -0
  23. package/dist/resolve.d.ts.map +1 -1
  24. package/dist/resolve.js +112 -0
  25. package/dist/resolve.js.map +1 -1
  26. package/dist/topology.d.ts +1 -1
  27. package/dist/topology.d.ts.map +1 -1
  28. package/dist/topology.js +6 -0
  29. package/dist/topology.js.map +1 -1
  30. package/dist/types.d.ts +199 -0
  31. package/dist/types.d.ts.map +1 -1
  32. package/dist/validate.d.ts.map +1 -1
  33. package/dist/validate.js +444 -0
  34. package/dist/validate.js.map +1 -1
  35. package/examples/analytics/work-item-stats.json +61 -0
  36. package/examples/custom-kinds/acme-ui-tabs.pack.json +62 -62
  37. package/examples/invalid/agent-classification.json +709 -709
  38. package/examples/invalid/broken-binding.json +688 -688
  39. package/examples/invalid/completion-mapping-with-exec-policy.json +659 -659
  40. package/examples/invalid/missing-parent.json +708 -708
  41. package/examples/invalid/operational-kind-root.json +720 -720
  42. package/examples/invalid/pipeline-unknown-service.json +611 -611
  43. package/examples/invalid/relationship-missing-rules.json +624 -624
  44. package/examples/invalid/relationship-with-storage.json +631 -631
  45. package/examples/invalid/service-with-secrets.json +679 -679
  46. package/examples/knowx/normalized/pack.json +47 -146
  47. package/examples/opx/normalized/pack.json +4 -116
  48. package/examples/opx/raw/abstract-types.json +244 -244
  49. package/examples/opx/raw/agents.json +33 -33
  50. package/examples/opx/raw/object-types.json +101 -101
  51. package/examples/opx/raw/pipelines-and-sources.json +264 -264
  52. package/examples/opx/raw/relationship-definitions.json +80 -80
  53. package/examples/opx/raw/view-definitions.json +32 -32
  54. package/examples/opx/raw/write-and-source-mappings.json +223 -223
  55. package/examples/project-opx/normalized/pack.json +1036 -1036
  56. package/package.json +48 -48
@@ -1,101 +1,101 @@
1
- {
2
- "objectTypes": [
3
- {
4
- "id": "people",
5
- "name": "People",
6
- "dataCategory": "entity",
7
- "abstractTypes": ["People"],
8
- "notes": "Single people OT. Inside vs outside org is identity kind (concept.identifiers.primary.kind): employeeId | externalPersonId — not separate object types.",
9
- "contentTypes": [
10
- {
11
- "id": "raw",
12
- "required": true,
13
- "requiredReason": "Landed provider-native payload; identity and lineage depend on it."
14
- },
15
- {
16
- "id": "snapshots",
17
- "required": true,
18
- "requiredReason": "Canonical composed person view used by queries and abstracts."
19
- },
20
- {
21
- "id": "discovery",
22
- "discriminator": {
23
- "path": "data.discoveryType",
24
- "required": false,
25
- "defaultValue": "default"
26
- }
27
- },
28
- {
29
- "id": "analysis",
30
- "discriminator": {
31
- "path": "data.analysisType",
32
- "required": false,
33
- "defaultValue": "default"
34
- }
35
- },
36
- { "id": "relationships", "notes": "Candidate store shape until Gate G4" }
37
- ]
38
- },
39
- {
40
- "id": "work-items",
41
- "name": "Work Items",
42
- "dataCategory": "entity",
43
- "abstractTypes": ["WorkItems"],
44
- "contentTypes": [
45
- { "id": "raw" },
46
- { "id": "snapshots" },
47
- {
48
- "id": "discovery",
49
- "discriminator": { "path": "data.discoveryType", "required": false }
50
- },
51
- {
52
- "id": "analysis",
53
- "discriminator": {
54
- "path": "data.analysisType",
55
- "required": false,
56
- "defaultValue": "delivery-risk"
57
- }
58
- },
59
- {
60
- "id": "decisions",
61
- "discriminator": {
62
- "path": "data.decisionType",
63
- "required": false,
64
- "defaultValue": "priority"
65
- }
66
- },
67
- { "id": "workflow" },
68
- { "id": "context", "retention": "work-scoped-ttl" },
69
- { "id": "relationships" }
70
- ],
71
- "snapshotBuckets": {
72
- "analytics": "optional",
73
- "enrichment": "optional",
74
- "insights": "optional"
75
- }
76
- },
77
- {
78
- "id": "playbooks",
79
- "name": "Playbooks",
80
- "dataCategory": "knowledge",
81
- "abstractTypes": ["Playbooks"],
82
- "contentTypes": [
83
- { "id": "raw" },
84
- { "id": "snapshots", "notes": "Persistent knowledge content" },
85
- { "id": "relationships" }
86
- ],
87
- "retention": "persistent-knowledge"
88
- },
89
- {
90
- "id": "activity-events",
91
- "name": "Activity Events",
92
- "dataCategory": "event",
93
- "abstractTypes": ["ActivityEvents"],
94
- "contentTypes": [
95
- { "id": "raw" },
96
- { "id": "snapshots", "notes": "Normalized event content" },
97
- { "id": "relationships" }
98
- ]
99
- }
100
- ]
101
- }
1
+ {
2
+ "objectTypes": [
3
+ {
4
+ "id": "people",
5
+ "name": "People",
6
+ "dataCategory": "entity",
7
+ "abstractTypes": ["People"],
8
+ "notes": "Single people OT. Inside vs outside org is identity kind (concept.identifiers.primary.kind): employeeId | externalPersonId — not separate object types.",
9
+ "contentTypes": [
10
+ {
11
+ "id": "raw",
12
+ "required": true,
13
+ "requiredReason": "Landed provider-native payload; identity and lineage depend on it."
14
+ },
15
+ {
16
+ "id": "snapshots",
17
+ "required": true,
18
+ "requiredReason": "Canonical composed person view used by queries and abstracts."
19
+ },
20
+ {
21
+ "id": "discovery",
22
+ "discriminator": {
23
+ "path": "data.discoveryType",
24
+ "required": false,
25
+ "defaultValue": "default"
26
+ }
27
+ },
28
+ {
29
+ "id": "analysis",
30
+ "discriminator": {
31
+ "path": "data.analysisType",
32
+ "required": false,
33
+ "defaultValue": "default"
34
+ }
35
+ },
36
+ { "id": "relationships", "notes": "Candidate store shape until Gate G4" }
37
+ ]
38
+ },
39
+ {
40
+ "id": "work-items",
41
+ "name": "Work Items",
42
+ "dataCategory": "entity",
43
+ "abstractTypes": ["WorkItems"],
44
+ "contentTypes": [
45
+ { "id": "raw" },
46
+ { "id": "snapshots" },
47
+ {
48
+ "id": "discovery",
49
+ "discriminator": { "path": "data.discoveryType", "required": false }
50
+ },
51
+ {
52
+ "id": "analysis",
53
+ "discriminator": {
54
+ "path": "data.analysisType",
55
+ "required": false,
56
+ "defaultValue": "delivery-risk"
57
+ }
58
+ },
59
+ {
60
+ "id": "decisions",
61
+ "discriminator": {
62
+ "path": "data.decisionType",
63
+ "required": false,
64
+ "defaultValue": "priority"
65
+ }
66
+ },
67
+ { "id": "workflow" },
68
+ { "id": "context", "retention": "work-scoped-ttl" },
69
+ { "id": "relationships" }
70
+ ],
71
+ "snapshotBuckets": {
72
+ "analytics": "optional",
73
+ "enrichment": "optional",
74
+ "insights": "optional"
75
+ }
76
+ },
77
+ {
78
+ "id": "playbooks",
79
+ "name": "Playbooks",
80
+ "dataCategory": "knowledge",
81
+ "abstractTypes": ["Playbooks"],
82
+ "contentTypes": [
83
+ { "id": "raw" },
84
+ { "id": "snapshots", "notes": "Persistent knowledge content" },
85
+ { "id": "relationships" }
86
+ ],
87
+ "retention": "persistent-knowledge"
88
+ },
89
+ {
90
+ "id": "activity-events",
91
+ "name": "Activity Events",
92
+ "dataCategory": "event",
93
+ "abstractTypes": ["ActivityEvents"],
94
+ "contentTypes": [
95
+ { "id": "raw" },
96
+ { "id": "snapshots", "notes": "Normalized event content" },
97
+ { "id": "relationships" }
98
+ ]
99
+ }
100
+ ]
101
+ }