{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/octopus-do/json-schema/octopus-do-post-v1-projects-uuid-arrows-create-request-schema.json",
  "title": "PostV1ProjectsUuidArrowsCreateRequest",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/octopus-do-openapi-generated.yml#/components/schemas/PostV1ProjectsUuidArrowsCreateRequest",
  "type": "object",
  "properties": {
    "from_id": {
      "type": "string",
      "description": "Source node id"
    },
    "to_id": {
      "type": "string",
      "description": "Target node id (must differ from from_id)"
    },
    "type": {
      "type": "string",
      "description": "grid | smooth | straight"
    },
    "color_id": {
      "type": "string",
      "description": "Project color id; omit to paint after source"
    },
    "label": {
      "type": "object",
      "description": "Label on the line, text (up to 200 chars) and position (0‑1)"
    },
    "id": {
      "type": "string",
      "description": "Client-supplied id; omit to let the server generate one"
    }
  },
  "required": [
    "from_id",
    "to_id"
  ]
}