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

DESIGN/RC/KDS-41-20-2022/REBW : Modify Wall Rebar Data

Input URI

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



Active Methods

POST,PUT,DELETE,GET



JSON Schema

Details

{
  "type""object",
  "required": [
    "Assign"
  ],
  "additionalProperties"false,
  "properties": {
    "Assign": {
      "type""object",
      "description""Keyed object (dictionary). Each property name is a wall ID string (e.g., \"1\").",
      "additionalProperties"false,
      "minProperties"1,
      "patternProperties": {
        "^[0-9]+$": {
          "type""object",
          "required": [
            "ITEMS"
          ],
          "additionalProperties"false,
          "properties": {
            "ITEMS": {
              "type""array",
              "description""Wall rebar items.",
              "minItems"1,
              "items": {
                "type""object",
                "required": [
                  "VERTICAL_REBAR",
                  "HORIZONTAL_REBAR",
                  "CONCRETE_FACE_TO_CENTER_OF_REBAR"
                ],
                "additionalProperties"false,
                "properties": {
                  "CREATE_SUB_WALL_ID": {
                    "type""boolean",
                    "description""Create Sub Wall ID.",
                    "default"false
                  },
                  "SUB_WALL_ID": {
                    "type""integer",
                    "description""Sub Wall ID. Read only when Create Sub Wall ID is true.",
                    "readOnly"true
                  },
                  "STORY": {
                    "type""object",
                    "description""Story range. Required when Create Sub Wall ID is true.",
                    "required": [
                      "FROM",
                      "TO"
                    ],
                    "additionalProperties"false,
                    "properties": {
                      "FROM": {
                        "type""string",
                        "description""Story from."
                      },
                      "TO": {
                        "type""string",
                        "description""Story to."
                      }
                    }
                  },
                  "VERTICAL_REBAR": {
                    "type""object",
                    "description""Vertical rebar data.",
                    "required": [
                      "NAME",
                      "DIST"
                    ],
                    "additionalProperties"false,
                    "properties": {
                      "NAME": {
                        "type""string",
                        "description""Vertical 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"
                          }
                        ]
                      },
                      "DIST": {
                        "type""number",
                        "description""Vertical rebar spacing."
                      }
                    }
                  },
                  "HORIZONTAL_REBAR": {
                    "type""object",
                    "description""Horizontal rebar data.",
                    "required": [
                      "NAME",
                      "DIST"
                    ],
                    "additionalProperties"false,
                    "properties": {
                      "NAME": {
                        "type""string",
                        "description""Horizontal 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"
                          }
                        ]
                      },
                      "DIST": {
                        "type""number",
                        "description""Horizontal rebar spacing."
                      }
                    }
                  },
                  "USE_END_REBAR": {
                    "type""boolean",
                    "description""Use end rebar input.",
                    "default"false
                  },
                  "END_REBAR": {
                    "type""object",
                    "description""End rebar data. Required when Use End Rebar is true.",
                    "required": [
                      "NAME",
                      "NUM",
                      "DIST"
                    ],
                    "additionalProperties"false,
                    "properties": {
                      "NAME": {
                        "type""string",
                        "description""Vertical 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""End rebar number."
                      },
                      "DIST": {
                        "type""number",
                        "description""End rebar spacing."
                      }
                    }
                  },
                  "BE_HORIZONTAL_REBAR": {
                    "type""object",
                    "description""Boundary element horizontal rebar data.",
                    "required": [
                      "NAME",
                      "DIST"
                    ],
                    "additionalProperties"false,
                    "properties": {
                      "NAME": {
                        "type""string",
                        "description""Boundary element horizontal 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"
                          }
                        ]
                      },
                      "DIST": {
                        "type""number",
                        "description""Boundary element horizontal rebar spacing."
                      }
                    }
                  },
                  "BOUNDARY_ELEMENT_LENGTH": {
                    "type""number",
                    "description""Boundary element length.",
                    "default"0
                  },
                  "CONCRETE_FACE_TO_CENTER_OF_REBAR": {
                    "type""object",
                    "description""Concrete face to center of rebar.",
                    "required": [
                      "DW",
                      "DE"
                    ],
                    "additionalProperties"false,
                    "properties": {
                      "DW": {
                        "type""number",
                        "description""Concrete face to center of vertical rebar."
                      },
                      "DE": {
                        "type""number",
                        "description""Concrete face to center of boundary element rebar."
                      }
                    }
                  },
                  "USE_MODEL_THICKNESS": {
                    "type""boolean",
                    "description""Use model thickness.",
                    "default"true
                  },
                  "THICKNESS": {
                    "type""number",
                    "description""Wall thickness."
                  }
                },
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "CREATE_SUB_WALL_ID": {
                          "const"true
                        }
                      },
                      "required": [
                        "CREATE_SUB_WALL_ID"
                      ]
                    },
                    "then": {
                      "required": [
                        "SUB_WALL_ID",
                        "STORY"
                      ]
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "USE_END_REBAR": {
                          "const"true
                        }
                      },
                      "required": [
                        "USE_END_REBAR"
                      ]
                    },
                    "then": {
                      "required": [
                        "END_REBAR"
                      ]
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "USE_MODEL_THICKNESS": {
                          "const"false
                        }
                      },
                      "required": [
                        "USE_MODEL_THICKNESS"
                      ]
                    },
                    "then": {
                      "required": [
                        "THICKNESS"
                      ]
                    }
                  }
                ]
              }
            }
          }
        }
      }
    }
  }
}


Request Examples

Example

{
  "Assign": {
    "1": {
      "ITEMS": [
        {
          "CREATE_SUB_WALL_ID": true,
          "VERTICAL_REBAR": {
            "NAME": "D19",
            "DIST": 222
          },
          "HORIZONTAL_REBAR": {
            "NAME": "D16",
            "DIST": 200
          },
          "USE_END_REBAR": true,
          "BE_HORIZONTAL_REBAR": {
            "NAME": "D19",
            "DIST": 222
          },
          "BOUNDARY_ELEMENT_LENGTH": 222,
          "CONCRETE_FACE_TO_CENTER_OF_REBAR": {
            "DW": 50,
            "DE": 50
          },
          "USE_MODEL_THICKNESS": false,
          "END_REBAR": {
            "NAME": "D25",
            "NUM": 2,
            "DIST": 150
          },
          "THICKNESS": 1000,
          "SUB_WALL_ID": 1,
          "STORY": {
            "FROM": "2F",
            "TO": "Roof"
          }
        }
      ]
    }
  }
}


Response Examples

Example

{
  "REBW": {
    "1": {
      "ITEMS": [
        {
          "CREATE_SUB_WALL_ID": true,
          "SUB_WALL_ID": 1,
          "STORY": {
            "FROM": "2F",
            "TO": "Roof"
          },
          "VERTICAL_REBAR": {
            "NAME": "D19",
            "DIST": 222
          },
          "HORIZONTAL_REBAR": {
            "NAME": "D16",
            "DIST": 200
          },
          "USE_END_REBAR": true,
          "END_REBAR": {
            "NAME": "D25",
            "NUM": 2,
            "DIST": 150
          },
          "BE_HORIZONTAL_REBAR": {
            "NAME": "D19",
            "DIST": 222
          },
          "BOUNDARY_ELEMENT_LENGTH": 222,
          "CONCRETE_FACE_TO_CENTER_OF_REBAR": {
            "DW": 50,
            "DE": 50
          },
          "USE_MODEL_THICKNESS": false,
          "THICKNESS": 1000
        }
      ]
    }
  }
}


Specifications

Keyed Object Entry

No. Description Key Value Type Default Required

Root Object

1

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

"Assign"

object

-

Required


Item (Value Object Schema)

No. Description Key Value Type Default Required

General

1

Wall rebar items.

Constraints:

• Items: min 1

"ITEMS"

Array [object]

-

Required

(1)

Create Sub Wall ID

"CREATE_SUB_WALL_ID"

boolean

false

Optional

(2)

Vertical Rebar

"VERTICAL_REBAR"

object

-

Required

a

Vertical Rebar

• D4: "D4"

• D5: "D5"

• D6: "D6"

• D7: "D7"

• D8: "D8"

• D10: "D10"

• D13: "D13"

• D16: "D16"

• D19: "D19"

• D22: "D22"

• D25: "D25"

• D29: "D29"

• D32: "D32"

• D35: "D35"

• D38: "D38"

• D41: "D41"

• D43: "D43"

• D51: "D51"

• D57: "D57"

"NAME"

string

-

Required

b

Vertical rebar spacing. @

"DIST"

number

-

Required

(3)

Horizontal Rebar

"HORIZONTAL_REBAR"

object

-

Required

a

Horizontal Rebar

• D4: "D4"

• D5: "D5"

• D6: "D6"

• D7: "D7"

• D8: "D8"

• D10: "D10"

• D13: "D13"

• D16: "D16"

• D19: "D19"

• D22: "D22"

• D25: "D25"

• D29: "D29"

• D32: "D32"

• D35: "D35"

• D38: "D38"

• D41: "D41"

• D43: "D43"

• D51: "D51"

• D57: "D57"

"NAME"

string

-

Required

b

Horizontal rebar spacing. @

"DIST"

number

-

Required

(4)

End Rebar

"USE_END_REBAR"

boolean

false

Optional

(5)

BE Horizontal Rebar

"BE_HORIZONTAL_REBAR"

object

-

Optional

a

BE Horizontal Rebar

• D4: "D4"

• D5: "D5"

• D6: "D6"

• D7: "D7"

• D8: "D8"

• D10: "D10"

• D13: "D13"

• D16: "D16"

• D19: "D19"

• D22: "D22"

• D25: "D25"

• D29: "D29"

• D32: "D32"

• D35: "D35"

• D38: "D38"

• D41: "D41"

• D43: "D43"

• D51: "D51"

• D57: "D57"

"NAME"

string

-

Required

b

Boundary element horizontal rebar spacing. @

"DIST"

number

-

Required

(6)

Boundary Element Length

"BOUNDARY_ELEMENT_LENGTH"

number

0

Optional

(7)

Concrete Face to Center of Rebar (dw, de)

"CONCRETE_FACE_TO_CENTER_OF_REBAR"

object

-

Required

a

dw

"DW"

number

-

Required

b

de

"DE"

number

-

Required

(8)

Use Model Thickness

"USE_MODEL_THICKNESS"

boolean

true

Optional

When "CREATE_SUB_WALL_ID" is true

(1)

Sub Wall ID

Read Only

"SUB_WALL_ID"

integer

-

Required

(2)

Story

"STORY"

object

-

Required

a

Story From

"FROM"

string

-

Required

b

Story To

"TO"

string

-

Required

When "USE_END_REBAR" is true

(1)

End Rebar Data

"END_REBAR"

object

-

Required

a

Vertical Rebar

• D4: "D4"

• D5: "D5"

• D6: "D6"

• D7: "D7"

• D8: "D8"

• D10: "D10"

• D13: "D13"

• D16: "D16"

• D19: "D19"

• D22: "D22"

• D25: "D25"

• D29: "D29"

• D32: "D32"

• D35: "D35"

• D38: "D38"

• D41: "D41"

• D43: "D43"

• D51: "D51"

• D57: "D57"

"NAME"

string

-

Required

b

End Number

"NUM"

integer

-

Required

c

End rebar spacing. @

"DIST"

number

-

Required

When "USE_MODEL_THICKNESS" is false

(1)

Thickness

"THICKNESS"

number

-

Required



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