changedOutput schema / (root)
Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": false,
- "properties": {
- "has_vector_linework": {
- "description": "false = a scan: vectors and hatch are empty because there are none, not because the region is blank",
- "type": "boolean"
- },
- "hatch": {
- "additionalProperties": false,
- "properties": {
- "count": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "families": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "angle_deg": {
- "description": "Raw mean angle [0, 180) — rides beside the id for tolerance matching at bucket boundaries",
- "type": "number"
- },
- "bbox": {
- "description": "The instance's tight bbox [x0, y0, x1, y1], image px",
- "items": {
- "type": "number"
- },
- "maxItems": 4,
- "minItems": 4,
- "type": "array"
- },
- "id": {
- "description": "Content hash of the quantized (angle, pitch, pen-width) signature — the SAME id for the same pattern spec anywhere on the sheet, so legend↔plan matching is id === id. Identifies a pattern, not a material; the legend maps pattern → material.",
- "type": "string"
- },
- "pen_w_px": {
- "description": "Modal device pen width of the members",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "pitch_px": {
- "description": "Raw median row pitch, image px",
- "type": "number"
- },
- "rows": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "segments": {
- "description": "Member segments in the whole instance",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "segments_in_region": {
- "description": "…of which this many were returned in vectors (post-decimation)",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "angle_deg",
- "pitch_px",
- "pen_w_px",
- "rows",
- "segments",
- "segments_in_region",
- "bbox"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "families",
- "count"
- ],
- "type": "object"
- },
- "page": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "region": {
- "description": "The region actually resolved, post-clamp — pass this same rect to view_sheet and the render is in the same frame by construction",
- "items": {
- "type": "number"
- },
- "maxItems": 4,
- "minItems": 4,
- "type": "array"
- },
- "sheet": {
- "type": "string"
- },
- "sheet_px": {
- "items": {
- "type": "number"
- },
- "maxItems": 2,
- "minItems": 2,
- "type": "array"
- },
- "text": {
- "additionalProperties": false,
- "properties": {
- "count": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "spans": {
- "description": "Text with bboxes, image px, same frame as the vectors",
- "items": {
- "additionalProperties": false,
- "properties": {
- "rot": {
- "description": "Run direction in degrees, clockwise, y down — present only when rotated (90/270 = a quarter-turn, e.g. rotated schedule headers)",
- "type": "number"
- },
- "str": {
- "type": "string"
- },
- "x0": {
- "type": "number"
- },
- "x1": {
- "type": "number"
- },
- "y0": {
- "type": "number"
- },
- "y1": {
- "type": "number"
- }
- },
- "required": [
- "str",
- "x0",
- "y0",
- "x1",
- "y1"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "spans",
- "count"
- ],
- "type": "object"
- },
- "vectors": {
- "additionalProperties": false,
- "properties": {
- "dropped": {
- "additionalProperties": false,
- "properties": {
- "cap": {
- "description": "Over max_segments — the SHORTEST went first, so walls survive",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "short": {
- "description": "Below min_len_px (invisible ink)",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "short",
- "cap"
- ],
- "type": "object"
- },
- "family": {
- "description": "Aligned with segments: the hatch-family id this segment belongs to, or null for structural linework",
- "items": {
- "type": [
- "string",
- "null"
- ]
- },
- "type": "array"
- },
- "kept": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "meta": {
- "description": "One byte per segment, aligned with segments: bit 1 = curve chord, bit 2 = clip-only, bit 4 = filled-not-stroked; high nibble = device pen width",
- "items": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "type": "array"
- },
- "note": {
- "type": "string"
- },
- "segments": {
- "description": "[x0, y0, x1, y1] per segment, image px, endpoints exactly as drawn — clipped by KEEPING whole intersecting segments, never by rewriting them",
- "items": {
- "items": {
- "type": "number"
- },
- "maxItems": 4,
- "minItems": 4,
- "type": "array"
- },
- "type": "array"
- },
- "total_in_region": {
- "description": "Segments intersecting the region before any decimation — kept + dropped always reconciles to this",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "truncated": {
- "type": "boolean"
- }
- },
- "required": [
- "segments",
- "meta",
- "family",
- "kept",
- "total_in_region",
- "truncated",
- "dropped"
- ],
- "type": "object"
- }
- },
- "required": [
- "sheet",
- "page",
- "sheet_px",
- "region",
- "has_vector_linework",
- "vectors",
- "text",
- "hatch"
- ],
- "type": "object"
-}New value: +null