addedInput schema / properties / priors
Added value: +{
+ "description": "Caller-supplied category-norm defaults (e.g. wall thickness) recorded verbatim as `assumed` ledger facts.",
+ "items": {
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "id": {
+ "type": "string"
+ },
+ "statement": {
+ "type": "string"
+ },
+ "value": {}
+ },
+ "required": [
+ "id",
+ "statement",
+ "value",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedInput schema / properties / scaleAnchor
Added value: +{
+ "description": "Pixel-to-real-world scale anchor: two measured points on the image. Absent -> the returned ledger's `scale` fact is `missing`.",
+ "properties": {
+ "pixelDistance": {
+ "description": "Distance in pixels between the two measured points.",
+ "type": "number"
+ },
+ "realDistance": {
+ "description": "The same distance in real-world units.",
+ "type": "number"
+ },
+ "unit": {
+ "enum": [
+ "mm",
+ "cm",
+ "in"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "pixelDistance",
+ "realDistance",
+ "unit"
+ ],
+ "type": "object"
+}
addedInput schema / properties / validate
Added value: +{
+ "description": "Assumption-ledger strictness. `warn` (default) never blocks. `error` fails the call when any `missing` ledger fact (e.g. scale) is still open.",
+ "enum": [
+ "warn",
+ "error"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / ledger
Added value: +{
+ "additionalProperties": true,
+ "description": "Assumption ledger: { facts, scale?, unresolvedCount } classifying every fact as visible/inferred/assumed/missing.",
+ "type": "object"
+}
changedOutput schema / required
Previous value: -[
- "ok",
- "features",
- "imageDims",
- "diagnostics"
-]New value: +[
+ "ok",
+ "features",
+ "imageDims",
+ "diagnostics",
+ "ledger"
+]