addedInput schema / properties / space
Added value: +{
+ "description": "Which space to work on: \"Model\" (a PDF's page 1, a DXF's model space) or a page/layout name as listed in a describe reply's \"spaces\". Describe omits it for the whole drawing; render defaults to the first space.",
+ "type": "string"
+}
addedOutput schema / properties / space
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Which space this summary is scoped to, or null when it covers the whole drawing (bounds/size then describe spaces[0], the space render returns)"
+}
addedOutput schema / properties / spaces
Added value: +{
+ "description": "Every space in the drawing (a PDF's pages, a DXF's model space and layouts), model space first. These do not sum to entityCount: a DXF sheet's viewports re-show model geometry, so an entity can be drawn in two spaces while existing once",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "bounds": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "maxX": {
+ "type": "number"
+ },
+ "maxY": {
+ "type": "number"
+ },
+ "minX": {
+ "type": "number"
+ },
+ "minY": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "minX",
+ "minY",
+ "maxX",
+ "maxY"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "entityCount": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "name": {
+ "description": "Pass as `space` to scope a describe or render to it",
+ "type": "string"
+ },
+ "segmentCount": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "size": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "height": {
+ "type": "number"
+ },
+ "width": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "width",
+ "height"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "entityCount",
+ "segmentCount",
+ "bounds",
+ "size"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
changedOutput schema / required
Previous value: -[
- "format",
- "units",
- "bounds",
- "size",
- "entityCount",
- "segmentCount",
- "layers",
- "entityTypes",
- "unsupported",
- "texts"
-]New value: +[
+ "format",
+ "units",
+ "bounds",
+ "size",
+ "space",
+ "entityCount",
+ "segmentCount",
+ "spaces",
+ "layers",
+ "entityTypes",
+ "unsupported",
+ "texts"
+]