{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-connectors-cursor-paged-schema.json",
  "title": "ConnectorsCursorPaged",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/miro-connectors-api-openapi.yml#/components/schemas/ConnectorsCursorPaged",
  "type": "object",
  "properties": {
    "cursor": {
      "type": "string",
      "description": "A cursor-paginated method returns a portion of the total set of results based on the `limit` specified and a `cursor` that points to the next portion of the results. To retrieve the next set of results of the collection, set the `cursor` parameter in your next request to the value returned in this parameter."
    },
    "data": {
      "type": "array",
      "description": "Contains the result data.",
      "items": {
        "$ref": "#/$defs/ConnectorWithLinks"
      }
    },
    "limit": {
      "type": "integer",
      "format": "int32",
      "description": "Maximum number of results returned based on the `limit` specified in the request. For example, if there are `20` results, the request has no `cursor` value, and the `limit` is set to `20`,the `size` of the results will be `20`. The rest of the results will not be returned. To retrieve the rest of the results, you must make another request and set the appropriate value for the `cursor` parameter value that you obtained from the response."
    },
    "links": {
      "$ref": "#/$defs/PageLinks"
    },
    "size": {
      "type": "integer",
      "format": "int32",
      "description": "Number of results returned in the response considering the `cursor` and the `limit` values sent in the request. For example, if there are `20` results, the request does not have a `cursor` value, and the `limit` set to `10`, the `size` of the results will be `10`.<br>In this example, the response will also return a cursor value that can be used to retrieve the next set of 10 remaining results in the collection."
    },
    "total": {
      "type": "integer",
      "format": "int64"
    }
  },
  "$defs": {
    "Caption": {
      "type": "object",
      "description": "Contains the connector's caption data, such as content and its position.",
      "properties": {
        "content": {
          "type": "string",
          "description": "The text you want to display on the connector. Supports inline HTML tags.",
          "maxLength": 200,
          "minLength": 0
        },
        "position": {
          "type": "string",
          "description": "The relative position of the text on the connector, in percentage, minimum 0%, maximum 100%. With 50% value, the text will be placed in the middle of the connector line. Default: 50%"
        },
        "textAlignVertical": {
          "type": "string",
          "description": "The vertical position of the text on the connector. Default: middle",
          "enum": [
            "top",
            "middle",
            "bottom"
          ]
        }
      },
      "required": [
        "content"
      ]
    },
    "ConnectorStyle": {
      "type": "object",
      "description": "Contains information about the style of a connector, such as the color or caption font size",
      "properties": {
        "color": {
          "type": "string",
          "description": "Hex value representing the color for the captions on the connector. Default: `#1a1a1a`"
        },
        "endStrokeCap": {
          "type": "string",
          "description": "The decoration cap of the connector end, like an arrow or circle. Default: stealth.",
          "enum": [
            "none",
            "stealth",
            "rounded_stealth",
            "diamond",
            "filled_diamond",
            "oval",
            "filled_oval",
            "arrow",
            "triangle",
            "filled_triangle",
            "erd_one",
            "erd_many",
            "erd_only_one",
            "erd_zero_or_one",
            "erd_one_or_many",
            "erd_zero_or_many",
            "unknown"
          ]
        },
        "fontSize": {
          "type": "string",
          "description": "Defines the font size, in dp, for the captions on the connector. Default: 14",
          "maximum": 288,
          "minimum": 10
        },
        "startStrokeCap": {
          "type": "string",
          "description": "The decoration cap of the connector end, like an arrow or circle. Default: none.",
          "enum": [
            "none",
            "stealth",
            "rounded_stealth",
            "diamond",
            "filled_diamond",
            "oval",
            "filled_oval",
            "arrow",
            "triangle",
            "filled_triangle",
            "erd_one",
            "erd_many",
            "erd_only_one",
            "erd_zero_or_one",
            "erd_one_or_many",
            "erd_zero_or_many",
            "unknown"
          ]
        },
        "strokeColor": {
          "type": "string",
          "description": "Hex value of the color of the connector line. Default: #000000."
        },
        "strokeStyle": {
          "type": "string",
          "description": "The stroke pattern of the connector line. Default: normal.",
          "enum": [
            "normal",
            "dotted",
            "dashed"
          ]
        },
        "strokeWidth": {
          "type": "string",
          "description": "The thickness of the connector line, in dp. Default: 1.0.",
          "maximum": 24,
          "minimum": 1
        },
        "textOrientation": {
          "type": "string",
          "description": "The captions orientation relatively to the connector line curvature. Default: aligned.",
          "enum": [
            "horizontal",
            "aligned"
          ]
        }
      }
    },
    "ConnectorWithLinks": {
      "type": "object",
      "description": "Contains the result data.",
      "properties": {
        "captions": {
          "type": "array",
          "description": "Blocks of text you want to display on the connector.",
          "items": {
            "$ref": "#/$defs/Caption"
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Date and time when the connector was created. <br>Format: UTC, adheres to [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), includes a [trailing Z offset](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC))."
        },
        "createdBy": {
          "$ref": "#/$defs/createdBy"
        },
        "endItem": {
          "$ref": "#/$defs/ItemConnectionWithLinks"
        },
        "id": {
          "type": "string",
          "description": "Unique identifier (ID) of a connector."
        },
        "isSupported": {
          "type": "boolean",
          "description": "Indicates whether the connector is supported at the moment. If this parameter returns `false`, we do not support the connector at the moment. We do not allow updates for unsupported connectors and we might not return all data about the connector, such as intermediate points and connection points to the canvas."
        },
        "links": {
          "$ref": "#/$defs/SelfLink"
        },
        "modifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Date and time when the connector was last modified. <br>Format: UTC, adheres to [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), includes a [trailing Z offset](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC))."
        },
        "modifiedBy": {
          "$ref": "#/$defs/modifiedBy"
        },
        "shape": {
          "type": "string",
          "default": "curved",
          "description": "The path type of the connector line, defines curvature. Default: curved.",
          "enum": [
            "straight",
            "elbowed",
            "curved"
          ]
        },
        "startItem": {
          "$ref": "#/$defs/ItemConnectionWithLinks"
        },
        "style": {
          "$ref": "#/$defs/ConnectorStyle"
        },
        "type": {
          "type": "string",
          "description": "Type of board object that is returned."
        }
      },
      "required": [
        "id"
      ]
    },
    "ItemConnectionWithLinks": {
      "type": "object",
      "description": "The starting point of the connector.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier (ID) of the item the connector is attached to."
        },
        "links": {
          "$ref": "#/$defs/SelfLink"
        },
        "position": {
          "$ref": "#/$defs/RelativeOffset"
        }
      }
    },
    "PageLinks": {
      "type": "object",
      "description": "Contains pagination links for the collection.",
      "properties": {
        "first": {
          "type": "string",
          "description": "Link to retrieve information in the first page of the collection."
        },
        "last": {
          "type": "string",
          "description": "Link to the retrieve information in the last page of the collection."
        },
        "next": {
          "type": "string",
          "description": "Link to retrieve information in the next page of the collection."
        },
        "prev": {
          "type": "string",
          "description": "Link to retrieve information in the previous page of the collection."
        },
        "self": {
          "type": "string",
          "description": "Link to retrieve information in the current page of the collection."
        }
      }
    },
    "RelativeOffset": {
      "type": "object",
      "description": "The relative position of the point on an item where the connector is attached. Position with x=0% and y=0% correspond to the top-left corner of the item, x=100% and y=100% correspond to the right-bottom corner.",
      "properties": {
        "x": {
          "type": "string",
          "description": "X-axis relative coordinate of the location where the connector connects with an item, in percentage, minimum 0%, maximum 100%."
        },
        "y": {
          "type": "string",
          "description": "Y-axis relative coordinate of the location where the connector connects with an item, in percentage, minimum 0%, maximum 100%."
        }
      }
    },
    "SelfLink": {
      "type": "object",
      "description": "Contains applicable links for the current object.",
      "properties": {
        "self": {
          "type": "string",
          "description": "Link to obtain more information about the current object."
        }
      }
    },
    "createdBy": {
      "type": "object",
      "description": "Contains information about the user who created the item.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier (ID) of the user."
        },
        "type": {
          "type": "string",
          "description": "Indicates the type of object returned. In this case, `type` returns `user`."
        }
      }
    },
    "modifiedBy": {
      "type": "object",
      "description": "Contains information about the user who last modified the item.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier (ID) of the user."
        },
        "type": {
          "type": "string",
          "description": "Indicates the type of object returned. In this case, `type` returns `user`."
        }
      }
    }
  }
}