@cloud411716/fancy-webnovel 2.2.0 → 3.0.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/client.js +201 -15
- package/cordis.patch.yml +5 -0
- package/docs/douyin-plugin.md +118 -0
- package/docs/material-library/README.md +404 -0
- package/docs/material-library/import.js +437 -0
- package/docs/material-library/prompt.md +370 -0
- package/docs/material-library/queries.surql +94 -0
- package/docs/material-library/sample.jsonl +14 -0
- package/docs/material-library/schema.surql +46 -0
- package/docs/mcp-profile.example.yml +24 -0
- package/docs/story-graph-design.md +602 -0
- package/docs/story-graph-validation.md +81 -0
- package/docs/workspace-mcp.md +284 -0
- package/index.js +11 -7
- package/lib/atomic-write.js +109 -0
- package/lib/chapter-order.js +100 -0
- package/lib/confirmation.js +80 -0
- package/lib/db-init.js +123 -0
- package/lib/deployed-state.js +11 -11
- package/lib/direction-labels.js +265 -0
- package/lib/error-codes.js +31 -31
- package/lib/infra.js +29 -4
- package/lib/material-db.js +149 -0
- package/lib/path-guard.js +150 -0
- package/lib/projects.js +400 -0
- package/lib/scraper-utils.js +140 -0
- package/lib/surreal-server.js +338 -0
- package/lib/topic-decision.js +860 -0
- package/lib/topic-fields.js +251 -0
- package/lib/topic-schema.js +225 -0
- package/lib/workspace.js +501 -0
- package/package.json +29 -4
- package/plugins/fancy-analyze/analyze-definitions.md +519 -0
- package/plugins/fancy-analyze/index.js +1128 -77
- package/plugins/fancy-analyze/ingest-coverage.js +107 -0
- package/plugins/fancy-analyze/schema-analyze.md +355 -107
- package/plugins/fancy-analyze/scripts/append-summary-chapter.js +612 -0
- package/plugins/fancy-analyze/summary-progress.js +71 -7
- package/plugins/fancy-analyze/templates.js +437 -139
- package/plugins/fancy-bootstrap/index.js +276 -131
- package/plugins/fancy-bootstrap/scripts/init.js +59 -25
- package/plugins/fancy-bootstrap/templates.js +35 -18
- package/plugins/fancy-db/index.js +172 -0
- package/plugins/fancy-douyin/deploy.js +134 -0
- package/plugins/fancy-douyin/index.js +551 -0
- package/plugins/fancy-douyin/prompts/01-analysis-prompt.md +84 -0
- package/plugins/fancy-douyin/scripts/crawl-note.cjs +194 -0
- package/plugins/fancy-douyin/scripts/lib.cjs +197 -0
- package/plugins/fancy-douyin/scripts/scan-account.cjs +128 -0
- package/plugins/fancy-douyin/scripts/start-chrome.cjs +203 -0
- package/plugins/fancy-douyin/state.js +197 -0
- package/plugins/fancy-douyin/templates.js +127 -0
- package/plugins/fancy-export/exporter.js +805 -0
- package/plugins/fancy-export/index.js +63 -0
- package/plugins/fancy-import/import-driver.js +29 -6
- package/plugins/fancy-import/index.js +13 -5
- package/plugins/fancy-import/prompts/01-import-prompt.md +39 -14
- package/plugins/fancy-import/templates.js +17 -8
- package/plugins/fancy-material/exporter.js +153 -0
- package/plugins/fancy-material/genres.js +256 -0
- package/plugins/fancy-material/index.js +835 -0
- package/plugins/fancy-material/inventory.js +143 -0
- package/plugins/fancy-material/kinds.js +313 -0
- package/plugins/fancy-material/queue.js +55 -0
- package/plugins/fancy-material/scripts/query.js +254 -0
- package/plugins/fancy-material/templates.js +258 -0
- package/plugins/fancy-material/tool-deploy.js +138 -0
- package/plugins/fancy-material/validate.js +149 -0
- package/plugins/fancy-project/index.js +133 -0
- package/plugins/fancy-scan/existing-block.js +100 -0
- package/plugins/fancy-scan/index.js +410 -21
- package/plugins/fancy-scan/prompts/01-analysis-prompt.md +302 -0
- package/plugins/fancy-scan/scripts/append-block.js +725 -0
- package/plugins/fancy-scan/scripts/report-validate.js +824 -0
- package/plugins/fancy-scan/scripts/run-scan.js +169 -22
- package/plugins/fancy-scan/scripts/scrapers/fanqie-rank-scraper.js +145 -16
- package/plugins/fancy-scan/scripts/scrapers/jjwxc-rank-scraper.js +179 -49
- package/plugins/fancy-scan/scripts/scrapers/qimao-rank-scraper.js +38 -20
- package/plugins/fancy-scan/templates/blocks.js +155 -0
- package/plugins/fancy-scan/templates/platforms.js +372 -0
- package/plugins/fancy-scan/templates/report-schema.js +90 -0
- package/plugins/fancy-scan/templates.js +545 -146
- package/plugins/fancy-scan/tool-deploy.js +335 -0
- package/plugins/fancy-scan/wait-turn.js +46 -0
- package/plugins/fancy-story-builder/db/README.md +106 -0
- package/plugins/fancy-story-builder/db/client.js +228 -0
- package/plugins/fancy-story-builder/db/commands.js +145 -0
- package/plugins/fancy-story-builder/db/ids.js +39 -0
- package/plugins/fancy-story-builder/db/import.js +798 -0
- package/plugins/fancy-story-builder/db/project.js +299 -0
- package/plugins/fancy-story-builder/db/query.js +361 -0
- package/plugins/fancy-story-builder/db/schema.js +417 -0
- package/plugins/fancy-story-builder/db/stage-sync.js +238 -0
- package/plugins/fancy-story-builder/flesh-output.js +19 -6
- package/plugins/fancy-story-builder/index.js +4105 -396
- package/plugins/fancy-story-builder/patch-driver.js +390 -0
- package/plugins/fancy-story-builder/prompts/01-skeleton-prompt.md +29 -19
- package/plugins/fancy-story-builder/prompts/02-flesh-prompt.md +72 -10
- package/plugins/fancy-story-builder/prompts/03-rhythm-prompt.md +40 -5
- package/plugins/fancy-story-builder/prompts/04-writing-prompt.md +37 -0
- package/plugins/fancy-story-builder/purpose-template.md +42 -66
- package/plugins/fancy-story-builder/references/formulas-skeleton.json +229 -56
- package/plugins/fancy-story-builder/references/genre-profiles.json +3514 -0
- package/plugins/fancy-story-builder/references/glossary.md +15 -6
- package/plugins/fancy-story-builder/references/index.md +97 -6
- package/plugins/fancy-story-builder/references//350/212/202/345/245/217/346/214/207/345/257/274/00-index.md +1 -1
- package/plugins/fancy-story-builder/references//350/212/202/345/245/217/346/214/207/345/257/274/07-audit.md +25 -7
- package/plugins/fancy-story-builder/references//350/241/200/350/202/211/346/214/207/345/257/274/01-character.md +5 -1
- package/plugins/fancy-story-builder/references//350/241/200/350/202/211/346/214/207/345/257/274/03-relations.md +6 -2
- package/plugins/fancy-story-builder/references//350/241/200/350/202/211/346/214/207/345/257/274/05-audit.md +15 -5
- package/plugins/fancy-story-builder/references//351/252/250/346/236/266/346/214/207/345/257/274/00-index.md +1 -1
- package/plugins/fancy-story-builder/references//351/252/250/346/236/266/346/214/207/345/257/274/01-positioning.md +2 -1
- package/plugins/fancy-story-builder/references//351/252/250/346/236/266/346/214/207/345/257/274/03-entities.md +1 -1
- package/plugins/fancy-story-builder/references//351/252/250/346/236/266/346/214/207/345/257/274/06-audit.md +19 -1
- package/plugins/fancy-story-builder/schema-setting.json +1100 -0
- package/plugins/fancy-story-builder/schema-setting.md +201 -293
- package/plugins/fancy-story-builder/scripts/brief-validate.js +164 -0
- package/plugins/fancy-story-builder/scripts/content-quality.js +4 -1
- package/plugins/fancy-story-builder/scripts/flesh-validate.js +135 -12
- package/plugins/fancy-story-builder/scripts/graph-utils.js +146 -47
- package/plugins/fancy-story-builder/scripts/reference-log.js +110 -0
- package/plugins/fancy-story-builder/scripts/rhythm-validate.js +100 -4
- package/plugins/fancy-story-builder/scripts/schema-pages.js +2668 -0
- package/plugins/fancy-story-builder/scripts/semantic-lint.js +5 -1
- package/plugins/fancy-story-builder/scripts/skeleton-validate.js +158 -17
- package/plugins/fancy-story-builder/scripts/stage-batches.js +36 -2
- package/plugins/fancy-story-builder/scripts/stage-contract.js +12 -0
- package/plugins/fancy-story-builder/scripts/story-artifacts.js +933 -0
- package/plugins/fancy-story-builder/scripts/upstream-query.js +1 -1
- package/plugins/fancy-story-builder/scripts/v2/baseline.js +112 -0
- package/plugins/fancy-story-builder/scripts/v2/cast.js +517 -0
- package/plugins/fancy-story-builder/scripts/v2/context.js +434 -0
- package/plugins/fancy-story-builder/scripts/v2/contracts.js +493 -0
- package/plugins/fancy-story-builder/scripts/v2/core.js +419 -0
- package/plugins/fancy-story-builder/scripts/v2/engine.js +1068 -0
- package/plugins/fancy-story-builder/scripts/v2/export-markdown.js +794 -0
- package/plugins/fancy-story-builder/scripts/v2/genre.js +195 -0
- package/plugins/fancy-story-builder/scripts/v2/knowledge.js +321 -0
- package/plugins/fancy-story-builder/scripts/v2/macro.js +409 -0
- package/plugins/fancy-story-builder/scripts/v2/manifest.js +538 -0
- package/plugins/fancy-story-builder/scripts/v2/migrate.js +137 -0
- package/plugins/fancy-story-builder/scripts/v2/prompts.js +1335 -0
- package/plugins/fancy-story-builder/scripts/v2/rhythm.js +618 -0
- package/plugins/fancy-story-builder/scripts/v2/scale.js +843 -0
- package/plugins/fancy-story-builder/scripts/v2/snapshot.js +121 -0
- package/plugins/fancy-story-builder/scripts/v2/stages.js +273 -0
- package/plugins/fancy-story-builder/scripts/v2/writing.js +216 -0
- package/plugins/fancy-story-builder/storydb/README.md +271 -0
- package/plugins/fancy-story-builder/storydb/cli.js +458 -0
- package/plugins/fancy-story-builder/storydb/client.js +351 -0
- package/plugins/fancy-story-builder/storydb/compile.js +452 -0
- package/plugins/fancy-story-builder/storydb/context.js +288 -0
- package/plugins/fancy-story-builder/storydb/definitions.js +699 -0
- package/plugins/fancy-story-builder/storydb/driver.js +106 -0
- package/plugins/fancy-story-builder/storydb/dsh-tools.js +313 -0
- package/plugins/fancy-story-builder/storydb/export.js +175 -0
- package/plugins/fancy-story-builder/storydb/ids.js +31 -0
- package/plugins/fancy-story-builder/storydb/impact.js +170 -0
- package/plugins/fancy-story-builder/storydb/import.js +559 -0
- package/plugins/fancy-story-builder/storydb/mcp.js +99 -0
- package/plugins/fancy-story-builder/storydb/prompts.js +952 -0
- package/plugins/fancy-story-builder/storydb/stage-command.js +379 -0
- package/plugins/fancy-story-builder/storydb/stage.js +426 -0
- package/plugins/fancy-story-builder/storydb/store.js +891 -0
- package/plugins/fancy-story-builder/storydb/tools.js +592 -0
- package/plugins/fancy-story-builder/storydb/validation.js +183 -0
- package/plugins/fancy-story-builder/templates/v2/10-scale/scale-template.json +144 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/emotion-template.json +15 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/endings-template.json +16 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/lines-template.json +28 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/roles-template.json +10 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/story-template.json +19 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/volumes-template.json +24 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/world-template.json +24 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/characters-template.json +49 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/climaxes-template.json +14 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/conflicts-template.json +30 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/factions-template.json +18 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/foreshadows-template.json +29 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/information-template.json +29 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/items-template.json +13 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/locations-template.json +12 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/payoffs-template.json +16 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/relations-template.json +44 -0
- package/plugins/fancy-story-builder/templates/v2/40-rhythm/chapter-map-template.json +81 -0
- package/plugins/fancy-story-builder/templates/v2/40-rhythm/outline-template.json +162 -0
- package/plugins/fancy-story-builder/templates/v2/50-writing/ledger-template.json +46 -0
- package/plugins/fancy-story-builder/templates/v2/60-deslop/report-template.json +10 -0
- package/plugins/fancy-story-builder/templates//350/212/202/345/245/217//346/227/266/345/272/217/346/230/240/345/260/204/346/250/241/346/235/277.json +267 -44
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//344/270/226/347/225/214/350/247/202/350/247/204/345/210/231/346/250/241/346/235/277.json +121 -19
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/205/263/351/224/256/351/201/223/345/205/267/346/250/241/346/235/277.json +129 -21
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/205/266/344/273/226/345/256/236/344/275/223/346/250/241/346/235/277.json +62 -0
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/206/262/347/252/201/346/250/241/346/235/277.json +76 -17
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/211/247/346/203/205/346/250/241/346/235/277.json +56 -8
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/212/277/345/212/233/346/250/241/346/235/277.json +63 -13
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/234/260/347/202/271/346/250/241/346/235/277.json +34 -6
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//347/273/223/345/261/200/346/250/241/346/235/277.json +81 -18
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//350/247/222/350/211/262/346/250/241/346/235/277.json +202 -42
- package/plugins/fancy-story-builder/templates//351/252/250/346/236/266//345/205/263/347/263/273/346/250/241/346/235/277.json +160 -27
- package/plugins/fancy-story-builder/templates//351/252/250/346/236/266//345/256/236/344/275/223/346/250/241/346/235/277.json +217 -41
- package/plugins/fancy-story-builder/templates//351/252/250/346/236/266//346/241/206/346/236/266/346/250/241/346/235/277.json +215 -41
- package/plugins/fancy-story-builder/templates.js +272 -74
- package/plugins/fancy-story-builder/wiki-references.js +429 -93
- package/plugins/fancy-story-builder/writing-driver.js +336 -9
- package/plugins/fancy-topic/index.js +414 -61
- package/plugins/fancy-topic/prompts/01-exploration-prompt.md +115 -0
- package/plugins/fancy-topic/scripts/save-suggestion.js +219 -0
- package/plugins/fancy-topic/scripts/select-topic.js +106 -63
- package/plugins/fancy-topic/templates.js +225 -122
- package/plugins/fancy-topic/tool-deploy.js +200 -0
- package/lib/safe-rm.js +0 -94
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"name": "时序映射模板",
|
|
4
|
-
"description": "节奏阶段时序映射的数据结构。所有实体的章节号在此文件的
|
|
4
|
+
"description": "节奏阶段时序映射的数据结构。所有实体的章节号在此文件的 12 类时序映射中唯一表达(含 relationship_timeline)。骨架/血肉阶段的实体在这里被赋予章节位置。"
|
|
5
5
|
},
|
|
6
6
|
"structure": {
|
|
7
7
|
"type": "object",
|
|
@@ -12,50 +12,171 @@
|
|
|
12
12
|
"items": {
|
|
13
13
|
"type": "object",
|
|
14
14
|
"properties": {
|
|
15
|
-
"char_id": {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
"char_id": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"required": true,
|
|
18
|
+
"pattern": "^C\\d{3}$"
|
|
19
|
+
},
|
|
20
|
+
"appear_start": {
|
|
21
|
+
"type": "number",
|
|
22
|
+
"required": true
|
|
23
|
+
},
|
|
24
|
+
"appear_end": {
|
|
25
|
+
"type": "number",
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
28
|
+
"exit_chapter": {
|
|
29
|
+
"type": "number"
|
|
30
|
+
},
|
|
19
31
|
"arc_stages": {
|
|
20
32
|
"type": "array",
|
|
21
33
|
"items": {
|
|
22
34
|
"type": "object",
|
|
23
35
|
"properties": {
|
|
24
|
-
"stage_name": {
|
|
25
|
-
|
|
36
|
+
"stage_name": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"required": true
|
|
39
|
+
},
|
|
40
|
+
"chapter": {
|
|
41
|
+
"type": "number",
|
|
42
|
+
"required": true
|
|
43
|
+
}
|
|
26
44
|
}
|
|
27
45
|
}
|
|
28
46
|
}
|
|
29
47
|
}
|
|
30
48
|
}
|
|
31
49
|
},
|
|
50
|
+
"relationship_timeline": {
|
|
51
|
+
"type": "array",
|
|
52
|
+
"description": "角色关系的阶段变化。只写有变化的关系;每行代表一个阶段,start_chapter 是该阶段开始生效的章。",
|
|
53
|
+
"items": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"properties": {
|
|
56
|
+
"from": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"required": true,
|
|
59
|
+
"pattern": "^C\\d{3}$"
|
|
60
|
+
},
|
|
61
|
+
"to": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"required": true,
|
|
64
|
+
"pattern": "^C\\d{3}$"
|
|
65
|
+
},
|
|
66
|
+
"stage": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"required": true
|
|
69
|
+
},
|
|
70
|
+
"state": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"required": true
|
|
73
|
+
},
|
|
74
|
+
"start_chapter": {
|
|
75
|
+
"type": "number",
|
|
76
|
+
"required": true
|
|
77
|
+
},
|
|
78
|
+
"end_chapter": {
|
|
79
|
+
"type": "number"
|
|
80
|
+
},
|
|
81
|
+
"trigger_event": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"description": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"faction_relationship_timeline": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"description": "势力关系的阶段变化。只写有变化的关系;每行代表一个阶段,start_chapter 是该阶段开始生效的章。",
|
|
93
|
+
"items": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"properties": {
|
|
96
|
+
"from": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"required": true,
|
|
99
|
+
"pattern": "^F\\d{3}$"
|
|
100
|
+
},
|
|
101
|
+
"to": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"required": true,
|
|
104
|
+
"pattern": "^F\\d{3}$"
|
|
105
|
+
},
|
|
106
|
+
"stage": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"required": true
|
|
109
|
+
},
|
|
110
|
+
"state": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"required": true
|
|
113
|
+
},
|
|
114
|
+
"start_chapter": {
|
|
115
|
+
"type": "number",
|
|
116
|
+
"required": true
|
|
117
|
+
},
|
|
118
|
+
"end_chapter": {
|
|
119
|
+
"type": "number"
|
|
120
|
+
},
|
|
121
|
+
"trigger_event": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"description": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
32
130
|
"conflict_timeline": {
|
|
33
131
|
"type": "array",
|
|
34
132
|
"required": true,
|
|
35
133
|
"items": {
|
|
36
134
|
"type": "object",
|
|
37
135
|
"properties": {
|
|
38
|
-
"conflict_id": {
|
|
136
|
+
"conflict_id": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"required": true,
|
|
139
|
+
"pattern": "^X\\d{3}$"
|
|
140
|
+
},
|
|
39
141
|
"escalation_nodes": {
|
|
40
142
|
"type": "array",
|
|
41
143
|
"required": true,
|
|
42
144
|
"items": {
|
|
43
145
|
"type": "object",
|
|
44
146
|
"properties": {
|
|
45
|
-
"node_type": {
|
|
46
|
-
|
|
147
|
+
"node_type": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"required": true,
|
|
150
|
+
"enumRef": "node_type"
|
|
151
|
+
},
|
|
152
|
+
"chapter": {
|
|
153
|
+
"type": "number",
|
|
154
|
+
"required": true
|
|
155
|
+
}
|
|
47
156
|
}
|
|
48
157
|
}
|
|
49
158
|
},
|
|
50
|
-
"resolution_chapter": {
|
|
159
|
+
"resolution_chapter": {
|
|
160
|
+
"type": "number",
|
|
161
|
+
"required": true
|
|
162
|
+
},
|
|
51
163
|
"info_gaps": {
|
|
52
164
|
"type": "array",
|
|
53
165
|
"items": {
|
|
54
166
|
"type": "object",
|
|
55
167
|
"properties": {
|
|
56
|
-
"info_name": {
|
|
57
|
-
|
|
58
|
-
|
|
168
|
+
"info_name": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"required": true
|
|
171
|
+
},
|
|
172
|
+
"created": {
|
|
173
|
+
"type": "number",
|
|
174
|
+
"required": true
|
|
175
|
+
},
|
|
176
|
+
"resolved": {
|
|
177
|
+
"type": "number",
|
|
178
|
+
"required": true
|
|
179
|
+
}
|
|
59
180
|
}
|
|
60
181
|
}
|
|
61
182
|
}
|
|
@@ -68,9 +189,19 @@
|
|
|
68
189
|
"items": {
|
|
69
190
|
"type": "object",
|
|
70
191
|
"properties": {
|
|
71
|
-
"fs_id": {
|
|
72
|
-
|
|
73
|
-
|
|
192
|
+
"fs_id": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"required": true,
|
|
195
|
+
"pattern": "^FS\\d{3}$"
|
|
196
|
+
},
|
|
197
|
+
"buried_chapter": {
|
|
198
|
+
"type": "number",
|
|
199
|
+
"required": true
|
|
200
|
+
},
|
|
201
|
+
"recovered_chapter": {
|
|
202
|
+
"type": "number",
|
|
203
|
+
"required": true
|
|
204
|
+
}
|
|
74
205
|
}
|
|
75
206
|
}
|
|
76
207
|
},
|
|
@@ -80,8 +211,15 @@
|
|
|
80
211
|
"items": {
|
|
81
212
|
"type": "object",
|
|
82
213
|
"properties": {
|
|
83
|
-
"climax_id": {
|
|
84
|
-
|
|
214
|
+
"climax_id": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"required": true,
|
|
217
|
+
"pattern": "^CL\\d{3}$"
|
|
218
|
+
},
|
|
219
|
+
"chapter": {
|
|
220
|
+
"type": "number",
|
|
221
|
+
"required": true
|
|
222
|
+
}
|
|
85
223
|
}
|
|
86
224
|
}
|
|
87
225
|
},
|
|
@@ -91,8 +229,15 @@
|
|
|
91
229
|
"items": {
|
|
92
230
|
"type": "object",
|
|
93
231
|
"properties": {
|
|
94
|
-
"pleasure_id": {
|
|
95
|
-
|
|
232
|
+
"pleasure_id": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"required": true,
|
|
235
|
+
"pattern": "^PL\\d{3}$"
|
|
236
|
+
},
|
|
237
|
+
"chapter": {
|
|
238
|
+
"type": "number",
|
|
239
|
+
"required": true
|
|
240
|
+
}
|
|
96
241
|
}
|
|
97
242
|
}
|
|
98
243
|
},
|
|
@@ -102,10 +247,25 @@
|
|
|
102
247
|
"items": {
|
|
103
248
|
"type": "object",
|
|
104
249
|
"properties": {
|
|
105
|
-
"ch": {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
250
|
+
"ch": {
|
|
251
|
+
"type": "number",
|
|
252
|
+
"required": true
|
|
253
|
+
},
|
|
254
|
+
"hook_head": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"required": true,
|
|
257
|
+
"enumRef": "hook_form_head"
|
|
258
|
+
},
|
|
259
|
+
"hook_tail": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"required": true,
|
|
262
|
+
"enumRef": "hook_form_tail"
|
|
263
|
+
},
|
|
264
|
+
"hook_strength": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"required": true,
|
|
267
|
+
"enumRef": "hook_strength"
|
|
268
|
+
}
|
|
109
269
|
}
|
|
110
270
|
}
|
|
111
271
|
},
|
|
@@ -115,15 +275,25 @@
|
|
|
115
275
|
"items": {
|
|
116
276
|
"type": "object",
|
|
117
277
|
"properties": {
|
|
118
|
-
"main_id": {
|
|
278
|
+
"main_id": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"required": true,
|
|
281
|
+
"pattern": "^M\\d{3}$"
|
|
282
|
+
},
|
|
119
283
|
"key_nodes": {
|
|
120
284
|
"type": "array",
|
|
121
285
|
"required": true,
|
|
122
286
|
"items": {
|
|
123
287
|
"type": "object",
|
|
124
288
|
"properties": {
|
|
125
|
-
"chapter": {
|
|
126
|
-
|
|
289
|
+
"chapter": {
|
|
290
|
+
"type": "number",
|
|
291
|
+
"required": true
|
|
292
|
+
},
|
|
293
|
+
"event_ref": {
|
|
294
|
+
"type": "string",
|
|
295
|
+
"required": true
|
|
296
|
+
}
|
|
127
297
|
}
|
|
128
298
|
}
|
|
129
299
|
}
|
|
@@ -136,17 +306,36 @@
|
|
|
136
306
|
"items": {
|
|
137
307
|
"type": "object",
|
|
138
308
|
"properties": {
|
|
139
|
-
"branch_id": {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
309
|
+
"branch_id": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"required": true,
|
|
312
|
+
"pattern": "^B\\d{3}$"
|
|
313
|
+
},
|
|
314
|
+
"start": {
|
|
315
|
+
"type": "number",
|
|
316
|
+
"required": true
|
|
317
|
+
},
|
|
318
|
+
"turning": {
|
|
319
|
+
"type": "number",
|
|
320
|
+
"required": true
|
|
321
|
+
},
|
|
322
|
+
"resolution": {
|
|
323
|
+
"type": "number",
|
|
324
|
+
"required": true
|
|
325
|
+
},
|
|
143
326
|
"interweaves": {
|
|
144
327
|
"type": "array",
|
|
145
328
|
"items": {
|
|
146
329
|
"type": "object",
|
|
147
330
|
"properties": {
|
|
148
|
-
"chapter": {
|
|
149
|
-
|
|
331
|
+
"chapter": {
|
|
332
|
+
"type": "number",
|
|
333
|
+
"required": true
|
|
334
|
+
},
|
|
335
|
+
"description": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"required": true
|
|
338
|
+
}
|
|
150
339
|
}
|
|
151
340
|
}
|
|
152
341
|
}
|
|
@@ -159,9 +348,19 @@
|
|
|
159
348
|
"items": {
|
|
160
349
|
"type": "object",
|
|
161
350
|
"properties": {
|
|
162
|
-
"loc_id": {
|
|
163
|
-
|
|
164
|
-
|
|
351
|
+
"loc_id": {
|
|
352
|
+
"type": "string",
|
|
353
|
+
"required": true,
|
|
354
|
+
"pattern": "^L\\d{3}$"
|
|
355
|
+
},
|
|
356
|
+
"appear_start": {
|
|
357
|
+
"type": "number",
|
|
358
|
+
"required": true
|
|
359
|
+
},
|
|
360
|
+
"appear_end": {
|
|
361
|
+
"type": "number",
|
|
362
|
+
"required": true
|
|
363
|
+
}
|
|
165
364
|
}
|
|
166
365
|
}
|
|
167
366
|
},
|
|
@@ -171,9 +370,19 @@
|
|
|
171
370
|
"items": {
|
|
172
371
|
"type": "object",
|
|
173
372
|
"properties": {
|
|
174
|
-
"item_id": {
|
|
175
|
-
|
|
176
|
-
|
|
373
|
+
"item_id": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"required": true,
|
|
376
|
+
"pattern": "^P\\d{3}$"
|
|
377
|
+
},
|
|
378
|
+
"appear_start": {
|
|
379
|
+
"type": "number",
|
|
380
|
+
"required": true
|
|
381
|
+
},
|
|
382
|
+
"appear_end": {
|
|
383
|
+
"type": "number",
|
|
384
|
+
"required": true
|
|
385
|
+
}
|
|
177
386
|
}
|
|
178
387
|
}
|
|
179
388
|
},
|
|
@@ -183,16 +392,30 @@
|
|
|
183
392
|
"items": {
|
|
184
393
|
"type": "object",
|
|
185
394
|
"properties": {
|
|
186
|
-
"ending_id": {
|
|
187
|
-
|
|
395
|
+
"ending_id": {
|
|
396
|
+
"type": "string",
|
|
397
|
+
"required": true,
|
|
398
|
+
"pattern": "^E\\d{3}$"
|
|
399
|
+
},
|
|
400
|
+
"chapter": {
|
|
401
|
+
"type": "number",
|
|
402
|
+
"required": true
|
|
403
|
+
},
|
|
188
404
|
"foreshadow_recovery": {
|
|
189
405
|
"type": "array",
|
|
190
406
|
"required": true,
|
|
191
407
|
"items": {
|
|
192
408
|
"type": "object",
|
|
193
409
|
"properties": {
|
|
194
|
-
"fs_id": {
|
|
195
|
-
|
|
410
|
+
"fs_id": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"required": true,
|
|
413
|
+
"pattern": "^FS\\d{3}$"
|
|
414
|
+
},
|
|
415
|
+
"chapter": {
|
|
416
|
+
"type": "number",
|
|
417
|
+
"required": true
|
|
418
|
+
}
|
|
196
419
|
}
|
|
197
420
|
}
|
|
198
421
|
}
|
|
@@ -12,12 +12,41 @@
|
|
|
12
12
|
"items": {
|
|
13
13
|
"type": "object",
|
|
14
14
|
"properties": {
|
|
15
|
-
"id": {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
15
|
+
"id": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"required": true,
|
|
18
|
+
"pattern": "^R\\d{3}$"
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"required": true
|
|
23
|
+
},
|
|
24
|
+
"content": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
28
|
+
"applicable_scope": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"required": true
|
|
31
|
+
},
|
|
32
|
+
"exception": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"impact_on_protagonist": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"required": true
|
|
38
|
+
},
|
|
39
|
+
"traits": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"description": "3-5 个独属于该实体的特征/习惯/感官锚点",
|
|
42
|
+
"items": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"extensions": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"description": "题材特有的扩展设定;键用中文,值用字符串/数组,不要塞章节号"
|
|
49
|
+
}
|
|
21
50
|
}
|
|
22
51
|
}
|
|
23
52
|
},
|
|
@@ -27,12 +56,41 @@
|
|
|
27
56
|
"items": {
|
|
28
57
|
"type": "object",
|
|
29
58
|
"properties": {
|
|
30
|
-
"id": {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
59
|
+
"id": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"required": true,
|
|
62
|
+
"pattern": "^I\\d{3}$"
|
|
63
|
+
},
|
|
64
|
+
"name": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"required": true
|
|
67
|
+
},
|
|
68
|
+
"content": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"required": true
|
|
71
|
+
},
|
|
72
|
+
"applicable_scope": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"required": true
|
|
75
|
+
},
|
|
76
|
+
"exception": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"impact_on_protagonist": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"required": true
|
|
82
|
+
},
|
|
83
|
+
"traits": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"description": "3-5 个独属于该实体的特征/习惯/感官锚点",
|
|
86
|
+
"items": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"extensions": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"description": "题材特有的扩展设定;键用中文,值用字符串/数组,不要塞章节号"
|
|
93
|
+
}
|
|
36
94
|
}
|
|
37
95
|
}
|
|
38
96
|
},
|
|
@@ -42,11 +100,38 @@
|
|
|
42
100
|
"items": {
|
|
43
101
|
"type": "object",
|
|
44
102
|
"properties": {
|
|
45
|
-
"id": {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
103
|
+
"id": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"required": true,
|
|
106
|
+
"pattern": "^SR\\d{3}$"
|
|
107
|
+
},
|
|
108
|
+
"name": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"required": true
|
|
111
|
+
},
|
|
112
|
+
"content": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"required": true
|
|
115
|
+
},
|
|
116
|
+
"violation_consequence": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"required": true
|
|
119
|
+
},
|
|
120
|
+
"impact_on_plot": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"required": true
|
|
123
|
+
},
|
|
124
|
+
"traits": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"description": "3-5 个独属于该实体的特征/习惯/感官锚点",
|
|
127
|
+
"items": {
|
|
128
|
+
"type": "string"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"extensions": {
|
|
132
|
+
"type": "object",
|
|
133
|
+
"description": "题材特有的扩展设定;键用中文,值用字符串/数组,不要塞章节号"
|
|
134
|
+
}
|
|
50
135
|
}
|
|
51
136
|
}
|
|
52
137
|
},
|
|
@@ -56,8 +141,25 @@
|
|
|
56
141
|
"items": {
|
|
57
142
|
"type": "object",
|
|
58
143
|
"properties": {
|
|
59
|
-
"contradiction": {
|
|
60
|
-
|
|
144
|
+
"contradiction": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"required": true
|
|
147
|
+
},
|
|
148
|
+
"solution": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"required": true
|
|
151
|
+
},
|
|
152
|
+
"traits": {
|
|
153
|
+
"type": "array",
|
|
154
|
+
"description": "3-5 个独属于该实体的特征/习惯/感官锚点",
|
|
155
|
+
"items": {
|
|
156
|
+
"type": "string"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"extensions": {
|
|
160
|
+
"type": "object",
|
|
161
|
+
"description": "题材特有的扩展设定;键用中文,值用字符串/数组,不要塞章节号"
|
|
162
|
+
}
|
|
61
163
|
}
|
|
62
164
|
}
|
|
63
165
|
}
|