주 콘텐츠로 건너뛰기
JSON Manual 생성 편집

Section Manager - Reinforcements

Input URI

{base url} + db/RPSC



Active Methods

POST, GET, PUT, DELETE



JSON Schema

Details

{
  "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
                  }
                }
              }
            }
          ]
        }
      }
    }
  }
}


Request Examples

Longitudinal Reinforcements

{
  "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
            }
          ]
        }
      ]
    }
  }
}

Shear Reinforcements

{
  "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
        }
      ]
    }
  }
}


Specifications

Keyed Object Entry

No. Description Key Value Type Default Required

Root Object

1

Keyed object (dictionary). Each property name is a section ID (e.g., "1").

"Assign"

object

-

Required


Item (Value Object Schema)

No. Description Key Value Type Default Required

General

1

Same Longitudinal Rebar at I/J

"OPT_MBAR_J"

boolean

-

Required

2

Same Shear Rebar at I/J

"OPT_SBAR_J"

boolean

-

Required

3

Cracked Section

Shown only for composite sections. If omitted, the stored value is kept (false for a new record).

"OPT_CRACKED"

boolean

-

Optional

4

Concrete Contribution Factor

Steel composite Type 2 sections only. Applied when OPT_CRACKED is true (otherwise reset to 1).

"CONTRIBUTION_FACTOR"

number

1

Optional

5

Shear Reinforcement Items

Constraints:

• Items: 1 ~ 2

Index 0: i-section, Index 1: j-section (when OPT_SBAR_J is false)

"SBAR_ITEMS"

Array [object]

-

Required

5.1

Diagonal Reinforcement

"OPT_DR"

boolean

false

Optional

5.2

Steel Bar for Web

"OPT_SBW"

boolean

false

Optional

5.3

Torsional Reinforcement

"OPT_TR"

boolean

false

Optional

5.4

Stirrup

"OPT_SR"

boolean

false

Optional

5.5

Enclosing Stirrup

"OPT_LBAR_FLG"

boolean

false

Optional

When "OPT_DR" is true

5.6

[DR] Pitch

"DR_PITCH"

number

-

Required

5.7

[DR] Angle

"DR_THETA"

number

0

Optional

5.8

[DR] Area

"DR_AW"

number

-

Required

When "OPT_SBW" is true

5.9

[SBW] Pitch

"SBW_PITCH"

number

-

Required

5.10

[SBW] Angle

"SBW_ANGLE"

number

90

Optional

5.11

[SBW] Area

"SBW_AP"

number

-

Required

5.12

[SBW] Pre-force

"SBW_PS"

number

-

Required

5.13

[SBW] Shear Reduction Factor

"SBW_FACTOR"

number

1

Optional

When "OPT_TR" is true

5.14

[TR] Pitch

"TR_PITCH"

number

-

Required

5.15

[TR] Area (Web)

"TR_AWT"

number

-

Required

5.16

[TR] Area (Long.)

"TR_ALT"

number

-

Required

When "OPT_SR" is true

5.17

[SR] Pitch

"SR_PITCH"

number

-

Required

5.18

[SR] Area

"SR_AW"

number

-

Required

When "OPT_LBAR_FLG" is true

5.19

Cover Thickness

"LBAR_THICK"

number

-

Required

5.20

Include Flange/Cantilever

"LBAR_INC_FC"

boolean

false

Optional

6

Longitudinal Reinforcement

Constraints:

• Items: 0 ~ 2

Index 0: i-section, Index 1: j-section (when OPT_MBAR_J is false). On PUT, [] or an object without MBAR_ITEMS ({}, as returned by GET) keeps the existing longitudinal rebar of that section.

"MBARS"

Array [object]

-

Required

6.1

Longitudinal Rebar Items

Constraints:

• Items: min 0

If omitted, the existing rebar of the section is kept (PUT). [] deletes it.

"MBAR_ITEMS"

Array [object]

-

Optional

6.1.1

Section Positions - I / J

• I: "I"

• J: "J"

"IJ"

string

-

Required

6.1.2

Bar Name

Constraints:

• Length: min 1

Must be a rebar name of the concrete rebar material code of the model (e.g. D16, #5). Otherwise the request is rejected.

"NAME"

string

-

Required

6.1.3

Reference Y

• Centroid: "0"

• Left: "1"

"REF_Y"

integer

-

Required

6.1.4

Distance from Reference in Y direction

"Y"

number

0

Optional

6.1.5

Reference Z

• Top: "0"

• Bottom: "1"

"REF_Z"

integer

-

Required

6.1.6

Distance from Reference in Z Direction

"Z"

number

0

Optional

6.1.7

Number of Rebar

Constraints:

• Value Range: >= 0

"NUM"

integer

-

Required

6.1.8

Spacing

Constraints:

• Value Range: >= 0

"SPACING"

number

0

Optional

6.1.9

Part

• 0: "0"

• 1: "1"

• 2: "2"

"PART"

integer

-

Required



0
컨텐츠가 도움이 되셨나요?