@x12i/memorix-metadata 3.2.1 → 3.2.3

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 (38) hide show
  1. package/README.md +86 -86
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +1 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/platform-interfaces.d.ts +29 -0
  7. package/dist/platform-interfaces.d.ts.map +1 -0
  8. package/dist/platform-interfaces.js +53 -0
  9. package/dist/platform-interfaces.js.map +1 -0
  10. package/dist/resolve.d.ts.map +1 -1
  11. package/dist/resolve.js +111 -0
  12. package/dist/resolve.js.map +1 -1
  13. package/dist/types.d.ts +47 -0
  14. package/dist/types.d.ts.map +1 -1
  15. package/dist/validate.d.ts.map +1 -1
  16. package/dist/validate.js +19 -0
  17. package/dist/validate.js.map +1 -1
  18. package/examples/custom-kinds/acme-ui-tabs.pack.json +62 -62
  19. package/examples/invalid/agent-classification.json +709 -709
  20. package/examples/invalid/broken-binding.json +688 -688
  21. package/examples/invalid/completion-mapping-with-exec-policy.json +659 -659
  22. package/examples/invalid/missing-parent.json +708 -708
  23. package/examples/invalid/operational-kind-root.json +720 -720
  24. package/examples/invalid/pipeline-unknown-service.json +611 -611
  25. package/examples/invalid/relationship-missing-rules.json +624 -624
  26. package/examples/invalid/relationship-with-storage.json +631 -631
  27. package/examples/invalid/service-with-secrets.json +679 -679
  28. package/examples/knowx/normalized/pack.json +47 -146
  29. package/examples/opx/normalized/pack.json +4 -116
  30. package/examples/opx/raw/abstract-types.json +244 -244
  31. package/examples/opx/raw/agents.json +33 -33
  32. package/examples/opx/raw/object-types.json +101 -101
  33. package/examples/opx/raw/pipelines-and-sources.json +264 -264
  34. package/examples/opx/raw/relationship-definitions.json +80 -80
  35. package/examples/opx/raw/view-definitions.json +32 -32
  36. package/examples/opx/raw/write-and-source-mappings.json +223 -223
  37. package/examples/project-opx/normalized/pack.json +1036 -1036
  38. 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
+ }