{
  "openapi": "3.0.1",
  "info": {
    "title": "Section Properties Calculator (Moment of Inertia, Steel Shapes)",
    "description": "Cross-section properties from plain text: moment of inertia, section modulus, centroid, radius of gyration, torsion and warping constants and shear centre for any shape or 824 steel profiles (W, IPE, HE, UB, angles), plus stresses and column buckling.",
    "version": "0.1",
    "x-build-id": "7XIclxv1AnAcn77DT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jumblemog~section-properties-calculator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jumblemog-section-properties-calculator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/jumblemog~section-properties-calculator/runs": {
      "post": {
        "operationId": "runs-sync-jumblemog-section-properties-calculator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/jumblemog~section-properties-calculator/run-sync": {
      "post": {
        "operationId": "run-sync-jumblemog-section-properties-calculator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "sections": {
            "title": "Sections",
            "type": "array",
            "description": "One section per entry, as a line of text or an object. Standard profiles: 'IPE 300', 'HEA 200', 'HE 200 B', 'W12x26' or 'W310x38.7', 'UB 203x133x25', 'UC 152x152x23', 'UPN 100', 'UPE 200', 'IPN 200', 'L 100x100x10'. Shapes (dimensions in order): 'rectangle 100 x 200 mm' (width x depth), 'circle 50 mm', 'CHS 114.3 x 6 mm', 'NPS 4 sch 40 pipe', 'RHS 200 x 100 x 8 mm', 'SHS 100 x 5', 'HSS 6x4x1/4', 'I-beam 300 x 150 x 7.1 x 10.7 mm' (depth x width x web x flange, then root radius), 'channel 200 x 75 x 6 x 10', 'tee 150 x 100 x 10 x 12', 'angle 100 x 75 x 8', 'lipped C 200 x 75 x 20 x 2', 'Z 200 x 75 x 20 x 2', 'hexagon 50 mm across flats', 'ellipse 100 x 60', 'triangle 100 x 80', '2x10 lumber', 'polygon (0,0) (100,0) (0,80)' with 'hole (..) (..) (..)'. Built-up: 'IPE 300 with a 200 x 12 mm plate on the bottom flange' or 'cover plates top and bottom', or an object with parts. Add a material ('S355', 'A992', '6061-T6', 'fy 50 ksi'), forces for stresses ('axial 200 kN', 'moment 50 kN·m', 'My', 'shear 100 kN', 'torque 5 kN·m') and a column ('column 3 m long, pinned ends', 'K 0.7', 'load 500 kN'). Object fields: shape (rectangle, circle, ellipse, triangle, chs, pipe, rhs, i, channel, tee, angle, cee, zed, regular polygon, polygon, profile, built-up), name, b, d, t, tw, tf, r, lip, sides, points, holes, parts (each a shape with at: top, bottom, left, right or inside, or x and y, and hole: true), angle, mirror, material, e, yieldStrength, density, length, k, kz, ends, load, tension, mx, my, vx, vy, torque, nps, schedule, units, title, text."
          },
          "material": {
            "title": "Default material",
            "enum": [
              "steel",
              "s235",
              "s275",
              "s355",
              "s460",
              "a36",
              "a992",
              "a572",
              "a500",
              "a53",
              "304",
              "316",
              "aluminum",
              "6061-t6",
              "6063-t6",
              "6082-t6",
              "titanium",
              "brass",
              "copper",
              "douglas fir",
              "timber",
              "concrete"
            ],
            "type": "string",
            "description": "For sections that name none: its E, yield strength and density give the mass, capacities and column strength. Plain steel (E 200 GPa, no yield strength) if unset."
          },
          "units": {
            "title": "Units",
            "enum": [
              "mm",
              "in"
            ],
            "type": "string",
            "description": "For numbers written without a unit. Inches, feet, kips or ksi in the text, a W12x26-style name or lumber switch to inch units on their own.",
            "default": "mm"
          },
          "charts": {
            "title": "Draw charts",
            "type": "boolean",
            "description": "The section to scale with its centroid, shear centre and principal axes, next to the column curves or the main properties.",
            "default": true
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}