メインコンテンツへスキップ
JSON Manual 作成 編集

断面マネージャー - 鉄筋

入力 URI

{base url} + db/RPSC



メソッド

POST, GET, PUT, DELETE



JSON スキーマ

詳細

{
  "type": "object",
  "required": [
    "Assign"
  ],
  "additionalProperties": false,
  "properties": {
    "Assign": {
      "type": "object",
      "description": "Keyed object (dictionary). Each property name is a section ID (e.g., \"1\").",
      "additionalProperties": false,
      "minProperties": 1,
      "patternProperties": {
        "^[0-9]+$": {
          "title": "RPSC Longitudinal Rebar",
          "type": "object",
          "description": "Section Manager - Reinforcements (longitudinal and shear reinforcement).",
          "required": [
            "OPT_MBAR_J",
            "OPT_SBAR_J",
            "SBAR_ITEMS",
            "MBARS"
          ],
          "additionalProperties": false,
          "properties": {
            "OPT_MBAR_J": {
              "type": "boolean",
              "description": "Same rebar data at I-end and J-end for longitudinal reinforcement."
            },
            "OPT_SBAR_J": {
              "type": "boolean",
              "description": "Same shear rebar data at I-end and J-end."
            },
            "OPT_CRACKED": {
              "type": "boolean",
              "description": "Cracked section option. Shown only for composite sections; omitted from GET otherwise. When omitted in a request the stored value is kept (false for a new record)."
            },
            "CONTRIBUTION_FACTOR": {
              "type": "number",
              "default": 1,
              "description": "Concrete contribution factor. Steel composite Type 2 sections only; applied when OPT_CRACKED is true, otherwise reset to 1. Returned by GET only for those sections."
            },
            "SBAR_ITEMS": {
              "type": "array",
              "description": "Shear reinforcement data. Index 0: I-section, index 1: J-section (when OPT_SBAR_J is false).",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "OPT_DR": {
                    "type": "boolean",
                    "description": "Diagonal reinforcement.",
                    "default": false
                  },
                  "DR_PITCH": {
                    "type": "number",
                    "description": "[DR] Pitch."
                  },
                  "DR_THETA": {
                    "type": "number",
                    "description": "[DR] Angle. If omitted, 0 is stored.",
                    "default": 0
                  },
                  "DR_AW": {
                    "type": "number",
                    "description": "[DR] Area."
                  },
                  "OPT_SBW": {
                    "type": "boolean",
                    "description": "Steel bar for web.",
                    "default": false
                  },
                  "SBW_PITCH": {
                    "type": "number",
                    "description": "[SBW] Pitch."
                  },
                  "SBW_ANGLE": {
                    "type": "number",
                    "description": "[SBW] Angle. If omitted, 90 is stored.",
                    "default": 90
                  },
                  "SBW_AP": {
                    "type": "number",
                    "description": "[SBW] Area."
                  },
                  "SBW_PS": {
                    "type": "number",
                    "description": "[SBW] Pre-force."
                  },
                  "SBW_FACTOR": {
                    "type": "number",
                    "description": "[SBW] Shear reduction factor. If omitted, 1 is stored.",
                    "default": 1
                  },
                  "OPT_TR": {
                    "type": "boolean",
                    "description": "Torsional reinforcement.",
                    "default": false
                  },
                  "TR_PITCH": {
                    "type": "number",
                    "description": "[TR] Pitch."
                  },
                  "TR_AWT": {
                    "type": "number",
                    "description": "[TR] Area (web)."
                  },
                  "TR_ALT": {
                    "type": "number",
                    "description": "[TR] Area (longitudinal)."
                  },
                  "OPT_SR": {
                    "type": "boolean",
                    "description": "Stirrup.",
                    "default": false
                  },
                  "SR_PITCH": {
                    "type": "number",
                    "description": "[SR] Pitch."
                  },
                  "SR_AW": {
                    "type": "number",
                    "description": "[SR] Area."
                  },
                  "OPT_LBAR_FLG": {
                    "type": "boolean",
                    "description": "Enclosing stirrup.",
                    "default": false
                  },
                  "LBAR_THICK": {
                    "type": "number",
                    "description": "Cover thickness for enclosed section area."
                  },
                  "LBAR_INC_FC": {
                    "type": "boolean",
                    "description": "Include flange/cantilever. If omitted, false is stored.",
                    "default": false
                  }
                },
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "OPT_DR": {
                          "const": true
                        }
                      },
                      "required": [
                        "OPT_DR"
                      ]
                    },
                    "then": {
                      "required": [
                        "DR_PITCH",
                        "DR_AW"
                      ],
                      "properties": {
                        "DR_PITCH": {
                          "exclusiveMinimum": 0
                        },
                        "DR_AW": {
                          "exclusiveMinimum": 0
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "OPT_SBW": {
                          "const": true
                        }
                      },
                      "required": [
                        "OPT_SBW"
                      ]
                    },
                    "then": {
                      "required": [
                        "SBW_PITCH",
                        "SBW_AP",
                        "SBW_PS"
                      ],
                      "properties": {
                        "SBW_PITCH": {
                          "exclusiveMinimum": 0
                        },
                        "SBW_AP": {
                          "exclusiveMinimum": 0
                        },
                        "SBW_PS": {
                          "exclusiveMinimum": 0
                        },
                        "SBW_FACTOR": {
                          "exclusiveMinimum": 0
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "OPT_TR": {
                          "const": true
                        }
                      },
                      "required": [
                        "OPT_TR"
                      ]
                    },
                    "then": {
                      "required": [
                        "TR_PITCH",
                        "TR_AWT",
                        "TR_ALT"
                      ],
                      "properties": {
                        "TR_PITCH": {
                          "exclusiveMinimum": 0
                        },
                        "TR_AWT": {
                          "exclusiveMinimum": 0
                        },
                        "TR_ALT": {
                          "exclusiveMinimum": 0
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "OPT_SR": {
                          "const": true
                        }
                      },
                      "required": [
                        "OPT_SR"
                      ]
                    },
                    "then": {
                      "required": [
                        "SR_PITCH",
                        "SR_AW"
                      ],
                      "properties": {
                        "SR_PITCH": {
                          "exclusiveMinimum": 0
                        },
                        "SR_AW": {
                          "exclusiveMinimum": 0
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "OPT_LBAR_FLG": {
                          "const": true
                        }
                      },
                      "required": [
                        "OPT_LBAR_FLG"
                      ]
                    },
                    "then": {
                      "required": [
                        "LBAR_THICK"
                      ],
                      "properties": {
                        "LBAR_THICK": {
                          "exclusiveMinimum": 0
                        }
                      }
                    }
                  }
                ]
              },
              "minItems": 1,
              "maxItems": 2
            },
            "MBARS": {
              "type": "array",
              "description": "Longitudinal reinforcement. Index 0: I-section, index 1: J-section (when OPT_MBAR_J is false). On PUT, [] or a group without MBAR_ITEMS ({}, the GET form) keeps the existing rebar of that section; {\"MBAR_ITEMS\": []} deletes it. For shear reinforcement only, send any of the three.",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "MBAR_ITEMS": {
                    "type": "array",
                    "description": "Longitudinal reinforcement property details. Omit to keep the existing rebar of this section (PUT); [] deletes it.",
                    "items": {
                      "type": "object",
                      "required": [
                        "IJ",
                        "NAME",
                        "REF_Y",
                        "REF_Z",
                        "NUM",
                        "PART"
                      ],
                      "additionalProperties": false,
                      "properties": {
                        "IJ": {
                          "type": "string",
                          "description": "Section position.",
                          "enum": [
                            "I",
                            "J"
                          ]
                        },
                        "NAME": {
                          "type": "string",
                          "description": "Bar name. Must be a rebar name of the model's concrete rebar material code (e.g. D16); otherwise the request is rejected (400).",
                          "minLength": 1
                        },
                        "REF_Y": {
                          "type": "integer",
                          "description": "Reference Y. 0: centroid, 1: left.",
                          "enum": [
                            0,
                            1
                          ]
                        },
                        "Y": {
                          "type": "number",
                          "description": "Distance from reference in Y direction.",
                          "default": 0
                        },
                        "REF_Z": {
                          "type": "integer",
                          "description": "Reference Z. 0: top, 1: bottom.",
                          "enum": [
                            0,
                            1
                          ]
                        },
                        "Z": {
                          "type": "number",
                          "description": "Distance from reference in Z direction.",
                          "default": 0
                        },
                        "NUM": {
                          "type": "integer",
                          "description": "Number of rebars.",
                          "minimum": 0
                        },
                        "SPACING": {
                          "type": "number",
                          "description": "Spacing between rebars.",
                          "default": 0,
                          "minimum": 0
                        },
                        "PART": {
                          "type": "integer",
                          "description": "Part. Allowed values depend on the section: non-composite 0, 1 or 2; concrete composite 1 or 2; steel composite 2.",
                          "enum": [
                            0,
                            1,
                            2
                          ]
                        }
                      }
                    },
                    "minItems": 0
                  }
                }
              },
              "minItems": 0,
              "maxItems": 2
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "OPT_MBAR_J": {
                    "const": true
                  }
                }
              },
              "then": {
                "properties": {
                  "MBARS": {
                    "minItems": 0,
                    "maxItems": 1
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "OPT_MBAR_J": {
                    "const": false
                  }
                }
              },
              "then": {
                "properties": {
                  "MBARS": {
                    "minItems": 0,
                    "maxItems": 2
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "OPT_SBAR_J": {
                    "const": true
                  }
                }
              },
              "then": {
                "properties": {
                  "SBAR_ITEMS": {
                    "minItems": 1,
                    "maxItems": 1
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "OPT_SBAR_J": {
                    "const": false
                  }
                }
              },
              "then": {
                "properties": {
                  "SBAR_ITEMS": {
                    "minItems": 1,
                    "maxItems": 2
                  }
                }
              }
            }
          ]
        }
      }
    }
  }
}


例

軸方向鉄筋

{
  "Assign": {
    "401": {
      "OPT_MBAR_J": false,
      "OPT_SBAR_J": false,
      "OPT_CRACKED": false,
      "SBAR_ITEMS": [
        {
          "OPT_DR": false,
          "OPT_SBW": false,
          "OPT_TR": false,
          "OPT_SR": false,
          "OPT_LBAR_FLG": false
        }
      ],
      "MBARS": [
        {
          "MBAR_ITEMS": [
            {
              "IJ": "I",
              "NAME": "#18",
              "REF_Y": 1,
              "Y": 3.63,
              "REF_Z": 1,
              "Z": 2.148120340131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#18",
              "REF_Y": 0,
              "Y": 0,
              "REF_Z": 0,
              "Z": 0.1,
              "NUM": 2,
              "SPACING": 0.1,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#11",
              "REF_Y": 1,
              "Y": 3.53,
              "REF_Z": 1,
              "Z": 0.04812034013186328,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#11",
              "REF_Y": 1,
              "Y": 3.63,
              "REF_Z": 1,
              "Z": 0.04812034013186328,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#11",
              "REF_Y": 1,
              "Y": 3.73,
              "REF_Z": 1,
              "Z": 0.04812034013186328,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 1.4611,
              "REF_Z": 1,
              "Z": 2.131480340131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 1.4492353743496362,
              "REF_Z": 1,
              "Z": 1.8353731826151332,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 1.6839,
              "REF_Z": 1,
              "Z": 2.016350340131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.7871,
              "REF_Z": 1,
              "Z": 2.166015640131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.837429326148554,
              "REF_Z": 1,
              "Z": 2.078842690131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.736770673851446,
              "REF_Z": 1,
              "Z": 2.078842690131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.840814080204331,
              "REF_Z": 1,
              "Z": 1.7753208240021041,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.802493302814122,
              "REF_Z": 1,
              "Z": 1.607298953906575,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "I",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.643314689039411,
              "REF_Z": 1,
              "Z": 1.7222612860772002,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            }
          ]
        },
        {
          "MBAR_ITEMS": [
            {
              "IJ": "J",
              "NAME": "#18",
              "REF_Y": 1,
              "Y": 3.63,
              "REF_Z": 1,
              "Z": 2.148120340131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#18",
              "REF_Y": 0,
              "Y": 0,
              "REF_Z": 0,
              "Z": 0.1,
              "NUM": 2,
              "SPACING": 0.1,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#11",
              "REF_Y": 1,
              "Y": 3.53,
              "REF_Z": 1,
              "Z": 0.04812034013186328,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#11",
              "REF_Y": 1,
              "Y": 3.63,
              "REF_Z": 1,
              "Z": 0.04812034013186328,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#11",
              "REF_Y": 1,
              "Y": 3.73,
              "REF_Z": 1,
              "Z": 0.04812034013186328,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 1.4611,
              "REF_Z": 1,
              "Z": 2.131480340131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 1.4492353743496362,
              "REF_Z": 1,
              "Z": 1.8353731826151332,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 1.6839,
              "REF_Z": 1,
              "Z": 2.016350340131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.7871,
              "REF_Z": 1,
              "Z": 2.166015640131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.837429326148554,
              "REF_Z": 1,
              "Z": 2.078842690131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.736770673851446,
              "REF_Z": 1,
              "Z": 2.078842690131863,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.840814080204331,
              "REF_Z": 1,
              "Z": 1.7753208240021041,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.802493302814122,
              "REF_Z": 1,
              "Z": 1.607298953906575,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            },
            {
              "IJ": "J",
              "NAME": "#10",
              "REF_Y": 1,
              "Y": 5.643314689039411,
              "REF_Z": 1,
              "Z": 1.7222612860772002,
              "NUM": 1,
              "SPACING": 0,
              "PART": 0
            }
          ]
        }
      ]
    }
  }
}

せん断鉄筋

{
  "Assign": {
    "1": {
      "OPT_MBAR_J": true,
      "OPT_SBAR_J": false,
      "OPT_CRACKED": false,
      "MBARS": [
        {
          "MBAR_ITEMS": [
            {
              "IJ": "I",
              "NAME": "D16",
              "REF_Y": 1,
              "Y": 610,
              "REF_Z": 0,
              "Z": 250,
              "NUM": 1,
              "SPACING": 0,
              "PART": 1
            }
          ]
        }
      ],
      "SBAR_ITEMS": [
        {
          "OPT_DR": true,
          "DR_PITCH": 100,
          "DR_THETA": 90,
          "DR_AW": 402.2,
          "OPT_SBW": false,
          "OPT_TR": true,
          "TR_PITCH": 150,
          "TR_AWT": 402.2,
          "TR_ALT": 4022,
          "OPT_SR": false,
          "OPT_LBAR_FLG": false
        },
        {
          "OPT_DR": true,
          "DR_PITCH": 100,
          "DR_THETA": 90,
          "DR_AW": 402.2,
          "OPT_SBW": false,
          "OPT_TR": true,
          "TR_PITCH": 150,
          "TR_AWT": 402.2,
          "TR_ALT": 4022,
          "OPT_SR": false,
          "OPT_LBAR_FLG": false
        }
      ]
    }
  }
}


仕様

キー付きオブジェクト

No. 説明 Key データ型 Default 必須

ルートオブジェクト

1

キー付きオブジェクト(辞書)。各プロパティ名は断面番号です(例: "1")。

"Assign"

object

-

必須


項目(値オブジェクト)

No. 説明 Key データ型 Default 必須

一般

1

Same Longitudinal Rebar at I/J

"OPT_MBAR_J"

boolean

-

必須

2

Same Shear Rebar at I/J

"OPT_SBAR_J"

boolean

-

必須

3

Cracked Section

合成断面の場合のみ表示されます。省略した場合は保存済みの値が維持されます(新規レコードの場合は false)。

"OPT_CRACKED"

boolean

-

オプション

4

Concrete Contribution Factor

鋼合成 Type 2 断面のみ。OPT_CRACKED が true の場合に適用されます(それ以外は 1 にリセットされます)。

"CONTRIBUTION_FACTOR"

number

1

オプション

5

Shear Reinforcement Items

制約:

• 要素数: 1 ~ 2

Index 0: i 端断面、Index 1: j 端断面(OPT_SBAR_J が false の場合)

"SBAR_ITEMS"

Array [object]

-

必須

5.1

Diagonal Reinforcement

"OPT_DR"

boolean

false

オプション

5.2

Steel Bar for Web

"OPT_SBW"

boolean

false

オプション

5.3

Torsional Reinforcement

"OPT_TR"

boolean

false

オプション

5.4

Stirrup

"OPT_SR"

boolean

false

オプション

5.5

Enclosing Stirrup

"OPT_LBAR_FLG"

boolean

false

オプション

"OPT_DR" が true の場合

5.6

[DR] Pitch

"DR_PITCH"

number

-

必須

5.7

[DR] Angle

"DR_THETA"

number

0

オプション

5.8

[DR] Area

"DR_AW"

number

-

必須

"OPT_SBW" が true の場合

5.9

[SBW] Pitch

"SBW_PITCH"

number

-

必須

5.10

[SBW] Angle

"SBW_ANGLE"

number

90

オプション

5.11

[SBW] Area

"SBW_AP"

number

-

必須

5.12

[SBW] Pre-force

"SBW_PS"

number

-

必須

5.13

[SBW] Shear Reduction Factor

"SBW_FACTOR"

number

1

オプション

"OPT_TR" が true の場合

5.14

[TR] Pitch

"TR_PITCH"

number

-

必須

5.15

[TR] Area (Web)

"TR_AWT"

number

-

必須

5.16

[TR] Area (Long.)

"TR_ALT"

number

-

必須

"OPT_SR" が true の場合

5.17

[SR] Pitch

"SR_PITCH"

number

-

必須

5.18

[SR] Area

"SR_AW"

number

-

必須

"OPT_LBAR_FLG" が true の場合

5.19

Cover Thickness

"LBAR_THICK"

number

-

必須

5.20

Include Flange/Cantilever

"LBAR_INC_FC"

boolean

false

オプション

6

Longitudinal Reinforcement

制約:

• 要素数: 0 ~ 2

Index 0: i 端断面、Index 1: j 端断面(OPT_MBAR_J が false の場合)。PUT で [] または MBAR_ITEMS のないオブジェクト({}、GET の返却形式)を送ると、その断面の既存の軸方向鉄筋が維持されます。

"MBARS"

Array [object]

-

必須

6.1

Longitudinal Rebar Items

制約:

• 要素数: 最小 0

省略した場合、その断面の既存の軸方向鉄筋が維持されます(PUT)。[] を送ると削除されます。

"MBAR_ITEMS"

Array [object]

-

オプション

6.1.1

Section Positions - I / J

• I: "I"

• J: "J"

"IJ"

string

-

必須

6.1.2

Bar Name

制約:

• 文字数: 最小 1

モデルのコンクリート鉄筋材料規格に含まれる鉄筋名を指定してください(例: D16, #5)。それ以外の場合、リクエストは拒否されます。

"NAME"

string

-

必須

6.1.3

Reference Y

• Centroid: "0"

• Left: "1"

"REF_Y"

integer

-

必須

6.1.4

Distance from Reference in Y direction

"Y"

number

0

オプション

6.1.5

Reference Z

• Top: "0"

• Bottom: "1"

"REF_Z"

integer

-

必須

6.1.6

Distance from Reference in Z Direction

"Z"

number

0

オプション

6.1.7

Number of Rebar

制約:

• 値の範囲: >= 0

"NUM"

integer

-

必須

6.1.8

Spacing

制約:

• 値の範囲: >= 0

"SPACING"

number

0

オプション

6.1.9

Part

• 0: "0"

• 1: "1"

• 2: "2"

"PART"

integer

-

必須



0
コンテンツが役に立ちましたか?