@cloudpdf/contract 3.0.0-next.13 → 3.0.0-next.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "CloudPDF Engine API",
5
- "version": "3.0.0-next.13",
5
+ "version": "3.0.0-next.14",
6
6
  "description": "The backend-callable surface of the CloudPDF document engine: deployment and tenant administration plus the document operations (reads, annotations, forms, page operations, redaction, download). Interactive viewing goes through the CloudPDF viewer SDKs, whose session protocol is deliberately not part of this API. Generated from the @cloudpdf/contract operation registry — do not edit by hand.",
7
7
  "license": {
8
8
  "name": "Apache-2.0",
@@ -1552,6 +1552,204 @@
1552
1552
  }
1553
1553
  }
1554
1554
  },
1555
+ "/v1/docs/{docId}/layers/{layerName}/pages/{pon}/scale": {
1556
+ "put": {
1557
+ "operationId": "doc.pages.setScale",
1558
+ "x-fern-sdk-group-name": ["doc", "pages"],
1559
+ "x-fern-sdk-method-name": "setScale",
1560
+ "x-docs-title": "Set page measurement scale",
1561
+ "summary": "Upsert or remove EmbedPDF calibration while preserving foreign viewports. Existing annotation scales are unchanged.",
1562
+ "security": [
1563
+ {
1564
+ "apiToken": []
1565
+ },
1566
+ {
1567
+ "docToken": []
1568
+ }
1569
+ ],
1570
+ "x-required-scope": [],
1571
+ "x-required-capability": ["doc.annotate.modify"],
1572
+ "parameters": [
1573
+ {
1574
+ "name": "docId",
1575
+ "in": "path",
1576
+ "required": true,
1577
+ "schema": {
1578
+ "type": "string",
1579
+ "pattern": "^[A-Za-z0-9_-]+$"
1580
+ }
1581
+ },
1582
+ {
1583
+ "name": "layerName",
1584
+ "in": "path",
1585
+ "required": true,
1586
+ "schema": {
1587
+ "type": "string",
1588
+ "minLength": 1
1589
+ }
1590
+ },
1591
+ {
1592
+ "name": "pon",
1593
+ "in": "path",
1594
+ "required": true,
1595
+ "schema": {
1596
+ "type": "integer",
1597
+ "minimum": 0
1598
+ }
1599
+ },
1600
+ {
1601
+ "name": "X-Document-Password",
1602
+ "in": "header",
1603
+ "required": false,
1604
+ "description": "Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.",
1605
+ "schema": {
1606
+ "type": "string"
1607
+ }
1608
+ }
1609
+ ],
1610
+ "requestBody": {
1611
+ "required": true,
1612
+ "content": {
1613
+ "application/json": {
1614
+ "schema": {
1615
+ "$ref": "#/components/schemas/DocPagesSetScaleRequest"
1616
+ }
1617
+ }
1618
+ }
1619
+ },
1620
+ "responses": {
1621
+ "200": {
1622
+ "description": "OK",
1623
+ "content": {
1624
+ "application/json": {
1625
+ "schema": {
1626
+ "$ref": "#/components/schemas/DocPagesSetScale200Response"
1627
+ }
1628
+ }
1629
+ }
1630
+ },
1631
+ "400": {
1632
+ "description": "Bad request",
1633
+ "content": {
1634
+ "application/json": {
1635
+ "schema": {
1636
+ "$ref": "#/components/schemas/DocPagesSetScale400Response"
1637
+ }
1638
+ }
1639
+ }
1640
+ },
1641
+ "404": {
1642
+ "description": "Not found",
1643
+ "content": {
1644
+ "application/json": {
1645
+ "schema": {
1646
+ "$ref": "#/components/schemas/DocPagesSetScale404Response"
1647
+ }
1648
+ }
1649
+ }
1650
+ },
1651
+ "default": {
1652
+ "description": "Error",
1653
+ "content": {
1654
+ "application/json": {
1655
+ "schema": {
1656
+ "$ref": "#/components/schemas/EngineErrorPayload"
1657
+ }
1658
+ }
1659
+ }
1660
+ }
1661
+ }
1662
+ }
1663
+ },
1664
+ "/v1/docs/{docId}/layers/{layerName}/pages/{pon}/viewports": {
1665
+ "get": {
1666
+ "operationId": "doc.pages.viewports",
1667
+ "x-fern-sdk-group-name": ["doc", "pages"],
1668
+ "x-fern-sdk-method-name": "viewports",
1669
+ "x-docs-title": "Read measurement viewports",
1670
+ "summary": "Read page measurement viewports in drawing order from the current layer.",
1671
+ "security": [
1672
+ {
1673
+ "apiToken": []
1674
+ },
1675
+ {
1676
+ "docToken": []
1677
+ }
1678
+ ],
1679
+ "x-required-scope": [],
1680
+ "x-required-capability": ["doc.open"],
1681
+ "parameters": [
1682
+ {
1683
+ "name": "docId",
1684
+ "in": "path",
1685
+ "required": true,
1686
+ "schema": {
1687
+ "type": "string",
1688
+ "pattern": "^[A-Za-z0-9_-]+$"
1689
+ }
1690
+ },
1691
+ {
1692
+ "name": "layerName",
1693
+ "in": "path",
1694
+ "required": true,
1695
+ "schema": {
1696
+ "type": "string",
1697
+ "minLength": 1
1698
+ }
1699
+ },
1700
+ {
1701
+ "name": "pon",
1702
+ "in": "path",
1703
+ "required": true,
1704
+ "schema": {
1705
+ "type": "integer",
1706
+ "minimum": 0
1707
+ }
1708
+ },
1709
+ {
1710
+ "name": "X-Document-Password",
1711
+ "in": "header",
1712
+ "required": false,
1713
+ "description": "Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.",
1714
+ "schema": {
1715
+ "type": "string"
1716
+ }
1717
+ }
1718
+ ],
1719
+ "responses": {
1720
+ "200": {
1721
+ "description": "OK",
1722
+ "content": {
1723
+ "application/json": {
1724
+ "schema": {
1725
+ "$ref": "#/components/schemas/DocPagesViewports200Response"
1726
+ }
1727
+ }
1728
+ }
1729
+ },
1730
+ "404": {
1731
+ "description": "Not found",
1732
+ "content": {
1733
+ "application/json": {
1734
+ "schema": {
1735
+ "$ref": "#/components/schemas/DocPagesViewports404Response"
1736
+ }
1737
+ }
1738
+ }
1739
+ },
1740
+ "default": {
1741
+ "description": "Error",
1742
+ "content": {
1743
+ "application/json": {
1744
+ "schema": {
1745
+ "$ref": "#/components/schemas/EngineErrorPayload"
1746
+ }
1747
+ }
1748
+ }
1749
+ }
1750
+ }
1751
+ }
1752
+ },
1555
1753
  "/v1/docs/{docId}/layers/{layerName}/pages/delete": {
1556
1754
  "post": {
1557
1755
  "operationId": "doc.pages.delete",
@@ -13353,80 +13551,225 @@
13353
13551
  {
13354
13552
  "type": "object",
13355
13553
  "properties": {
13356
- "ref": {
13357
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/ref"
13358
- },
13359
- "pageObjectNumber": {
13360
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/pageObjectNumber"
13361
- },
13362
- "index": {
13363
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/index"
13364
- },
13365
- "identityQuality": {
13366
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/identityQuality"
13367
- },
13368
- "nm": {
13369
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/nm"
13370
- },
13371
- "flags": {
13372
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/flags"
13373
- },
13374
- "rect": {
13375
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/rect"
13376
- },
13377
- "contents": {
13378
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/contents"
13379
- },
13380
- "subject": {
13381
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/subject"
13382
- },
13383
- "author": {
13384
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/author"
13385
- },
13386
- "created": {
13387
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/created"
13388
- },
13389
- "modified": {
13390
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/modified"
13391
- },
13392
- "blendMode": {
13393
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/blendMode"
13394
- },
13395
- "inReplyTo": {
13396
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/inReplyTo"
13397
- },
13398
- "replyType": {
13399
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/replyType"
13400
- },
13401
- "userId": {
13402
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/userId"
13403
- },
13404
- "groupId": {
13405
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/groupId"
13406
- },
13407
- "createdBy": {
13408
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/createdBy"
13409
- },
13410
- "updatedBy": {
13411
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/updatedBy"
13412
- },
13413
- "actions": {
13414
- "$ref": "#/components/schemas/PdfAnnotationActions"
13415
- },
13416
- "color": {
13417
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/color"
13418
- },
13419
- "opacity": {
13420
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/opacity"
13421
- },
13422
- "strokeWidth": {
13423
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/4/properties/strokeWidth"
13424
- },
13425
- "borderStyle": {
13426
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/4/properties/borderStyle"
13554
+ "intent": {
13555
+ "type": "string",
13556
+ "enum": ["PolygonCloud", "PolygonDimension"]
13427
13557
  },
13428
- "dashArray": {
13429
- "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/4/properties/dashArray"
13558
+ "measure": {
13559
+ "anyOf": [
13560
+ {
13561
+ "type": "object",
13562
+ "properties": {
13563
+ "subtype": {
13564
+ "type": "string",
13565
+ "enum": ["RL"]
13566
+ },
13567
+ "ratio": {
13568
+ "type": "string"
13569
+ },
13570
+ "x": {
13571
+ "type": "array",
13572
+ "items": {
13573
+ "type": "object",
13574
+ "properties": {
13575
+ "unit": {
13576
+ "type": "string"
13577
+ },
13578
+ "conversion": {
13579
+ "type": "number"
13580
+ },
13581
+ "fraction": {
13582
+ "type": "string",
13583
+ "enum": ["decimal", "fraction", "round", "truncate"]
13584
+ },
13585
+ "precision": {
13586
+ "type": "integer"
13587
+ },
13588
+ "fixed": {
13589
+ "type": "boolean"
13590
+ },
13591
+ "thousands": {
13592
+ "type": "string"
13593
+ },
13594
+ "decimal": {
13595
+ "type": "string"
13596
+ },
13597
+ "prefixSpacing": {
13598
+ "type": "string"
13599
+ },
13600
+ "suffixSpacing": {
13601
+ "type": "string"
13602
+ },
13603
+ "labelPosition": {
13604
+ "type": "string",
13605
+ "enum": ["suffix", "prefix"]
13606
+ }
13607
+ },
13608
+ "required": ["unit"],
13609
+ "additionalProperties": false
13610
+ }
13611
+ },
13612
+ "y": {
13613
+ "type": "array",
13614
+ "items": {
13615
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items"
13616
+ }
13617
+ },
13618
+ "distance": {
13619
+ "type": "array",
13620
+ "items": {
13621
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items"
13622
+ }
13623
+ },
13624
+ "area": {
13625
+ "type": "array",
13626
+ "items": {
13627
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items"
13628
+ }
13629
+ },
13630
+ "angle": {
13631
+ "type": "array",
13632
+ "items": {
13633
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items"
13634
+ }
13635
+ },
13636
+ "slope": {
13637
+ "type": "array",
13638
+ "items": {
13639
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items"
13640
+ }
13641
+ },
13642
+ "origin": {
13643
+ "type": "object",
13644
+ "properties": {
13645
+ "x": {
13646
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
13647
+ },
13648
+ "y": {
13649
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
13650
+ }
13651
+ },
13652
+ "required": ["x", "y"],
13653
+ "additionalProperties": false
13654
+ },
13655
+ "cyx": {
13656
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
13657
+ }
13658
+ },
13659
+ "required": ["subtype", "x", "distance", "area"],
13660
+ "additionalProperties": false
13661
+ },
13662
+ {
13663
+ "type": "object",
13664
+ "properties": {
13665
+ "subtype": {
13666
+ "type": "string",
13667
+ "enum": ["GEO"]
13668
+ }
13669
+ },
13670
+ "required": ["subtype"],
13671
+ "additionalProperties": false
13672
+ },
13673
+ {
13674
+ "type": "object",
13675
+ "properties": {
13676
+ "subtype": {
13677
+ "type": "string",
13678
+ "enum": ["unknown"]
13679
+ }
13680
+ },
13681
+ "required": ["subtype"],
13682
+ "additionalProperties": false
13683
+ }
13684
+ ]
13685
+ },
13686
+ "caption": {
13687
+ "type": "object",
13688
+ "properties": {
13689
+ "enabled": {
13690
+ "type": "boolean"
13691
+ },
13692
+ "center": {
13693
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/origin"
13694
+ }
13695
+ },
13696
+ "required": ["enabled"],
13697
+ "additionalProperties": false
13698
+ },
13699
+ "ref": {
13700
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/ref"
13701
+ },
13702
+ "pageObjectNumber": {
13703
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/pageObjectNumber"
13704
+ },
13705
+ "index": {
13706
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/index"
13707
+ },
13708
+ "identityQuality": {
13709
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/identityQuality"
13710
+ },
13711
+ "nm": {
13712
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/nm"
13713
+ },
13714
+ "flags": {
13715
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/flags"
13716
+ },
13717
+ "rect": {
13718
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/rect"
13719
+ },
13720
+ "contents": {
13721
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/contents"
13722
+ },
13723
+ "subject": {
13724
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/subject"
13725
+ },
13726
+ "author": {
13727
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/author"
13728
+ },
13729
+ "created": {
13730
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/created"
13731
+ },
13732
+ "modified": {
13733
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/modified"
13734
+ },
13735
+ "blendMode": {
13736
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/blendMode"
13737
+ },
13738
+ "inReplyTo": {
13739
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/inReplyTo"
13740
+ },
13741
+ "replyType": {
13742
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/replyType"
13743
+ },
13744
+ "userId": {
13745
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/userId"
13746
+ },
13747
+ "groupId": {
13748
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/groupId"
13749
+ },
13750
+ "createdBy": {
13751
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/createdBy"
13752
+ },
13753
+ "updatedBy": {
13754
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/updatedBy"
13755
+ },
13756
+ "actions": {
13757
+ "$ref": "#/components/schemas/PdfAnnotationActions"
13758
+ },
13759
+ "color": {
13760
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/color"
13761
+ },
13762
+ "opacity": {
13763
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/opacity"
13764
+ },
13765
+ "strokeWidth": {
13766
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/4/properties/strokeWidth"
13767
+ },
13768
+ "borderStyle": {
13769
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/4/properties/borderStyle"
13770
+ },
13771
+ "dashArray": {
13772
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/4/properties/dashArray"
13430
13773
  },
13431
13774
  "interiorColor": {
13432
13775
  "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/4/properties/interiorColor"
@@ -13482,6 +13825,16 @@
13482
13825
  {
13483
13826
  "type": "object",
13484
13827
  "properties": {
13828
+ "intent": {
13829
+ "type": "string",
13830
+ "enum": ["PolyLineDimension"]
13831
+ },
13832
+ "measure": {
13833
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure"
13834
+ },
13835
+ "caption": {
13836
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/caption"
13837
+ },
13485
13838
  "ref": {
13486
13839
  "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/ref"
13487
13840
  },
@@ -13630,6 +13983,56 @@
13630
13983
  {
13631
13984
  "type": "object",
13632
13985
  "properties": {
13986
+ "intent": {
13987
+ "type": "string",
13988
+ "enum": ["LineArrow", "LineDimension"]
13989
+ },
13990
+ "measure": {
13991
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure"
13992
+ },
13993
+ "caption": {
13994
+ "type": "object",
13995
+ "properties": {
13996
+ "enabled": {
13997
+ "type": "boolean"
13998
+ },
13999
+ "position": {
14000
+ "type": "string",
14001
+ "enum": ["inline", "top"]
14002
+ },
14003
+ "offset": {
14004
+ "type": "object",
14005
+ "properties": {
14006
+ "along": {
14007
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
14008
+ },
14009
+ "perpendicular": {
14010
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
14011
+ }
14012
+ },
14013
+ "required": ["along", "perpendicular"],
14014
+ "additionalProperties": false
14015
+ }
14016
+ },
14017
+ "required": ["enabled"],
14018
+ "additionalProperties": false
14019
+ },
14020
+ "leader": {
14021
+ "type": "object",
14022
+ "properties": {
14023
+ "length": {
14024
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
14025
+ },
14026
+ "extension": {
14027
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
14028
+ },
14029
+ "offset": {
14030
+ "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
14031
+ }
14032
+ },
14033
+ "required": ["length"],
14034
+ "additionalProperties": false
14035
+ },
13633
14036
  "ref": {
13634
14037
  "$ref": "#/components/schemas/DocAnnotationsList200Response/properties/annotations/items/anyOf/0/properties/ref"
13635
14038
  },
@@ -16347,61 +16750,206 @@
16347
16750
  {
16348
16751
  "type": "object",
16349
16752
  "properties": {
16350
- "ref": {
16351
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/ref"
16352
- },
16353
- "pageObjectNumber": {
16354
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/pageObjectNumber"
16355
- },
16356
- "index": {
16357
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/index"
16358
- },
16359
- "identityQuality": {
16360
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/identityQuality"
16361
- },
16362
- "nm": {
16363
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/nm"
16364
- },
16365
- "flags": {
16366
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/flags"
16367
- },
16368
- "rect": {
16369
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/rect"
16370
- },
16371
- "contents": {
16372
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/contents"
16373
- },
16374
- "subject": {
16375
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/subject"
16376
- },
16377
- "author": {
16378
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/author"
16379
- },
16380
- "created": {
16381
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/created"
16382
- },
16383
- "modified": {
16384
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/modified"
16385
- },
16386
- "blendMode": {
16387
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/blendMode"
16388
- },
16389
- "inReplyTo": {
16390
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/inReplyTo"
16391
- },
16392
- "replyType": {
16393
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/replyType"
16394
- },
16395
- "userId": {
16396
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/userId"
16397
- },
16398
- "groupId": {
16399
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/groupId"
16400
- },
16401
- "createdBy": {
16402
- "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/createdBy"
16753
+ "intent": {
16754
+ "type": "string",
16755
+ "enum": ["PolygonCloud", "PolygonDimension"]
16403
16756
  },
16404
- "updatedBy": {
16757
+ "measure": {
16758
+ "anyOf": [
16759
+ {
16760
+ "type": "object",
16761
+ "properties": {
16762
+ "subtype": {
16763
+ "type": "string",
16764
+ "enum": ["RL"]
16765
+ },
16766
+ "ratio": {
16767
+ "type": "string"
16768
+ },
16769
+ "x": {
16770
+ "type": "array",
16771
+ "items": {
16772
+ "type": "object",
16773
+ "properties": {
16774
+ "unit": {
16775
+ "type": "string"
16776
+ },
16777
+ "conversion": {
16778
+ "type": "number"
16779
+ },
16780
+ "fraction": {
16781
+ "type": "string",
16782
+ "enum": ["decimal", "fraction", "round", "truncate"]
16783
+ },
16784
+ "precision": {
16785
+ "type": "integer"
16786
+ },
16787
+ "fixed": {
16788
+ "type": "boolean"
16789
+ },
16790
+ "thousands": {
16791
+ "type": "string"
16792
+ },
16793
+ "decimal": {
16794
+ "type": "string"
16795
+ },
16796
+ "prefixSpacing": {
16797
+ "type": "string"
16798
+ },
16799
+ "suffixSpacing": {
16800
+ "type": "string"
16801
+ },
16802
+ "labelPosition": {
16803
+ "type": "string",
16804
+ "enum": ["suffix", "prefix"]
16805
+ }
16806
+ },
16807
+ "required": ["unit"],
16808
+ "additionalProperties": false
16809
+ }
16810
+ },
16811
+ "y": {
16812
+ "type": "array",
16813
+ "items": {
16814
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items"
16815
+ }
16816
+ },
16817
+ "distance": {
16818
+ "type": "array",
16819
+ "items": {
16820
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items"
16821
+ }
16822
+ },
16823
+ "area": {
16824
+ "type": "array",
16825
+ "items": {
16826
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items"
16827
+ }
16828
+ },
16829
+ "angle": {
16830
+ "type": "array",
16831
+ "items": {
16832
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items"
16833
+ }
16834
+ },
16835
+ "slope": {
16836
+ "type": "array",
16837
+ "items": {
16838
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items"
16839
+ }
16840
+ },
16841
+ "origin": {
16842
+ "type": "object",
16843
+ "properties": {
16844
+ "x": {
16845
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
16846
+ },
16847
+ "y": {
16848
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
16849
+ }
16850
+ },
16851
+ "required": ["x", "y"],
16852
+ "additionalProperties": false
16853
+ },
16854
+ "cyx": {
16855
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
16856
+ }
16857
+ },
16858
+ "required": ["subtype", "x", "distance", "area"],
16859
+ "additionalProperties": false
16860
+ },
16861
+ {
16862
+ "type": "object",
16863
+ "properties": {
16864
+ "subtype": {
16865
+ "type": "string",
16866
+ "enum": ["GEO"]
16867
+ }
16868
+ },
16869
+ "required": ["subtype"],
16870
+ "additionalProperties": false
16871
+ },
16872
+ {
16873
+ "type": "object",
16874
+ "properties": {
16875
+ "subtype": {
16876
+ "type": "string",
16877
+ "enum": ["unknown"]
16878
+ }
16879
+ },
16880
+ "required": ["subtype"],
16881
+ "additionalProperties": false
16882
+ }
16883
+ ]
16884
+ },
16885
+ "caption": {
16886
+ "type": "object",
16887
+ "properties": {
16888
+ "enabled": {
16889
+ "type": "boolean"
16890
+ },
16891
+ "center": {
16892
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/origin"
16893
+ }
16894
+ },
16895
+ "required": ["enabled"],
16896
+ "additionalProperties": false
16897
+ },
16898
+ "ref": {
16899
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/ref"
16900
+ },
16901
+ "pageObjectNumber": {
16902
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/pageObjectNumber"
16903
+ },
16904
+ "index": {
16905
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/index"
16906
+ },
16907
+ "identityQuality": {
16908
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/identityQuality"
16909
+ },
16910
+ "nm": {
16911
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/nm"
16912
+ },
16913
+ "flags": {
16914
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/flags"
16915
+ },
16916
+ "rect": {
16917
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/rect"
16918
+ },
16919
+ "contents": {
16920
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/contents"
16921
+ },
16922
+ "subject": {
16923
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/subject"
16924
+ },
16925
+ "author": {
16926
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/author"
16927
+ },
16928
+ "created": {
16929
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/created"
16930
+ },
16931
+ "modified": {
16932
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/modified"
16933
+ },
16934
+ "blendMode": {
16935
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/blendMode"
16936
+ },
16937
+ "inReplyTo": {
16938
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/inReplyTo"
16939
+ },
16940
+ "replyType": {
16941
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/replyType"
16942
+ },
16943
+ "userId": {
16944
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/userId"
16945
+ },
16946
+ "groupId": {
16947
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/groupId"
16948
+ },
16949
+ "createdBy": {
16950
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/createdBy"
16951
+ },
16952
+ "updatedBy": {
16405
16953
  "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/updatedBy"
16406
16954
  },
16407
16955
  "actions": {
@@ -16476,6 +17024,16 @@
16476
17024
  {
16477
17025
  "type": "object",
16478
17026
  "properties": {
17027
+ "intent": {
17028
+ "type": "string",
17029
+ "enum": ["PolyLineDimension"]
17030
+ },
17031
+ "measure": {
17032
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure"
17033
+ },
17034
+ "caption": {
17035
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/caption"
17036
+ },
16479
17037
  "ref": {
16480
17038
  "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/ref"
16481
17039
  },
@@ -16624,6 +17182,56 @@
16624
17182
  {
16625
17183
  "type": "object",
16626
17184
  "properties": {
17185
+ "intent": {
17186
+ "type": "string",
17187
+ "enum": ["LineArrow", "LineDimension"]
17188
+ },
17189
+ "measure": {
17190
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure"
17191
+ },
17192
+ "caption": {
17193
+ "type": "object",
17194
+ "properties": {
17195
+ "enabled": {
17196
+ "type": "boolean"
17197
+ },
17198
+ "position": {
17199
+ "type": "string",
17200
+ "enum": ["inline", "top"]
17201
+ },
17202
+ "offset": {
17203
+ "type": "object",
17204
+ "properties": {
17205
+ "along": {
17206
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
17207
+ },
17208
+ "perpendicular": {
17209
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
17210
+ }
17211
+ },
17212
+ "required": ["along", "perpendicular"],
17213
+ "additionalProperties": false
17214
+ }
17215
+ },
17216
+ "required": ["enabled"],
17217
+ "additionalProperties": false
17218
+ },
17219
+ "leader": {
17220
+ "type": "object",
17221
+ "properties": {
17222
+ "length": {
17223
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
17224
+ },
17225
+ "extension": {
17226
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
17227
+ },
17228
+ "offset": {
17229
+ "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/6/properties/measure/anyOf/0/properties/x/items/properties/conversion"
17230
+ }
17231
+ },
17232
+ "required": ["length"],
17233
+ "additionalProperties": false
17234
+ },
16627
17235
  "ref": {
16628
17236
  "$ref": "#/components/schemas/DocAnnotationsListAll200Response/properties/pages/items/properties/annotations/items/anyOf/0/properties/ref"
16629
17237
  },
@@ -20919,6 +21527,569 @@
20919
21527
  "required": ["name", "code", "message"],
20920
21528
  "additionalProperties": false
20921
21529
  },
21530
+ "DocPagesViewports200Response": {
21531
+ "type": "array",
21532
+ "items": {
21533
+ "type": "object",
21534
+ "properties": {
21535
+ "bbox": {
21536
+ "type": "object",
21537
+ "properties": {
21538
+ "left": {
21539
+ "type": "number"
21540
+ },
21541
+ "bottom": {
21542
+ "type": "number"
21543
+ },
21544
+ "right": {
21545
+ "type": "number"
21546
+ },
21547
+ "top": {
21548
+ "type": "number"
21549
+ }
21550
+ },
21551
+ "required": ["left", "bottom", "right", "top"],
21552
+ "additionalProperties": false
21553
+ },
21554
+ "name": {
21555
+ "type": "string"
21556
+ },
21557
+ "measure": {
21558
+ "anyOf": [
21559
+ {
21560
+ "type": "object",
21561
+ "properties": {
21562
+ "subtype": {
21563
+ "type": "string",
21564
+ "enum": ["RL"]
21565
+ },
21566
+ "ratio": {
21567
+ "type": "string"
21568
+ },
21569
+ "x": {
21570
+ "type": "array",
21571
+ "items": {
21572
+ "type": "object",
21573
+ "properties": {
21574
+ "unit": {
21575
+ "type": "string"
21576
+ },
21577
+ "conversion": {
21578
+ "type": "number"
21579
+ },
21580
+ "fraction": {
21581
+ "type": "string",
21582
+ "enum": ["decimal", "fraction", "round", "truncate"]
21583
+ },
21584
+ "precision": {
21585
+ "type": "integer"
21586
+ },
21587
+ "fixed": {
21588
+ "type": "boolean"
21589
+ },
21590
+ "thousands": {
21591
+ "type": "string"
21592
+ },
21593
+ "decimal": {
21594
+ "type": "string"
21595
+ },
21596
+ "prefixSpacing": {
21597
+ "type": "string"
21598
+ },
21599
+ "suffixSpacing": {
21600
+ "type": "string"
21601
+ },
21602
+ "labelPosition": {
21603
+ "type": "string",
21604
+ "enum": ["suffix", "prefix"]
21605
+ }
21606
+ },
21607
+ "required": ["unit"],
21608
+ "additionalProperties": false
21609
+ }
21610
+ },
21611
+ "y": {
21612
+ "type": "array",
21613
+ "items": {
21614
+ "$ref": "#/components/schemas/DocPagesViewports200Response/items/properties/measure/anyOf/0/properties/x/items"
21615
+ }
21616
+ },
21617
+ "distance": {
21618
+ "type": "array",
21619
+ "items": {
21620
+ "$ref": "#/components/schemas/DocPagesViewports200Response/items/properties/measure/anyOf/0/properties/x/items"
21621
+ }
21622
+ },
21623
+ "area": {
21624
+ "type": "array",
21625
+ "items": {
21626
+ "$ref": "#/components/schemas/DocPagesViewports200Response/items/properties/measure/anyOf/0/properties/x/items"
21627
+ }
21628
+ },
21629
+ "angle": {
21630
+ "type": "array",
21631
+ "items": {
21632
+ "$ref": "#/components/schemas/DocPagesViewports200Response/items/properties/measure/anyOf/0/properties/x/items"
21633
+ }
21634
+ },
21635
+ "slope": {
21636
+ "type": "array",
21637
+ "items": {
21638
+ "$ref": "#/components/schemas/DocPagesViewports200Response/items/properties/measure/anyOf/0/properties/x/items"
21639
+ }
21640
+ },
21641
+ "origin": {
21642
+ "type": "object",
21643
+ "properties": {
21644
+ "x": {
21645
+ "$ref": "#/components/schemas/DocPagesViewports200Response/items/properties/measure/anyOf/0/properties/x/items/properties/conversion"
21646
+ },
21647
+ "y": {
21648
+ "$ref": "#/components/schemas/DocPagesViewports200Response/items/properties/measure/anyOf/0/properties/x/items/properties/conversion"
21649
+ }
21650
+ },
21651
+ "required": ["x", "y"],
21652
+ "additionalProperties": false
21653
+ },
21654
+ "cyx": {
21655
+ "$ref": "#/components/schemas/DocPagesViewports200Response/items/properties/measure/anyOf/0/properties/x/items/properties/conversion"
21656
+ }
21657
+ },
21658
+ "required": ["subtype", "x", "distance", "area"],
21659
+ "additionalProperties": false
21660
+ },
21661
+ {
21662
+ "type": "object",
21663
+ "properties": {
21664
+ "subtype": {
21665
+ "type": "string",
21666
+ "enum": ["GEO"]
21667
+ }
21668
+ },
21669
+ "required": ["subtype"],
21670
+ "additionalProperties": false
21671
+ },
21672
+ {
21673
+ "type": "object",
21674
+ "properties": {
21675
+ "subtype": {
21676
+ "type": "string",
21677
+ "enum": ["unknown"]
21678
+ }
21679
+ },
21680
+ "required": ["subtype"],
21681
+ "additionalProperties": false
21682
+ }
21683
+ ]
21684
+ },
21685
+ "owned": {
21686
+ "type": "boolean"
21687
+ }
21688
+ },
21689
+ "required": ["bbox", "owned"],
21690
+ "additionalProperties": false
21691
+ }
21692
+ },
21693
+ "DocPagesViewports404Response": {
21694
+ "type": "object",
21695
+ "properties": {
21696
+ "name": {
21697
+ "type": "string",
21698
+ "enum": ["EngineError"]
21699
+ },
21700
+ "code": {
21701
+ "type": "string",
21702
+ "enum": [
21703
+ "Unknown",
21704
+ "InvalidArg",
21705
+ "DocNotOpen",
21706
+ "DocOpenFailed",
21707
+ "DocPasswordRequired",
21708
+ "DocPasswordIncorrect",
21709
+ "SharePasswordRequired",
21710
+ "Aborted",
21711
+ "Network",
21712
+ "Unauthenticated",
21713
+ "Forbidden",
21714
+ "NotFound",
21715
+ "WireFormat",
21716
+ "RuntimeUnavailable",
21717
+ "InvalidReference",
21718
+ "WeakAnnotationSessionConflict",
21719
+ "LayerVersionConflict",
21720
+ "NotImplemented",
21721
+ "MalformedPdf",
21722
+ "SigningPending",
21723
+ "SigningExpired",
21724
+ "SigningVersionMismatch",
21725
+ "SignatureRefused",
21726
+ "ProtectedDocument",
21727
+ "StaleBase"
21728
+ ]
21729
+ },
21730
+ "message": {
21731
+ "type": "string"
21732
+ },
21733
+ "details": {
21734
+ "type": "object",
21735
+ "additionalProperties": {}
21736
+ }
21737
+ },
21738
+ "required": ["name", "code", "message"],
21739
+ "additionalProperties": false
21740
+ },
21741
+ "DocPagesSetScaleRequest": {
21742
+ "type": "object",
21743
+ "properties": {
21744
+ "measure": {
21745
+ "type": "object",
21746
+ "properties": {
21747
+ "subtype": {
21748
+ "type": "string",
21749
+ "enum": ["RL"]
21750
+ },
21751
+ "ratio": {
21752
+ "type": "string"
21753
+ },
21754
+ "x": {
21755
+ "type": "array",
21756
+ "items": {
21757
+ "type": "object",
21758
+ "properties": {
21759
+ "unit": {
21760
+ "type": "string"
21761
+ },
21762
+ "conversion": {
21763
+ "type": "number"
21764
+ },
21765
+ "fraction": {
21766
+ "type": "string",
21767
+ "enum": ["decimal", "fraction", "round", "truncate"]
21768
+ },
21769
+ "precision": {
21770
+ "type": "integer",
21771
+ "minimum": 1,
21772
+ "maximum": 2147483647
21773
+ },
21774
+ "fixed": {
21775
+ "type": "boolean"
21776
+ },
21777
+ "thousands": {
21778
+ "type": "string"
21779
+ },
21780
+ "decimal": {
21781
+ "type": "string"
21782
+ },
21783
+ "prefixSpacing": {
21784
+ "type": "string"
21785
+ },
21786
+ "suffixSpacing": {
21787
+ "type": "string"
21788
+ },
21789
+ "labelPosition": {
21790
+ "type": "string",
21791
+ "enum": ["suffix", "prefix"]
21792
+ }
21793
+ },
21794
+ "required": ["unit", "conversion"],
21795
+ "additionalProperties": false
21796
+ }
21797
+ },
21798
+ "y": {
21799
+ "type": "array",
21800
+ "items": {
21801
+ "$ref": "#/components/schemas/DocPagesSetScaleRequest/properties/measure/properties/x/items"
21802
+ }
21803
+ },
21804
+ "distance": {
21805
+ "type": "array",
21806
+ "items": {
21807
+ "$ref": "#/components/schemas/DocPagesSetScaleRequest/properties/measure/properties/x/items"
21808
+ }
21809
+ },
21810
+ "area": {
21811
+ "type": "array",
21812
+ "items": {
21813
+ "$ref": "#/components/schemas/DocPagesSetScaleRequest/properties/measure/properties/x/items"
21814
+ }
21815
+ },
21816
+ "angle": {
21817
+ "type": "array",
21818
+ "items": {
21819
+ "$ref": "#/components/schemas/DocPagesSetScaleRequest/properties/measure/properties/x/items"
21820
+ }
21821
+ },
21822
+ "slope": {
21823
+ "type": "array",
21824
+ "items": {
21825
+ "$ref": "#/components/schemas/DocPagesSetScaleRequest/properties/measure/properties/x/items"
21826
+ }
21827
+ },
21828
+ "origin": {
21829
+ "type": "object",
21830
+ "properties": {
21831
+ "x": {
21832
+ "$ref": "#/components/schemas/DocPagesSetScaleRequest/properties/measure/properties/x/items/properties/conversion"
21833
+ },
21834
+ "y": {
21835
+ "$ref": "#/components/schemas/DocPagesSetScaleRequest/properties/measure/properties/x/items/properties/conversion"
21836
+ }
21837
+ },
21838
+ "required": ["x", "y"],
21839
+ "additionalProperties": false
21840
+ },
21841
+ "cyx": {
21842
+ "$ref": "#/components/schemas/DocPagesSetScaleRequest/properties/measure/properties/x/items/properties/conversion"
21843
+ }
21844
+ },
21845
+ "required": ["subtype", "x", "distance", "area"],
21846
+ "additionalProperties": false,
21847
+ "nullable": true
21848
+ }
21849
+ },
21850
+ "required": ["measure"],
21851
+ "additionalProperties": false
21852
+ },
21853
+ "DocPagesSetScale200Response": {
21854
+ "type": "object",
21855
+ "properties": {
21856
+ "pageObjectNumber": {
21857
+ "type": "integer",
21858
+ "exclusiveMinimum": true,
21859
+ "minimum": 0
21860
+ },
21861
+ "meta": {
21862
+ "type": "object",
21863
+ "properties": {
21864
+ "affectedPages": {
21865
+ "type": "array",
21866
+ "items": {
21867
+ "type": "object",
21868
+ "properties": {
21869
+ "pageObjectNumber": {
21870
+ "type": "integer",
21871
+ "exclusiveMinimum": true,
21872
+ "minimum": 0
21873
+ },
21874
+ "revision": {
21875
+ "type": "object",
21876
+ "properties": {
21877
+ "docSessionId": {
21878
+ "type": "string"
21879
+ },
21880
+ "pageObjectNumber": {
21881
+ "type": "integer",
21882
+ "exclusiveMinimum": true,
21883
+ "minimum": 0
21884
+ },
21885
+ "generation": {
21886
+ "type": "integer",
21887
+ "minimum": 0
21888
+ }
21889
+ },
21890
+ "required": ["docSessionId", "pageObjectNumber", "generation"],
21891
+ "additionalProperties": false
21892
+ },
21893
+ "weakAnnotationState": {
21894
+ "anyOf": [
21895
+ {
21896
+ "type": "object",
21897
+ "properties": {
21898
+ "kind": {
21899
+ "type": "string",
21900
+ "enum": ["unknown"]
21901
+ }
21902
+ },
21903
+ "required": ["kind"],
21904
+ "additionalProperties": false
21905
+ },
21906
+ {
21907
+ "type": "object",
21908
+ "properties": {
21909
+ "kind": {
21910
+ "type": "string",
21911
+ "enum": ["known"]
21912
+ },
21913
+ "hasAnyWeakAnnotations": {
21914
+ "type": "boolean"
21915
+ }
21916
+ },
21917
+ "required": ["kind", "hasAnyWeakAnnotations"],
21918
+ "additionalProperties": false
21919
+ }
21920
+ ]
21921
+ }
21922
+ },
21923
+ "required": ["pageObjectNumber", "revision", "weakAnnotationState"],
21924
+ "additionalProperties": false
21925
+ }
21926
+ },
21927
+ "cacheDelta": {
21928
+ "type": "object",
21929
+ "properties": {
21930
+ "previousDocVersion": {
21931
+ "type": "integer",
21932
+ "exclusiveMinimum": true,
21933
+ "minimum": 0
21934
+ },
21935
+ "docVersion": {
21936
+ "type": "integer",
21937
+ "exclusiveMinimum": true,
21938
+ "minimum": 0
21939
+ },
21940
+ "annotationsVersion": {
21941
+ "type": "integer",
21942
+ "exclusiveMinimum": true,
21943
+ "minimum": 0
21944
+ },
21945
+ "layerVersion": {
21946
+ "type": "integer",
21947
+ "minimum": 0
21948
+ },
21949
+ "working": {
21950
+ "type": "boolean"
21951
+ },
21952
+ "pages": {
21953
+ "type": "array",
21954
+ "items": {
21955
+ "type": "object",
21956
+ "properties": {
21957
+ "pageObjectNumber": {
21958
+ "type": "integer",
21959
+ "exclusiveMinimum": true,
21960
+ "minimum": 0
21961
+ },
21962
+ "cache": {
21963
+ "type": "object",
21964
+ "properties": {
21965
+ "contentVersion": {
21966
+ "type": "integer",
21967
+ "exclusiveMinimum": true,
21968
+ "minimum": 0
21969
+ },
21970
+ "annotationVersion": {
21971
+ "type": "integer",
21972
+ "exclusiveMinimum": true,
21973
+ "minimum": 0
21974
+ }
21975
+ },
21976
+ "required": ["contentVersion", "annotationVersion"],
21977
+ "additionalProperties": false
21978
+ }
21979
+ },
21980
+ "required": ["pageObjectNumber", "cache"],
21981
+ "additionalProperties": false
21982
+ }
21983
+ }
21984
+ },
21985
+ "required": ["previousDocVersion", "docVersion", "pages"],
21986
+ "additionalProperties": false,
21987
+ "nullable": true
21988
+ }
21989
+ },
21990
+ "required": ["affectedPages", "cacheDelta"],
21991
+ "additionalProperties": false
21992
+ }
21993
+ },
21994
+ "required": ["pageObjectNumber", "meta"],
21995
+ "additionalProperties": false
21996
+ },
21997
+ "DocPagesSetScale400Response": {
21998
+ "type": "object",
21999
+ "properties": {
22000
+ "name": {
22001
+ "type": "string",
22002
+ "enum": ["EngineError"]
22003
+ },
22004
+ "code": {
22005
+ "type": "string",
22006
+ "enum": [
22007
+ "Unknown",
22008
+ "InvalidArg",
22009
+ "DocNotOpen",
22010
+ "DocOpenFailed",
22011
+ "DocPasswordRequired",
22012
+ "DocPasswordIncorrect",
22013
+ "SharePasswordRequired",
22014
+ "Aborted",
22015
+ "Network",
22016
+ "Unauthenticated",
22017
+ "Forbidden",
22018
+ "NotFound",
22019
+ "WireFormat",
22020
+ "RuntimeUnavailable",
22021
+ "InvalidReference",
22022
+ "WeakAnnotationSessionConflict",
22023
+ "LayerVersionConflict",
22024
+ "NotImplemented",
22025
+ "MalformedPdf",
22026
+ "SigningPending",
22027
+ "SigningExpired",
22028
+ "SigningVersionMismatch",
22029
+ "SignatureRefused",
22030
+ "ProtectedDocument",
22031
+ "StaleBase"
22032
+ ]
22033
+ },
22034
+ "message": {
22035
+ "type": "string"
22036
+ },
22037
+ "details": {
22038
+ "type": "object",
22039
+ "additionalProperties": {}
22040
+ }
22041
+ },
22042
+ "required": ["name", "code", "message"],
22043
+ "additionalProperties": false
22044
+ },
22045
+ "DocPagesSetScale404Response": {
22046
+ "type": "object",
22047
+ "properties": {
22048
+ "name": {
22049
+ "type": "string",
22050
+ "enum": ["EngineError"]
22051
+ },
22052
+ "code": {
22053
+ "type": "string",
22054
+ "enum": [
22055
+ "Unknown",
22056
+ "InvalidArg",
22057
+ "DocNotOpen",
22058
+ "DocOpenFailed",
22059
+ "DocPasswordRequired",
22060
+ "DocPasswordIncorrect",
22061
+ "SharePasswordRequired",
22062
+ "Aborted",
22063
+ "Network",
22064
+ "Unauthenticated",
22065
+ "Forbidden",
22066
+ "NotFound",
22067
+ "WireFormat",
22068
+ "RuntimeUnavailable",
22069
+ "InvalidReference",
22070
+ "WeakAnnotationSessionConflict",
22071
+ "LayerVersionConflict",
22072
+ "NotImplemented",
22073
+ "MalformedPdf",
22074
+ "SigningPending",
22075
+ "SigningExpired",
22076
+ "SigningVersionMismatch",
22077
+ "SignatureRefused",
22078
+ "ProtectedDocument",
22079
+ "StaleBase"
22080
+ ]
22081
+ },
22082
+ "message": {
22083
+ "type": "string"
22084
+ },
22085
+ "details": {
22086
+ "type": "object",
22087
+ "additionalProperties": {}
22088
+ }
22089
+ },
22090
+ "required": ["name", "code", "message"],
22091
+ "additionalProperties": false
22092
+ },
20922
22093
  "DocPagesMoveRequest": {
20923
22094
  "type": "object",
20924
22095
  "additionalProperties": {}