diff --git a/crates/weksa/tests/entities.rs b/crates/weksa/tests/entities.rs index 11e3d7d..4f8f2f2 100644 --- a/crates/weksa/tests/entities.rs +++ b/crates/weksa/tests/entities.rs @@ -418,5 +418,8 @@ fn packet_schema_v2() { assert!(published.contains_key("weksa.entity.schema.json")); // v4: the packet carries the speaker's stance, a bare feature list. assert!(packet["properties"].get("stance").is_some(), "{packet}"); - assert_eq!(packet["$defs"]["Stance"]["properties"]["features"]["type"], "array"); + assert_eq!( + packet["$defs"]["Stance"]["properties"]["features"]["type"], + "array" + ); } diff --git a/data/interlingua/inventory.cc b/data/interlingua/inventory.cc index 037a2cc..b7b5dc4 100644 Binary files a/data/interlingua/inventory.cc and b/data/interlingua/inventory.cc differ diff --git a/schemas/cultnet/weksa.interlingua_packet.schema.json b/schemas/cultnet/weksa.interlingua_packet.schema.json index 24d7507..d839203 100644 --- a/schemas/cultnet/weksa.interlingua_packet.schema.json +++ b/schemas/cultnet/weksa.interlingua_packet.schema.json @@ -55,6 +55,9 @@ "format": "uint32", "minimum": 0 }, + "stance": { + "$ref": "#/$defs/Stance" + }, "trace": { "$ref": "#/$defs/Trace" } @@ -72,7 +75,8 @@ "relations", "constraints", "extensions", - "trace" + "trace", + "stance" ], "$defs": { "Constraints": { @@ -446,6 +450,21 @@ "filler" ] }, + "Stance": { + "description": "The speaker's felt affect and restraint, never displayed affect: how the\nspeaker shows a feeling is each language's ontology's business. A\nheld-back feeling is not a claim, so it is never a predication.", + "type": "object", + "properties": { + "features": { + "type": "array", + "items": { + "$ref": "#/$defs/FeatureValue" + } + } + }, + "required": [ + "features" + ] + }, "Trace": { "description": "Authoring and debug notes. Stripped before lowering.", "type": "object", diff --git a/schemas/cultnet/weksa.inventory_entry.schema.json b/schemas/cultnet/weksa.inventory_entry.schema.json index 6187f02..ffefd95 100644 --- a/schemas/cultnet/weksa.inventory_entry.schema.json +++ b/schemas/cultnet/weksa.inventory_entry.schema.json @@ -74,7 +74,8 @@ "Discourse", "Referent", "Predication", - "Relation" + "Relation", + "Stance" ] }, "ValueKind": {