From 90e6dcb8e93d66fde32b46fdf320b937c58f9183 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Fri, 13 Feb 2026 01:19:15 +0100 Subject: [PATCH] fix(content): update dialogue-pool schema arrays per D-035 situation, topic, and mood fields changed from single string to array type to match D-035 specification (list). access and trust were already correct as arrays. Co-Authored-By: Claude Opus 4.6 --- content/_schema/dialogue-pool.schema.json | 51 ++++++++++++++--------- 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/content/_schema/dialogue-pool.schema.json b/content/_schema/dialogue-pool.schema.json index da764d30d..de3ee9aee 100644 --- a/content/_schema/dialogue-pool.schema.json +++ b/content/_schema/dialogue-pool.schema.json @@ -59,29 +59,42 @@ "description": "Minimum trust level required" }, "situation": { - "type": "string", - "enum": [ - "arrival", "shift_start", "shift_end", "shift_transition", - "bar_evening", "night_shift", "investigation", "confrontation", - "social", "alone", "emergency", "routine", "observation" - ], - "description": "Situation context when this line can fire" + "type": "array", + "items": { + "type": "string", + "enum": [ + "arrival", "shift_start", "shift_end", "shift_transition", + "bar_evening", "night_shift", "investigation", "confrontation", + "social", "alone", "emergency", "routine", "observation" + ] + }, + "minItems": 1, + "uniqueItems": true, + "description": "Situation contexts when this line can fire (D-035: list)" }, "topic": { - "type": "string", - "enum": [ - "colleague", "routine", "cargo", "money", "trust", - "danger", "institution", "personal", "investigation" - ], - "description": "Topic tag for selection weighting" + "type": "array", + "items": { + "type": "string", + "enum": [ + "colleague", "routine", "cargo", "money", "trust", + "danger", "institution", "personal", "investigation" + ] + }, + "uniqueItems": true, + "description": "Topic tags for selection weighting (D-035: list)" }, "mood": { - "type": "string", - "enum": [ - "fond", "comfortable", "worried", "suspicious", - "analytical", "conflicted", "concerned", "relieved" - ], - "description": "Mood tag for selection weighting" + "type": "array", + "items": { + "type": "string", + "enum": [ + "fond", "comfortable", "worried", "suspicious", + "analytical", "conflicted", "concerned", "relieved" + ] + }, + "uniqueItems": true, + "description": "Mood tags for selection weighting (D-035: list)" }, "tags": { "type": "array",