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

DESIGN/RC/KDS-41-20-2022/REBC : Modify Column Rebar Data

Input URI

{base url} + /DESIGN/RC/KDS-41-20-2022/REBC



Active Methods

POST, GET, PUT, DELETE



JSON Schema

Details

{
  "type": "object",
  "required": [
    "Assign"
  ],
  "properties": {
    "Assign": {
      "type": "object",
      "description": "Keyed object (dictionary). Each property name is a section number string (e.g., \"1\").",
      "minProperties": 1,
      "patternProperties": {
        "^[0-9]+$": {
          "type": "object",
          "required": [
            "ITEMS"
          ],
          "properties": {
            "ITEMS": {
              "type": "array",
              "description": "Concrete column rebar items.",
              "minItems": 1,
              "items": {
                "type": "object",
                "required": [
                  "MAIN_BAR",
                  "SHEAR_BAR_END",
                  "SHEAR_BAR_CEN",
                  "DO"
                ],
                "properties": {
                  "CREATE_SUB_SECTION": {
                    "type": "boolean",
                    "description": "Create Sub Section",
                    "default": false
                  },
                  "ID": {
                    "type": "integer",
                    "description": "Sub Section ID",
                    "readOnly": true
                  },
                  "ELEMS": {
                    "type": "object",
                    "description": "Element No. Input. Required when Create Sub Section is true.",
                    "properties": {
                      "KEYS": {
                        "type": "array",
                        "description": "Specify Each ID",
                        "items": {
                          "type": "integer"
                        }
                      },
                      "TO": {
                        "type": "string",
                        "description": "Specify ID Range (e.g., '1to160')"
                      },
                      "STRUCTURE_GROUP_NAME": {
                        "type": "string",
                        "description": "Specify Structure Group Name"
                      }
                    },
                    "oneOf": [
                      {
                        "required": [
                          "KEYS"
                        ],
                        "not": {
                          "anyOf": [
                            {
                              "required": [
                                "TO"
                              ]
                            },
                            {
                              "required": [
                                "STRUCTURE_GROUP_NAME"
                              ]
                            }
                          ]
                        }
                      },
                      {
                        "required": [
                          "TO"
                        ],
                        "not": {
                          "anyOf": [
                            {
                              "required": [
                                "KEYS"
                              ]
                            },
                            {
                              "required": [
                                "STRUCTURE_GROUP_NAME"
                              ]
                            }
                          ]
                        }
                      },
                      {
                        "required": [
                          "STRUCTURE_GROUP_NAME"
                        ],
                        "not": {
                          "anyOf": [
                            {
                              "required": [
                                "KEYS"
                              ]
                            },
                            {
                              "required": [
                                "TO"
                              ]
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "MAIN_BAR": {
                    "type": "object",
                    "description": "Main rebar data.",
                    "required": [
                      "NAME",
                      "NUM",
                      "ROW",
                      "USE_CORNER"
                    ],
                    "properties": {
                      "NAME": {
                        "type": "string",
                        "description": "Main rebar size.",
                        "oneOf": [
                          {
                            "title": "D4",
                            "const": "D4"
                          },
                          {
                            "title": "D5",
                            "const": "D5"
                          },
                          {
                            "title": "D6",
                            "const": "D6"
                          },
                          {
                            "title": "D7",
                            "const": "D7"
                          },
                          {
                            "title": "D8",
                            "const": "D8"
                          },
                          {
                            "title": "D10",
                            "const": "D10"
                          },
                          {
                            "title": "D13",
                            "const": "D13"
                          },
                          {
                            "title": "D16",
                            "const": "D16"
                          },
                          {
                            "title": "D19",
                            "const": "D19"
                          },
                          {
                            "title": "D22",
                            "const": "D22"
                          },
                          {
                            "title": "D25",
                            "const": "D25"
                          },
                          {
                            "title": "D29",
                            "const": "D29"
                          },
                          {
                            "title": "D32",
                            "const": "D32"
                          },
                          {
                            "title": "D35",
                            "const": "D35"
                          },
                          {
                            "title": "D38",
                            "const": "D38"
                          },
                          {
                            "title": "D41",
                            "const": "D41"
                          },
                          {
                            "title": "D43",
                            "const": "D43"
                          },
                          {
                            "title": "D51",
                            "const": "D51"
                          },
                          {
                            "title": "D57",
                            "const": "D57"
                          }
                        ]
                      },
                      "NUM": {
                        "type": "integer",
                        "description": "Total number of rebars."
                      },
                      "ROW": {
                        "type": "integer",
                        "description": "Number of column row for rebar."
                      },
                      "USE_CORNER": {
                        "type": "boolean",
                        "description": "Use corner rebar."
                      },
                      "NAME_CORNER": {
                        "type": "string",
                        "description": "Corner rebar size.",
                        "oneOf": [
                          {
                            "title": "D4",
                            "const": "D4"
                          },
                          {
                            "title": "D5",
                            "const": "D5"
                          },
                          {
                            "title": "D6",
                            "const": "D6"
                          },
                          {
                            "title": "D7",
                            "const": "D7"
                          },
                          {
                            "title": "D8",
                            "const": "D8"
                          },
                          {
                            "title": "D10",
                            "const": "D10"
                          },
                          {
                            "title": "D13",
                            "const": "D13"
                          },
                          {
                            "title": "D16",
                            "const": "D16"
                          },
                          {
                            "title": "D19",
                            "const": "D19"
                          },
                          {
                            "title": "D22",
                            "const": "D22"
                          },
                          {
                            "title": "D25",
                            "const": "D25"
                          },
                          {
                            "title": "D29",
                            "const": "D29"
                          },
                          {
                            "title": "D32",
                            "const": "D32"
                          },
                          {
                            "title": "D35",
                            "const": "D35"
                          },
                          {
                            "title": "D38",
                            "const": "D38"
                          },
                          {
                            "title": "D41",
                            "const": "D41"
                          },
                          {
                            "title": "D43",
                            "const": "D43"
                          },
                          {
                            "title": "D51",
                            "const": "D51"
                          },
                          {
                            "title": "D57",
                            "const": "D57"
                          }
                        ]
                      }
                    }
                  },
                  "SHEAR_BAR_END": {
                    "type": "object",
                    "description": "Shear rebar data for end part.",
                    "required": [
                      "NAME",
                      "LEG_Y",
                      "LEG_Z",
                      "DIST"
                    ],
                    "properties": {
                      "NAME": {
                        "type": "string",
                        "description": "Hoop rebar size.",
                        "oneOf": [
                          {
                            "title": "D4",
                            "const": "D4"
                          },
                          {
                            "title": "D5",
                            "const": "D5"
                          },
                          {
                            "title": "D6",
                            "const": "D6"
                          },
                          {
                            "title": "D7",
                            "const": "D7"
                          },
                          {
                            "title": "D8",
                            "const": "D8"
                          },
                          {
                            "title": "D10",
                            "const": "D10"
                          },
                          {
                            "title": "D13",
                            "const": "D13"
                          },
                          {
                            "title": "D16",
                            "const": "D16"
                          },
                          {
                            "title": "D19",
                            "const": "D19"
                          },
                          {
                            "title": "D22",
                            "const": "D22"
                          },
                          {
                            "title": "D25",
                            "const": "D25"
                          },
                          {
                            "title": "D29",
                            "const": "D29"
                          },
                          {
                            "title": "D32",
                            "const": "D32"
                          },
                          {
                            "title": "D35",
                            "const": "D35"
                          },
                          {
                            "title": "D38",
                            "const": "D38"
                          },
                          {
                            "title": "D41",
                            "const": "D41"
                          },
                          {
                            "title": "D43",
                            "const": "D43"
                          },
                          {
                            "title": "D51",
                            "const": "D51"
                          },
                          {
                            "title": "D57",
                            "const": "D57"
                          }
                        ]
                      },
                      "LEG_Y": {
                        "type": "integer",
                        "description": "Number of leg (local Y dir.)"
                      },
                      "LEG_Z": {
                        "type": "integer",
                        "description": "Number of leg (local Z dir.)"
                      },
                      "DIST": {
                        "type": "number",
                        "description": "Distance between rebars."
                      }
                    }
                  },
                  "SHEAR_BAR_CEN": {
                    "type": "object",
                    "description": "Shear rebar data for center part.",
                    "required": [
                      "NAME",
                      "LEG_Y",
                      "LEG_Z",
                      "DIST"
                    ],
                    "properties": {
                      "NAME": {
                        "type": "string",
                        "description": "Hoop rebar size.",
                        "oneOf": [
                          {
                            "title": "D4",
                            "const": "D4"
                          },
                          {
                            "title": "D5",
                            "const": "D5"
                          },
                          {
                            "title": "D6",
                            "const": "D6"
                          },
                          {
                            "title": "D7",
                            "const": "D7"
                          },
                          {
                            "title": "D8",
                            "const": "D8"
                          },
                          {
                            "title": "D10",
                            "const": "D10"
                          },
                          {
                            "title": "D13",
                            "const": "D13"
                          },
                          {
                            "title": "D16",
                            "const": "D16"
                          },
                          {
                            "title": "D19",
                            "const": "D19"
                          },
                          {
                            "title": "D22",
                            "const": "D22"
                          },
                          {
                            "title": "D25",
                            "const": "D25"
                          },
                          {
                            "title": "D29",
                            "const": "D29"
                          },
                          {
                            "title": "D32",
                            "const": "D32"
                          },
                          {
                            "title": "D35",
                            "const": "D35"
                          },
                          {
                            "title": "D38",
                            "const": "D38"
                          },
                          {
                            "title": "D41",
                            "const": "D41"
                          },
                          {
                            "title": "D43",
                            "const": "D43"
                          },
                          {
                            "title": "D51",
                            "const": "D51"
                          },
                          {
                            "title": "D57",
                            "const": "D57"
                          }
                        ]
                      },
                      "LEG_Y": {
                        "type": "integer",
                        "description": "Number of leg (local Y dir.)"
                      },
                      "LEG_Z": {
                        "type": "integer",
                        "description": "Number of leg (local Z dir.)"
                      },
                      "DIST": {
                        "type": "number",
                        "description": "Distance between rebars."
                      }
                    }
                  },
                  "DO": {
                    "type": "number",
                    "description": "Distance from concrete face to center of rebar."
                  },
                  "HOOP_TYPE": {
                    "type": "string",
                    "description": "Type of hoop rebar.",
                    "default": "Ties",
                    "oneOf": [
                      {
                        "title": "Ties",
                        "const": "Ties"
                      },
                      {
                        "title": "Spirals",
                        "const": "Spirals"
                      }
                    ]
                  },
                  "HOOK_TYPE": {
                    "type": "integer",
                    "description": "Type of hook.",
                    "default": 0,
                    "oneOf": [
                      {
                        "title": "90+(135 or 180)",
                        "const": 0
                      },
                      {
                        "title": "Both(135 or 180)",
                        "const": 1
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}


Request Examples

Example

{
  "Assign": {
    "1": {
      "ITEMS": [
        {
          "CREATE_SUB_SECTION": false,
          "MAIN_BAR": {
            "NAME": "D19",
            "NUM": 8,
            "ROW": 3,
            "USE_CORNER": false
          },
          "SHEAR_BAR_END": {
            "NAME": "D10",
            "LEG_Y": 2,
            "LEG_Z": 2,
            "DIST": 100
          },
          "SHEAR_BAR_CEN": {
            "NAME": "D10",
            "LEG_Y": 2,
            "LEG_Z": 2,
            "DIST": 200
          },
          "DO": 40,
          "HOOP_TYPE": "Ties",
          "HOOK_TYPE": 0
        }
      ]
    }
  }
}


Specifications

Keyed Object Entry

No. Description Key Value Type Default Required

1

Map of keyed objects where each key is a string identifier.

"Assign"

object

-

Required



Item (Value Object Schema)

No. Description Key Value Type Default Required

1

Concrete column rebar items.

"ITEMS"

array [object]

-

Required

(1)

Create Sub Section

"CREATE_SUB_SECTION"

boolean

false

Optional

When "CREATE_SUB_SECTION" is true

(1)

Element List

Optional when CREATE_SUB_SECTION=false.

"ELEMS"

object

-

Required

a

Specify Each ID

"KEYS"

array

-

Optional

b

Specify ID Range

"TO"

string

-

Optional

c

Structure Group Name

"STRUCTURE_GROUP_NAME"

string

-

Optional

(2)

Sub Section ID

Read Only

"ID"

integer

-

Optional

(3)

Main Rebar

"MAIN_BAR"

object

-

Required

a

Main Rebar Size

"NAME"

string

-

Required

b

Numbers

"NUM"

integer

-

Required

c

Rows

"ROW"

integer

-

Required

d

Corner

"USE_CORNER"

boolean

-

Required

When "USE_CORNER" is true

a

Corner Rebar Size

"NAME_CORNER"

string

-

Required

(4)

Shear Bar End

"SHEAR_BAR_END"

object

-

Required

a

End Hoop Rebar Size

"NAME"

string

-

Required

b

End(I & J) y

"LEG_Y"

integer

-

Required

c

End(I & J) z

"LEG_Z"

integer

-

Required

d

Distance between rebars. End(I & J) @

"DIST"

number

-

Required

(5)

Shear Bar Center

"SHEAR_BAR_CEN"

object

-

Required

a

Center Hoop Rebar Size

"NAME"

string

-

Required

b

Center(M) y

"LEG_Y"

integer

-

Required

c

Center(M) z

"LEG_Z"

integer

-

Required

d

Distance between rebars. Center(M) @

"DIST"

number

-

Required

(6)

Concrete Face to Center of Rebar (do)

"DO"

number

-

Required

(7)

Type of Hoop Rebar

"HOOP_TYPE"

string

Ties

Optional

(8)

Type of Hoop Hook

"HOOK_TYPE"

integer

0

Optional

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