@liuhange/dsh-data-asset-shared 3.1.3 → 3.2.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.
@@ -1,371 +1,825 @@
1
- {
2
- "version": "1.0",
3
- "lastUpdated": "2026-08-21",
4
- "valueAssessment": {
5
- "highValue": {
6
- "keywords": ["供应链", "销售明细", "设备工况", "交易流水"],
7
- "score": 5,
8
- "label": "★★★★★",
9
- "recommendation": "优先交易,建议入表"
10
- },
11
- "mediumValue": {
12
- "keywords": ["用户行为", "产品数据", "行业报告"],
13
- "score": 3,
14
- "label": "★★★",
15
- "recommendation": "脱敏后交易"
16
- },
17
- "lowValue": {
18
- "keywords": ["日志", "备份", "临时"],
19
- "score": 1,
20
- "label": "★",
21
- "recommendation": "评估处理成本"
22
- },
23
- "defaultValue": {
24
- "score": 3,
25
- "label": "★★★",
26
- "recommendation": "需进一步评估"
27
- }
28
- },
29
- "sensitivePatterns": {
30
- "idCard": {
31
- "pattern": "[1-9]\\d{5}(18|19|20)?\\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])\\d{3}[\\dXx]",
32
- "level": "FULL"
33
- },
34
- "phone": {
35
- "pattern": "1[3-9]\\d{9}",
36
- "level": "PARTIAL"
37
- },
38
- "bankCard": {
39
- "pattern": "[1-9]\\d{15,18}",
40
- "level": "PARTIAL"
41
- },
42
- "email": {
43
- "pattern": "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}",
44
- "level": "PARTIAL"
45
- }
46
- },
47
- "maskingLevels": {
48
- "FULL": {
49
- "description": "完全匿名化",
50
- "applyTo": ["idCard"]
51
- },
52
- "PARTIAL": {
53
- "description": "假名化,保留前3后4",
54
- "applyTo": ["phone", "bankCard"]
55
- },
56
- "GENERALIZE": {
57
- "description": "泛化处理",
58
- "applyTo": ["email"]
59
- }
60
- },
61
- "cleaningRules": {
62
- "missingValueStrategy": {
63
- "government": "interpolation",
64
- "financial": "manual_review",
65
- "behavior": "mode_fill"
66
- },
67
- "qualityThreshold": {
68
- "A": { "missingRate": 0.05, "errorRate": 0.01, "label": "优秀" },
69
- "B": { "missingRate": 0.10, "errorRate": 0.03, "label": "良好" },
70
- "C": { "missingRate": 0.20, "errorRate": 0.05, "label": "合格" },
71
- "D": { "missingRate": 0.20, "errorRate": 0.05, "label": "不合格", "action": "不建议交易" }
72
- }
73
- },
74
- "compliance": {
75
- "policies": [
76
- { "name": "数据产权登记工作指引", "doc": "国数综政策〔2026〕35号", "check": "数据来源可登记" },
77
- { "name": "数据流通安全治理", "doc": "发改数据〔2025〕18号", "check": "来源合法性" },
78
- { "name": "数据脱敏工具标准", "doc": "YD/T 6225-2024", "check": "脱敏效果达标" }
79
- ]
80
- },
81
- "packaging": {
82
- "complianceStatements": [
83
- "本数据产品已完成脱敏处理",
84
- "不包含个人身份信息",
85
- "数据来源合法",
86
- "建议交易前完成数据产权登记"
87
- ],
88
- "pricingRules": [
89
- { "valueLevel": "★★★★★", "suggestion": "根据数据质量、稀缺性和应用场景综合定价,建议高价交易" },
90
- { "valueLevel": "★★★★", "suggestion": "根据数据质量和应用场景定价,建议中高价交易" },
91
- { "valueLevel": "★★★", "suggestion": "根据数据质量和应用场景综合定价" },
92
- { "valueLevel": "★★", "suggestion": "建议低价交易或内部使用" },
93
- { "valueLevel": "★", "suggestion": "建议评估处理成本后决定是否交易" }
94
- ],
95
- "defaultDescription": "适用于数据分析、模型训练、行业研究等场景",
96
- "version": "V1.0"
97
- },
98
- "qualityScoring": {
99
- "weights": {
100
- "completeness": 0.25,
101
- "accuracy": 0.25,
102
- "consistency": 0.25,
103
- "timeliness": 0.25
104
- },
105
- "thresholds": {
106
- "completeness": 60,
107
- "accuracy": 60,
108
- "consistency": 60,
109
- "timeliness": 60
110
- },
111
- "completeness": {
112
- "missingMarkers": ["null", "undefined", "N/A", "", "NULL", "NaN"]
113
- },
114
- "accuracy": {
115
- "formatRules": [
116
- { "fieldName": "phone", "pattern": "1[3-9]\\d{9}", "weight": 0.5 },
117
- { "fieldName": "email", "pattern": "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}", "weight": 0.5 }
118
- ],
119
- "domainRules": [
120
- { "fieldName": "age", "min": 0, "max": 150, "weight": 0.5 },
121
- { "fieldName": "score", "min": 0, "max": 100, "weight": 0.5 }
122
- ]
123
- },
124
- "consistency": {
125
- "crossFieldRules": [
126
- { "name": "endDateAfterStartDate", "fields": ["startDate", "endDate"], "constraint": "after" },
127
- { "name": "priceNonNegative", "fields": ["price"], "constraint": "greaterThan", "value": 0 }
128
- ]
129
- },
130
- "timeliness": {
131
- "timestampField": "updatedAt",
132
- "freshnessThresholdHours": 720
133
- }
134
- },
135
- "lineage": {
136
- "enabled": false,
137
- "storagePath": "lineage",
138
- "hashAlgorithm": "SHA-256"
139
- },
140
- "advancedMasking": {
141
- "defaultAlgorithm": "hash",
142
- "fieldAlgorithms": {},
143
- "fpe": {
144
- "key": "${FPE_KEY}",
145
- "radix": 10
146
- },
147
- "kAnonymity": {
148
- "kValue": 2,
149
- "quasiIdentifiers": ["zipCode", "age", "gender"]
150
- },
151
- "differentialPrivacy": {
152
- "epsilon": 1.0,
153
- "totalBudget": 5.0,
154
- "sensitivity": 1.0
155
- },
156
- "hash": {
157
- "algorithm": "SHA-256",
158
- "salt": "${HASH_SALT}"
159
- }
160
- },
161
- "visualization": {
162
- "charts": {
163
- "bar": { "enabled": true, "title": "脱敏统计" },
164
- "comparison": { "enabled": true, "title": "清洗前后对比" },
165
- "pie": { "enabled": true, "title": "数据资产分布" },
166
- "radar": { "enabled": true, "title": "质量评分" },
167
- "flowchart": { "enabled": true, "title": "血缘追踪" }
168
- },
169
- "layout": {
170
- "columns": 2,
171
- "responsive": true
172
- },
173
- "colorScheme": {
174
- "primary": "#4A90D9",
175
- "secondary": "#F5A623",
176
- "success": "#7ED321",
177
- "warning": "#F8E71C",
178
- "danger": "#D0021B",
179
- "background": "#F5F5F5",
180
- "text": "#333333"
181
- },
182
- "interactions": {
183
- "expandCollapse": true,
184
- "chartSwitch": true,
185
- "tooltip": true
186
- },
187
- "templateVersion": "1.0"
188
- },
189
- "sensitivityClassification": {
190
- "fieldNameRules": [
191
- { "name": "idCard", "pattern": "id_?card|身份证|identity", "level": "Secret" },
192
- { "name": "phone", "pattern": "phone|手机|mobile|tel", "level": "Confidential" },
193
- { "name": "email", "pattern": "email|邮箱|mail", "level": "Confidential" },
194
- { "name": "bankCard", "pattern": "bank_?card|银行卡|account", "level": "Secret" },
195
- { "name": "address", "pattern": "address|地址|addr", "level": "Internal" },
196
- { "name": "name", "pattern": "^name$|姓名|username", "level": "Internal" },
197
- { "name": "public", "pattern": "status|type|category|label|tag|level", "level": "Public" }
198
- ],
199
- "fieldValueRules": [
200
- { "name": "idCardValue", "pattern": "[1-9]\\d{5}(18|19|20)?\\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])\\d{3}[\\dXx]", "level": "Secret" },
201
- { "name": "phoneValue", "pattern": "1[3-9]\\d{9}", "level": "Confidential" },
202
- { "name": "emailValue", "pattern": "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}", "level": "Confidential" },
203
- { "name": "bankCardValue", "pattern": "[1-9]\\d{15,18}", "level": "Secret" }
204
- ],
205
- "levelMapping": {
206
- "Public": "none",
207
- "Internal": "partial",
208
- "Confidential": "full",
209
- "Secret": "encrypt"
210
- },
211
- "defaultLevel": "Internal"
212
- },
213
- "incrementalScheduling": {
214
- "incrementalMode": false,
215
- "cronExpression": "0 2 * * *",
216
- "hashAlgorithm": "SHA-256",
217
- "watchDirectory": "input",
218
- "stateFilePath": "state/incremental-state.json",
219
- "lockTimeout": 3600
220
- },
221
- "inventoryScan": {
222
- "assetTripleCondition": {
223
- "pastTransactionKeywords": ["交易", "采购", "采集", "生成", "购买", "合同", "协议", "业务", "系统"],
224
- "ownershipControlKeywords": ["自有", "拥有", "控制", "授权", "委托", "归属", "产权", "经营"],
225
- "economicBenefitKeywords": ["收益", "价值", "变现", "交易", "赋能", "增值", "利润", "成本", "经济"]
226
- },
227
- "ownershipClueRules": {
228
- "holdingRightFields": ["sourceSystem", "acquisitionMethod", "contractNumber", "owner"],
229
- "usageRightFields": ["usageScope", "licenseType", "authorizedUsers", "usageDuration"],
230
- "operationRightFields": ["productType", "saleChannel", "pricingModel", "commercialUse"]
231
- },
232
- "scanScaleLimit": 10000,
233
- "sensitiveKeywords": ["密码", "密钥", "token", "secret", "credential", "privateKey"]
234
- },
235
- "qualityScoringExtended": {
236
- "weights": {
237
- "normality": 0.15,
238
- "completeness": 0.20,
239
- "accuracy": 0.20,
240
- "consistency": 0.15,
241
- "timeliness": 0.15,
242
- "accessibility": 0.15
243
- },
244
- "thresholds": {
245
- "normality": 60,
246
- "completeness": 60,
247
- "accuracy": 60,
248
- "consistency": 60,
249
- "timeliness": 60,
250
- "accessibility": 60
251
- },
252
- "normality": {
253
- "fieldNamePattern": "^[a-z][a-zA-Z0-9_]*$",
254
- "requiredFields": ["id", "name", "createdAt", "updatedAt"]
255
- },
256
- "accessibility": {
257
- "readTimeoutMs": 5000,
258
- "minAccessibleRate": 0.95
259
- }
260
- },
261
- "valuation": {
262
- "costBased": {
263
- "costCategories": ["acquisition", "processing", "storage", "maintenance", "labor", "infrastructure"],
264
- "depreciationYears": 5,
265
- "depreciationMethod": "straight-line"
266
- },
267
- "incomeBased": {
268
- "defaultDiscountRate": 0.08,
269
- "defaultScenarioYears": 3,
270
- "scenarioTemplates": ["direct_sale", "subscription", "api_call", "data_sharing", "analytics_service"]
271
- },
272
- "pricingReference": {
273
- "valueLevelThresholds": {
274
- "high": 80,
275
- "medium": 60,
276
- "low": 40
277
- }
278
- },
279
- "capitalizationTraceGuard": {
280
- "enabled": true,
281
- "policyRef": "财会〔2025〕33号",
282
- "rule": "不得以评估等方式得出的金额直接作为入账和调账的依据",
283
- "warningMessage": "评估值仅供参考,不得直接作为入账依据。依据:《关于严格执行企业会计准则切实做好企业2025年年报工作的通知》(财会〔2025〕33号)——不得将以评估等方式得出的金额直接作为入账和调账的依据。"
284
- },
285
- "costReliabilityMeasurement": {
286
- "enabled": true,
287
- "policyRef": "财会〔2023〕11号",
288
- "reliabilityLevels": ["high", "medium", "low"],
289
- "criteria": {
290
- "high": "有完整凭证链,成本可直接追溯至原始发票/合同",
291
- "medium": "有部分凭证,成本经合理分摊计算",
292
- "low": "成本为估算值,缺乏完整凭证"
293
- }
294
- }
295
- },
296
- "complianceCheck": {
297
- "sourceRules": [
298
- { "id": "SRC_001", "condition": "数据来源须有合同或协议", "lawRef": "数据安全法第八条", "compliant": true },
299
- { "id": "SRC_002", "condition": "采集方式须明示告知", "lawRef": "个人信息保护法第十四条", "compliant": true },
300
- { "id": "SRC_003", "condition": "不得非法获取他人数据", "lawRef": "数据安全法第八条", "compliant": true }
301
- ],
302
- "processingRules": [
303
- { "id": "PRC_001", "condition": "加工不得超出授权范围", "lawRef": "个人信息保护法第十三条", "compliant": true },
304
- { "id": "PRC_002", "condition": "个人信息须脱敏处理", "lawRef": "个人信息保护法第五十一条", "compliant": true }
305
- ],
306
- "usageRules": [
307
- { "id": "USE_001", "condition": "使用不得超出约定场景", "lawRef": "数据安全法第八条", "compliant": true },
308
- { "id": "USE_002", "condition": "脱敏后可按一般数据流通", "lawRef": "发改数据〔2025〕18号", "compliant": true }
309
- ],
310
- "personalInfoMinimizeFields": ["idCard", "phone", "bankCard", "email", "address", "name", "birthDate"],
311
- "pilotPolicyReference": {
312
- "enabled": true,
313
- "policyName": "数据资产全过程管理试点方案",
314
- "policyRef": "财资〔2024〕167号",
315
- "keyPoints": ["台账编制", "登记", "授权运营", "收益分配", "交易流通"],
316
- "embedMessage": "依据:《数据资产全过程管理试点方案》(财资〔2024〕167号)——围绕数据资产台账编制、登记、授权运营、收益分配、交易流通等重点环节开展试点。"
317
- }
318
- },
319
- "registration": {
320
- "rules": {
321
- "disallowedScenarios": [
322
- { "id": "DIS_001", "label": "危害国家安全", "keywords": ["国家安全", "机密", "涉密"] },
323
- { "id": "DIS_002", "label": "来源违反法律法规", "keywords": ["非法", "窃取", "违规采集"] },
324
- { "id": "DIS_003", "label": "权属纠纷未解决", "keywords": ["纠纷", "争议", "诉讼"] },
325
- { "id": "DIS_004", "label": "隐瞒真实情况", "keywords": ["隐瞒", "虚假", "欺诈"] }
326
- ]
327
- },
328
- "agencies": {
329
- "mode": "local",
330
- "httpEndpoints": {
331
- "beijing": { "url": "https://sjcqdj.nda.gov.cn/api/beijing", "apiKey": "${REG_BJ_API_KEY}" },
332
- "shanghai": { "url": "https://sjcqdj.nda.gov.cn/api/shanghai", "apiKey": "${REG_SH_API_KEY}" },
333
- "shenzhen": { "url": "https://sjcqdj.nda.gov.cn/api/shenzhen", "apiKey": "${REG_SZ_API_KEY}" }
334
- }
335
- },
336
- "nationalSystem": {
337
- "url": "https://sjcqdj.nda.gov.cn",
338
- "apiKey": "${NATIONAL_REG_API_KEY}",
339
- "timeoutMs": 10000
340
- },
341
- "tripleAuditStandard": {
342
- "enabled": true,
343
- "standards": ["数据描述准确性", "数据来源合规性", "数据产权明确性"],
344
- "policyRef": "国数综政策〔2026〕35号",
345
- "promptMessage": "登记审查重点为三重审核标准:①数据描述准确性 ②数据来源合规性 ③数据产权明确性。依据:《数据产权登记工作指引(试行)》(国数综政策〔2026〕35号)。"
346
- },
347
- "sevenStepFlow": {
348
- "enabled": true,
349
- "steps": [
350
- { "step": 1, "name": "申请", "durationDays": null },
351
- { "step": 2, "name": "受理", "durationDays": 3 },
352
- { "step": 3, "name": "审查", "durationDays": null },
353
- { "step": 4, "name": "公示", "durationDays": 5 },
354
- { "step": 5, "name": "异议处理", "durationDays": 10 },
355
- { "step": 6, "name": "信息存证", "durationDays": null },
356
- { "step": 7, "name": "凭证核发", "durationDays": null }
357
- ],
358
- "policyRef": "国数综政策〔2026〕35号"
359
- },
360
- "allowedAgencies": ["beijing", "shanghai", "shenzhen"],
361
- "maxAgencyCount": 3,
362
- "onlineDate": "2026-09-11"
363
- },
364
- "pluginRoles": {
365
- "data-asset-inventory-scan": "入表资格初筛工具——专注判断哪些数据具备入表资格",
366
- "data-asset-quality-score": "质量审计工具——输出物可直接提交给审计机构作为质量依据",
367
- "data-asset-valuation": "估值底稿自动化生成器——注重成本能够可靠计量的要求",
368
- "data-asset-compliance-check": "合规预检工具——让企业先自查再找律师出正式意见",
369
- "data-asset-registration-helper": "材料生成器——材料准备环节最适合工具化"
370
- }
1
+ {
2
+ "version": "1.0",
3
+ "lastUpdated": "2026-08-21",
4
+ "valueAssessment": {
5
+ "highValue": {
6
+ "keywords": [
7
+ "供应链",
8
+ "销售明细",
9
+ "设备工况",
10
+ "交易流水"
11
+ ],
12
+ "score": 5,
13
+ "label": "★★★★★",
14
+ "recommendation": "优先交易,建议入表"
15
+ },
16
+ "mediumValue": {
17
+ "keywords": [
18
+ "用户行为",
19
+ "产品数据",
20
+ "行业报告"
21
+ ],
22
+ "score": 3,
23
+ "label": "★★★",
24
+ "recommendation": "脱敏后交易"
25
+ },
26
+ "lowValue": {
27
+ "keywords": [
28
+ "日志",
29
+ "备份",
30
+ "临时"
31
+ ],
32
+ "score": 1,
33
+ "label": "★",
34
+ "recommendation": "评估处理成本"
35
+ },
36
+ "defaultValue": {
37
+ "score": 3,
38
+ "label": "★★★",
39
+ "recommendation": "需进一步评估"
40
+ }
41
+ },
42
+ "sensitivePatterns": {
43
+ "idCard": {
44
+ "pattern": "[1-9]\\d{5}(18|19|20)?\\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])\\d{3}[\\dXx]",
45
+ "level": "FULL"
46
+ },
47
+ "phone": {
48
+ "pattern": "1[3-9]\\d{9}",
49
+ "level": "PARTIAL"
50
+ },
51
+ "bankCard": {
52
+ "pattern": "[1-9]\\d{15,18}",
53
+ "level": "PARTIAL"
54
+ },
55
+ "email": {
56
+ "pattern": "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}",
57
+ "level": "PARTIAL"
58
+ }
59
+ },
60
+ "maskingLevels": {
61
+ "FULL": {
62
+ "description": "完全匿名化",
63
+ "applyTo": [
64
+ "idCard"
65
+ ]
66
+ },
67
+ "PARTIAL": {
68
+ "description": "假名化,保留前3后4",
69
+ "applyTo": [
70
+ "phone",
71
+ "bankCard"
72
+ ]
73
+ },
74
+ "GENERALIZE": {
75
+ "description": "泛化处理",
76
+ "applyTo": [
77
+ "email"
78
+ ]
79
+ }
80
+ },
81
+ "cleaningRules": {
82
+ "missingValueStrategy": {
83
+ "government": "interpolation",
84
+ "financial": "manual_review",
85
+ "behavior": "mode_fill"
86
+ },
87
+ "qualityThreshold": {
88
+ "A": {
89
+ "missingRate": 0.05,
90
+ "errorRate": 0.01,
91
+ "label": "优秀"
92
+ },
93
+ "B": {
94
+ "missingRate": 0.1,
95
+ "errorRate": 0.03,
96
+ "label": "良好"
97
+ },
98
+ "C": {
99
+ "missingRate": 0.2,
100
+ "errorRate": 0.05,
101
+ "label": "合格"
102
+ },
103
+ "D": {
104
+ "missingRate": 0.2,
105
+ "errorRate": 0.05,
106
+ "label": "不合格",
107
+ "action": "不建议交易"
108
+ }
109
+ }
110
+ },
111
+ "compliance": {
112
+ "policies": [
113
+ {
114
+ "name": "数据产权登记工作指引",
115
+ "doc": "国数综政策〔2026〕35号",
116
+ "check": "数据来源可登记"
117
+ },
118
+ {
119
+ "name": "数据流通安全治理",
120
+ "doc": "发改数据〔2025〕18号",
121
+ "check": "来源合法性"
122
+ },
123
+ {
124
+ "name": "数据脱敏工具标准",
125
+ "doc": "YD/T 6225-2024",
126
+ "check": "脱敏效果达标"
127
+ }
128
+ ]
129
+ },
130
+ "packaging": {
131
+ "complianceStatements": [
132
+ "本数据产品已完成脱敏处理",
133
+ "不包含个人身份信息",
134
+ "数据来源合法",
135
+ "建议交易前完成数据产权登记"
136
+ ],
137
+ "pricingRules": [
138
+ {
139
+ "valueLevel": "★★★★★",
140
+ "suggestion": "根据数据质量、稀缺性和应用场景综合定价,建议高价交易"
141
+ },
142
+ {
143
+ "valueLevel": "★★★★",
144
+ "suggestion": "根据数据质量和应用场景定价,建议中高价交易"
145
+ },
146
+ {
147
+ "valueLevel": "★★★",
148
+ "suggestion": "根据数据质量和应用场景综合定价"
149
+ },
150
+ {
151
+ "valueLevel": "★★",
152
+ "suggestion": "建议低价交易或内部使用"
153
+ },
154
+ {
155
+ "valueLevel": "★",
156
+ "suggestion": "建议评估处理成本后决定是否交易"
157
+ }
158
+ ],
159
+ "defaultDescription": "适用于数据分析、模型训练、行业研究等场景",
160
+ "version": "V1.0"
161
+ },
162
+ "qualityScoring": {
163
+ "weights": {
164
+ "completeness": 0.25,
165
+ "accuracy": 0.25,
166
+ "consistency": 0.25,
167
+ "timeliness": 0.25
168
+ },
169
+ "thresholds": {
170
+ "completeness": 60,
171
+ "accuracy": 60,
172
+ "consistency": 60,
173
+ "timeliness": 60
174
+ },
175
+ "completeness": {
176
+ "missingMarkers": [
177
+ "null",
178
+ "undefined",
179
+ "N/A",
180
+ "",
181
+ "NULL",
182
+ "NaN"
183
+ ]
184
+ },
185
+ "accuracy": {
186
+ "formatRules": [
187
+ {
188
+ "fieldName": "phone",
189
+ "pattern": "1[3-9]\\d{9}",
190
+ "weight": 0.5
191
+ },
192
+ {
193
+ "fieldName": "email",
194
+ "pattern": "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}",
195
+ "weight": 0.5
196
+ }
197
+ ],
198
+ "domainRules": [
199
+ {
200
+ "fieldName": "age",
201
+ "min": 0,
202
+ "max": 150,
203
+ "weight": 0.5
204
+ },
205
+ {
206
+ "fieldName": "score",
207
+ "min": 0,
208
+ "max": 100,
209
+ "weight": 0.5
210
+ }
211
+ ]
212
+ },
213
+ "consistency": {
214
+ "crossFieldRules": [
215
+ {
216
+ "name": "endDateAfterStartDate",
217
+ "fields": [
218
+ "startDate",
219
+ "endDate"
220
+ ],
221
+ "constraint": "after"
222
+ },
223
+ {
224
+ "name": "priceNonNegative",
225
+ "fields": [
226
+ "price"
227
+ ],
228
+ "constraint": "greaterThan",
229
+ "value": 0
230
+ }
231
+ ]
232
+ },
233
+ "timeliness": {
234
+ "timestampField": "updatedAt",
235
+ "freshnessThresholdHours": 720
236
+ }
237
+ },
238
+ "lineage": {
239
+ "enabled": false,
240
+ "storagePath": "lineage",
241
+ "hashAlgorithm": "SHA-256"
242
+ },
243
+ "advancedMasking": {
244
+ "defaultAlgorithm": "hash",
245
+ "fieldAlgorithms": {},
246
+ "fpe": {
247
+ "key": "${FPE_KEY}",
248
+ "radix": 10
249
+ },
250
+ "kAnonymity": {
251
+ "kValue": 2,
252
+ "quasiIdentifiers": [
253
+ "zipCode",
254
+ "age",
255
+ "gender"
256
+ ]
257
+ },
258
+ "differentialPrivacy": {
259
+ "epsilon": 1,
260
+ "totalBudget": 5,
261
+ "sensitivity": 1
262
+ },
263
+ "hash": {
264
+ "algorithm": "SHA-256",
265
+ "salt": "${HASH_SALT}"
266
+ }
267
+ },
268
+ "visualization": {
269
+ "charts": {
270
+ "bar": {
271
+ "enabled": true,
272
+ "title": "脱敏统计"
273
+ },
274
+ "comparison": {
275
+ "enabled": true,
276
+ "title": "清洗前后对比"
277
+ },
278
+ "pie": {
279
+ "enabled": true,
280
+ "title": "数据资产分布"
281
+ },
282
+ "radar": {
283
+ "enabled": true,
284
+ "title": "质量评分"
285
+ },
286
+ "flowchart": {
287
+ "enabled": true,
288
+ "title": "血缘追踪"
289
+ }
290
+ },
291
+ "layout": {
292
+ "columns": 2,
293
+ "responsive": true
294
+ },
295
+ "colorScheme": {
296
+ "primary": "#4A90D9",
297
+ "secondary": "#F5A623",
298
+ "success": "#7ED321",
299
+ "warning": "#F8E71C",
300
+ "danger": "#D0021B",
301
+ "background": "#F5F5F5",
302
+ "text": "#333333"
303
+ },
304
+ "interactions": {
305
+ "expandCollapse": true,
306
+ "chartSwitch": true,
307
+ "tooltip": true
308
+ },
309
+ "templateVersion": "1.0"
310
+ },
311
+ "sensitivityClassification": {
312
+ "fieldNameRules": [
313
+ {
314
+ "name": "idCard",
315
+ "pattern": "id_?card|身份证|identity",
316
+ "level": "Secret"
317
+ },
318
+ {
319
+ "name": "phone",
320
+ "pattern": "phone|手机|mobile|tel",
321
+ "level": "Confidential"
322
+ },
323
+ {
324
+ "name": "email",
325
+ "pattern": "email|邮箱|mail",
326
+ "level": "Confidential"
327
+ },
328
+ {
329
+ "name": "bankCard",
330
+ "pattern": "bank_?card|银行卡|account",
331
+ "level": "Secret"
332
+ },
333
+ {
334
+ "name": "address",
335
+ "pattern": "address|地址|addr",
336
+ "level": "Internal"
337
+ },
338
+ {
339
+ "name": "name",
340
+ "pattern": "^name$|姓名|username",
341
+ "level": "Internal"
342
+ },
343
+ {
344
+ "name": "public",
345
+ "pattern": "status|type|category|label|tag|level",
346
+ "level": "Public"
347
+ }
348
+ ],
349
+ "fieldValueRules": [
350
+ {
351
+ "name": "idCardValue",
352
+ "pattern": "[1-9]\\d{5}(18|19|20)?\\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])\\d{3}[\\dXx]",
353
+ "level": "Secret"
354
+ },
355
+ {
356
+ "name": "phoneValue",
357
+ "pattern": "1[3-9]\\d{9}",
358
+ "level": "Confidential"
359
+ },
360
+ {
361
+ "name": "emailValue",
362
+ "pattern": "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}",
363
+ "level": "Confidential"
364
+ },
365
+ {
366
+ "name": "bankCardValue",
367
+ "pattern": "[1-9]\\d{15,18}",
368
+ "level": "Secret"
369
+ }
370
+ ],
371
+ "levelMapping": {
372
+ "Public": "none",
373
+ "Internal": "partial",
374
+ "Confidential": "full",
375
+ "Secret": "encrypt"
376
+ },
377
+ "defaultLevel": "Internal"
378
+ },
379
+ "incrementalScheduling": {
380
+ "incrementalMode": false,
381
+ "cronExpression": "0 2 * * *",
382
+ "hashAlgorithm": "SHA-256",
383
+ "watchDirectory": "input",
384
+ "stateFilePath": "state/incremental-state.json",
385
+ "lockTimeout": 3600
386
+ },
387
+ "inventoryScan": {
388
+ "assetTripleCondition": {
389
+ "pastTransactionKeywords": [
390
+ "交易",
391
+ "采购",
392
+ "采集",
393
+ "生成",
394
+ "购买",
395
+ "合同",
396
+ "协议",
397
+ "业务",
398
+ "系统"
399
+ ],
400
+ "ownershipControlKeywords": [
401
+ "自有",
402
+ "拥有",
403
+ "控制",
404
+ "授权",
405
+ "委托",
406
+ "归属",
407
+ "产权",
408
+ "经营"
409
+ ],
410
+ "economicBenefitKeywords": [
411
+ "收益",
412
+ "价值",
413
+ "变现",
414
+ "交易",
415
+ "赋能",
416
+ "增值",
417
+ "利润",
418
+ "成本",
419
+ "经济"
420
+ ]
421
+ },
422
+ "ownershipClueRules": {
423
+ "holdingRightFields": [
424
+ "sourceSystem",
425
+ "acquisitionMethod",
426
+ "contractNumber",
427
+ "owner"
428
+ ],
429
+ "usageRightFields": [
430
+ "usageScope",
431
+ "licenseType",
432
+ "authorizedUsers",
433
+ "usageDuration"
434
+ ],
435
+ "operationRightFields": [
436
+ "productType",
437
+ "saleChannel",
438
+ "pricingModel",
439
+ "commercialUse"
440
+ ]
441
+ },
442
+ "scanScaleLimit": 10000,
443
+ "sensitiveKeywords": [
444
+ "密码",
445
+ "密钥",
446
+ "token",
447
+ "secret",
448
+ "credential",
449
+ "privateKey"
450
+ ]
451
+ },
452
+ "qualityScoringExtended": {
453
+ "weights": {
454
+ "normality": 0.15,
455
+ "completeness": 0.2,
456
+ "accuracy": 0.2,
457
+ "consistency": 0.15,
458
+ "timeliness": 0.15,
459
+ "accessibility": 0.15
460
+ },
461
+ "thresholds": {
462
+ "normality": 60,
463
+ "completeness": 60,
464
+ "accuracy": 60,
465
+ "consistency": 60,
466
+ "timeliness": 60,
467
+ "accessibility": 60
468
+ },
469
+ "normality": {
470
+ "fieldNamePattern": "^[a-z][a-zA-Z0-9_]*$",
471
+ "requiredFields": [
472
+ "id",
473
+ "name",
474
+ "createdAt",
475
+ "updatedAt"
476
+ ]
477
+ },
478
+ "accessibility": {
479
+ "readTimeoutMs": 5000,
480
+ "minAccessibleRate": 0.95
481
+ }
482
+ },
483
+ "valuation": {
484
+ "costBased": {
485
+ "costCategories": [
486
+ "acquisition",
487
+ "processing",
488
+ "storage",
489
+ "maintenance",
490
+ "labor",
491
+ "infrastructure"
492
+ ],
493
+ "depreciationYears": 5,
494
+ "depreciationMethod": "straight-line"
495
+ },
496
+ "incomeBased": {
497
+ "defaultDiscountRate": 0.08,
498
+ "defaultScenarioYears": 3,
499
+ "scenarioTemplates": [
500
+ "direct_sale",
501
+ "subscription",
502
+ "api_call",
503
+ "data_sharing",
504
+ "analytics_service"
505
+ ]
506
+ },
507
+ "pricingReference": {
508
+ "valueLevelThresholds": {
509
+ "high": 80,
510
+ "medium": 60,
511
+ "low": 40
512
+ }
513
+ },
514
+ "capitalizationTraceGuard": {
515
+ "enabled": true,
516
+ "policyRef": "财会〔2025〕33号",
517
+ "rule": "不得以评估等方式得出的金额直接作为入账和调账的依据",
518
+ "warningMessage": "评估值仅供参考,不得直接作为入账依据。依据:《关于严格执行企业会计准则切实做好企业2025年年报工作的通知》(财会〔2025〕33号)——不得将以评估等方式得出的金额直接作为入账和调账的依据。"
519
+ },
520
+ "costReliabilityMeasurement": {
521
+ "enabled": true,
522
+ "policyRef": "财会〔2023〕11号",
523
+ "reliabilityLevels": [
524
+ "high",
525
+ "medium",
526
+ "low"
527
+ ],
528
+ "criteria": {
529
+ "high": "有完整凭证链,成本可直接追溯至原始发票/合同",
530
+ "medium": "有部分凭证,成本经合理分摊计算",
531
+ "low": "成本为估算值,缺乏完整凭证"
532
+ }
533
+ }
534
+ },
535
+ "complianceCheck": {
536
+ "sourceRules": [
537
+ {
538
+ "id": "SRC_001",
539
+ "condition": "数据来源须有合同或协议",
540
+ "lawRef": "数据安全法第八条",
541
+ "compliant": true
542
+ },
543
+ {
544
+ "id": "SRC_002",
545
+ "condition": "采集方式须明示告知",
546
+ "lawRef": "个人信息保护法第十四条",
547
+ "compliant": true
548
+ },
549
+ {
550
+ "id": "SRC_003",
551
+ "condition": "不得非法获取他人数据",
552
+ "lawRef": "数据安全法第八条",
553
+ "compliant": true
554
+ }
555
+ ],
556
+ "processingRules": [
557
+ {
558
+ "id": "PRC_001",
559
+ "condition": "加工不得超出授权范围",
560
+ "lawRef": "个人信息保护法第十三条",
561
+ "compliant": true
562
+ },
563
+ {
564
+ "id": "PRC_002",
565
+ "condition": "个人信息须脱敏处理",
566
+ "lawRef": "个人信息保护法第五十一条",
567
+ "compliant": true
568
+ }
569
+ ],
570
+ "usageRules": [
571
+ {
572
+ "id": "USE_001",
573
+ "condition": "使用不得超出约定场景",
574
+ "lawRef": "数据安全法第八条",
575
+ "compliant": true
576
+ },
577
+ {
578
+ "id": "USE_002",
579
+ "condition": "脱敏后可按一般数据流通",
580
+ "lawRef": "发改数据〔2025〕18号",
581
+ "compliant": true
582
+ }
583
+ ],
584
+ "personalInfoMinimizeFields": [
585
+ "idCard",
586
+ "phone",
587
+ "bankCard",
588
+ "email",
589
+ "address",
590
+ "name",
591
+ "birthDate"
592
+ ],
593
+ "pilotPolicyReference": {
594
+ "enabled": true,
595
+ "policyName": "数据资产全过程管理试点方案",
596
+ "policyRef": "财资〔2024〕167号",
597
+ "keyPoints": [
598
+ "台账编制",
599
+ "登记",
600
+ "授权运营",
601
+ "收益分配",
602
+ "交易流通"
603
+ ],
604
+ "embedMessage": "依据:《数据资产全过程管理试点方案》(财资〔2024〕167号)——围绕数据资产台账编制、登记、授权运营、收益分配、交易流通等重点环节开展试点。"
605
+ }
606
+ },
607
+ "registration": {
608
+ "rules": {
609
+ "disallowedScenarios": [
610
+ {
611
+ "id": "DIS_001",
612
+ "label": "危害国家安全",
613
+ "keywords": [
614
+ "国家安全",
615
+ "机密",
616
+ "涉密"
617
+ ]
618
+ },
619
+ {
620
+ "id": "DIS_002",
621
+ "label": "来源违反法律法规",
622
+ "keywords": [
623
+ "非法",
624
+ "窃取",
625
+ "违规采集"
626
+ ]
627
+ },
628
+ {
629
+ "id": "DIS_003",
630
+ "label": "权属纠纷未解决",
631
+ "keywords": [
632
+ "纠纷",
633
+ "争议",
634
+ "诉讼"
635
+ ]
636
+ },
637
+ {
638
+ "id": "DIS_004",
639
+ "label": "隐瞒真实情况",
640
+ "keywords": [
641
+ "隐瞒",
642
+ "虚假",
643
+ "欺诈"
644
+ ]
645
+ }
646
+ ]
647
+ },
648
+ "agencies": {
649
+ "mode": "local",
650
+ "httpEndpoints": {
651
+ "beijing": {
652
+ "url": "https://sjcqdj.nda.gov.cn/api/beijing",
653
+ "apiKey": "${REG_BJ_API_KEY}"
654
+ },
655
+ "shanghai": {
656
+ "url": "https://sjcqdj.nda.gov.cn/api/shanghai",
657
+ "apiKey": "${REG_SH_API_KEY}"
658
+ },
659
+ "shenzhen": {
660
+ "url": "https://sjcqdj.nda.gov.cn/api/shenzhen",
661
+ "apiKey": "${REG_SZ_API_KEY}"
662
+ }
663
+ }
664
+ },
665
+ "nationalSystem": {
666
+ "url": "https://sjcqdj.nda.gov.cn",
667
+ "apiKey": "${NATIONAL_REG_API_KEY}",
668
+ "timeoutMs": 10000
669
+ },
670
+ "tripleAuditStandard": {
671
+ "enabled": true,
672
+ "standards": [
673
+ "数据描述准确性",
674
+ "数据来源合规性",
675
+ "数据产权明确性"
676
+ ],
677
+ "policyRef": "国数综政策〔2026〕35号",
678
+ "promptMessage": "登记审查重点为三重审核标准:①数据描述准确性 ②数据来源合规性 ③数据产权明确性。依据:《数据产权登记工作指引(试行)》(国数综政策〔2026〕35号)。"
679
+ },
680
+ "sevenStepFlow": {
681
+ "enabled": true,
682
+ "steps": [
683
+ {
684
+ "step": 1,
685
+ "name": "申请",
686
+ "durationDays": null
687
+ },
688
+ {
689
+ "step": 2,
690
+ "name": "受理",
691
+ "durationDays": 3
692
+ },
693
+ {
694
+ "step": 3,
695
+ "name": "审查",
696
+ "durationDays": null
697
+ },
698
+ {
699
+ "step": 4,
700
+ "name": "公示",
701
+ "durationDays": 5
702
+ },
703
+ {
704
+ "step": 5,
705
+ "name": "异议处理",
706
+ "durationDays": 10
707
+ },
708
+ {
709
+ "step": 6,
710
+ "name": "信息存证",
711
+ "durationDays": null
712
+ },
713
+ {
714
+ "step": 7,
715
+ "name": "凭证核发",
716
+ "durationDays": null
717
+ }
718
+ ],
719
+ "policyRef": "国数综政策〔2026〕35号"
720
+ },
721
+ "allowedAgencies": [
722
+ "beijing",
723
+ "shanghai",
724
+ "shenzhen"
725
+ ],
726
+ "maxAgencyCount": 3,
727
+ "onlineDate": "2026-09-11"
728
+ },
729
+ "pluginRoles": {
730
+ "data-asset-inventory-scan": "入表资格初筛工具——专注判断哪些数据具备入表资格",
731
+ "data-asset-quality-score": "质量审计工具——输出物可直接提交给审计机构作为质量依据",
732
+ "data-asset-valuation": "估值底稿自动化生成器——注重成本能够可靠计量的要求",
733
+ "data-asset-compliance-check": "合规预检工具——让企业先自查再找律师出正式意见",
734
+ "data-asset-registration-helper": "材料生成器——材料准备环节最适合工具化"
735
+ },
736
+ "attestation": {
737
+ "inspector": "dsh-visibility-doctor",
738
+ "severityMapping": {
739
+ "critical": 20,
740
+ "major": 10,
741
+ "minor": 5
742
+ },
743
+ "statementTemplate": {
744
+ "scope": "本鉴证报告基于数据质量六维评分结果生成",
745
+ "basis": "依据《数据质量鉴证评价方法》(T/CIIA 060-2025)及《企业数据资源相关会计处理暂行规定》(财会〔2023〕11号)",
746
+ "conclusion": "鉴证结论:数据质量符合/不符合入表要求"
747
+ }
748
+ },
749
+ "aiDatasetInspection": {
750
+ "kappaThreshold": 0.7,
751
+ "minSampleThreshold": 50,
752
+ "leakDetectionScaleLimit": 1000000
753
+ },
754
+ "govDataInspection": {
755
+ "guideRequiredElements": [
756
+ "办理条件",
757
+ "申请材料",
758
+ "办理流程",
759
+ "办理时限"
760
+ ],
761
+ "semanticErrorRules": [
762
+ "字段语义与业务含义不匹配",
763
+ "枚举值超出定义范围"
764
+ ],
765
+ "logicErrorRules": [
766
+ "前置条件与后续流程矛盾",
767
+ "办理时限早于申请日期"
768
+ ],
769
+ "businessNormRules": [
770
+ "字段命名符合政务数据规范",
771
+ "编码符合国标要求"
772
+ ],
773
+ "convenienceWeights": {
774
+ "timeLimit": 0.3,
775
+ "onlineCapable": 0.4,
776
+ "materialConcise": 0.3
777
+ },
778
+ "gbt47949Mapping": {
779
+ "structured": "A01",
780
+ "semiStructured": "A02",
781
+ "unstructured": "A03"
782
+ }
783
+ },
784
+ "dataCirculationAssessment": {
785
+ "tdsAccessCriteria": {
786
+ "tech": [
787
+ "身份认证",
788
+ "资源封装",
789
+ "目录维护",
790
+ "审计追溯"
791
+ ],
792
+ "compliance": [
793
+ "网络数据安全管理条例",
794
+ "GB/T 41479-2022"
795
+ ]
796
+ },
797
+ "tradeComplianceRules": [
798
+ "参与方合规",
799
+ "交易平台合规",
800
+ "交易标的合规",
801
+ "交易过程合规"
802
+ ],
803
+ "weights": {
804
+ "compliance": 0.4,
805
+ "tdsAccess": 0.3,
806
+ "tradePrediction": 0.3
807
+ }
808
+ },
809
+ "cityDataClassification": {
810
+ "aiService": {
811
+ "endpoint": "${AI_CLASSIFY_ENDPOINT}",
812
+ "model": "city-data-classifier-v1",
813
+ "timeoutMs": 30000,
814
+ "retryCount": 2
815
+ },
816
+ "gbt47949CodePattern": "^[A-Z]d{2}d{2}$",
817
+ "sensitivityGradingRules": {
818
+ "public": "公开",
819
+ "internal": "内部",
820
+ "confidential": "机密",
821
+ "restricted": "绝密"
822
+ },
823
+ "confidenceThreshold": 0.6
824
+ }
371
825
  }