Skip to main content
JSON Manual Created Edited

DESIGN/RC/KDS-41-20-2022/MATD : Modify Concrete Material

Input URI

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



Active Methods

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 material ID string (e.g., \"1\").",
      "minProperties"1,
      "additionalProperties"false,
      "patternProperties": {
        "^[0-9]+$": {
          "type""object",
          "required": [
            "CONCRETE",
            "REBAR"
          ],
          "additionalProperties"false,
          "properties": {
            "CONCRETE": {
              "type""object",
              "description""Concrete material selection.",
              "required": [
                "CODE"
              ],
              "additionalProperties"false,
              "properties": {
                "CODE": {
                  "type""string",
                  "description""Concrete code type.",
                  "oneOf": [
                    {
                      "const""None",
                      "title""None"
                    },
                    {
                      "const""Standard",
                      "title""Standard"
                    }
                  ]
                },
                "STANDARD_CODE": {
                  "type""string",
                  "description""Concrete standard code when CODE is Standard. Currently only KS19(RC) is supported.",
                  "oneOf": [
                    {
                      "const""KS19(RC)",
                      "title""KS19(RC)"
                    }
                  ]
                },
                "NAME": {
                  "type""string",
                  "description""User-defined concrete material name when CODE is None."
                },
                "GRADE": {
                  "type""string",
                  "description""Concrete grade when CODE is Standard.",
                  "oneOf": [
                    {
                      "const""C15",
                      "title""C15"
                    },
                    {
                      "const""C18",
                      "title""C18"
                    },
                    {
                      "const""C21",
                      "title""C21"
                    },
                    {
                      "const""C24",
                      "title""C24"
                    },
                    {
                      "const""C27",
                      "title""C27"
                    },
                    {
                      "const""C30",
                      "title""C30"
                    },
                    {
                      "const""C35",
                      "title""C35"
                    },
                    {
                      "const""C40",
                      "title""C40"
                    },
                    {
                      "const""C45",
                      "title""C45"
                    },
                    {
                      "const""C49",
                      "title""C49"
                    },
                    {
                      "const""C50",
                      "title""C50"
                    },
                    {
                      "const""C55",
                      "title""C55"
                    },
                    {
                      "const""C60",
                      "title""C60"
                    },
                    {
                      "const""C65",
                      "title""C65"
                    },
                    {
                      "const""C70",
                      "title""C70"
                    },
                    {
                      "const""C75",
                      "title""C75"
                    },
                    {
                      "const""C80",
                      "title""C80"
                    },
                    {
                      "const""C85",
                      "title""C85"
                    },
                    {
                      "const""C90",
                      "title""C90"
                    },
                    {
                      "const""C95",
                      "title""C95"
                    }
                  ]
                },
                "FC": {
                  "type""number",
                  "description""Specified compressive strength (fc|fck) in kN/mm². User input when CODE is None. Auto-filled from the selected standard code and grade when CODE is Standard."
                },
                "LIGHTWEIGHT": {
                  "type""boolean",
                  "description""Whether the lightweight concrete factor (Lambda) is applied. Editable for both CODE=None and CODE=Standard.",
                  "default"false
                },
                "LAMBDA": {
                  "type""number",
                  "description""Lambda value. Editable for both CODE=None and CODE=Standard.",
                  "default"1
                }
              },
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "CODE": {
                        "const""None"
                      }
                    },
                    "required": [
                      "CODE"
                    ]
                  },
                  "then": {
                    "required": [
                      "NAME",
                      "FC"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "CODE": {
                        "const""Standard"
                      }
                    },
                    "required": [
                      "CODE"
                    ]
                  },
                  "then": {
                    "required": [
                      "STANDARD_CODE",
                      "GRADE"
                    ]
                  }
                }
              ]
            },
            "REBAR": {
              "type""object",
              "description""Rebar material selection.",
              "required": [
                "CODE"
              ],
              "additionalProperties"false,
              "properties": {
                "CODE": {
                  "type""string",
                  "description""Rebar code type.",
                  "oneOf": [
                    {
                      "const""None",
                      "title""None"
                    },
                    {
                      "const""Standard",
                      "title""Standard"
                    }
                  ]
                },
                "STANDARD_CODE": {
                  "type""string",
                  "description""Rebar standard code when CODE is Standard. Currently only KS19(RC) is supported.",
                  "oneOf": [
                    {
                      "const""KS19(RC)",
                      "title""KS19(RC)"
                    }
                  ]
                },
                "MAIN_REBAR_NAME": {
                  "type""string",
                  "description""User-defined main rebar name when CODE is None."
                },
                "MAIN_REBAR_GRADE": {
                  "type""string",
                  "description""Grade of main rebar when CODE is Standard.",
                  "oneOf": [
                    {
                      "const""SD300",
                      "title""SD300"
                    },
                    {
                      "const""SD400",
                      "title""SD400"
                    },
                    {
                      "const""SD500",
                      "title""SD500"
                    },
                    {
                      "const""SD600",
                      "title""SD600"
                    },
                    {
                      "const""SD700",
                      "title""SD700"
                    },
                    {
                      "const""SD400S",
                      "title""SD400S"
                    },
                    {
                      "const""SD500S",
                      "title""SD500S"
                    },
                    {
                      "const""SD600S",
                      "title""SD600S"
                    }
                  ]
                },
                "FY": {
                  "type""number",
                  "description""Yield strength Fy of main rebar in kN/mm². User input when CODE is None. Auto-filled from the selected standard code and rebar grade when CODE is Standard."
                },
                "SUB_REBAR_NAME": {
                  "type""string",
                  "description""User-defined sub-rebar name when CODE is None."
                },
                "SUB_REBAR_GRADE": {
                  "type""string",
                  "description""Grade of sub-rebar when CODE is Standard.",
                  "oneOf": [
                    {
                      "const""SD300",
                      "title""SD300"
                    },
                    {
                      "const""SD400",
                      "title""SD400"
                    },
                    {
                      "const""SD500",
                      "title""SD500"
                    },
                    {
                      "const""SD600",
                      "title""SD600"
                    },
                    {
                      "const""SD700",
                      "title""SD700"
                    },
                    {
                      "const""SD400S",
                      "title""SD400S"
                    },
                    {
                      "const""SD500S",
                      "title""SD500S"
                    },
                    {
                      "const""SD600S",
                      "title""SD600S"
                    }
                  ]
                },
                "FYS": {
                  "type""number",
                  "description""Yield strength Fys of sub-rebar in kN/mm². User input when CODE is None. Auto-filled from the selected standard code and rebar grade when CODE is Standard."
                }
              },
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "CODE": {
                        "const""None"
                      }
                    },
                    "required": [
                      "CODE"
                    ]
                  },
                  "then": {
                    "required": [
                      "MAIN_REBAR_NAME",
                      "SUB_REBAR_NAME",
                      "FY",
                      "FYS"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "CODE": {
                        "const""Standard"
                      }
                    },
                    "required": [
                      "CODE"
                    ]
                  },
                  "then": {
                    "required": [
                      "STANDARD_CODE",
                      "MAIN_REBAR_GRADE",
                      "SUB_REBAR_GRADE"
                    ]
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}


Request Examples

Example

{
  "Assign": {
    "1": {
      "CONCRETE": {
        "CODE": "Standard",
        "STANDARD_CODE": "KS19(RC)",
        "GRADE": "C15",
        "LIGHTWEIGHT": true,
        "LAMBDA": 1
      },
      "REBAR": {
        "CODE": "Standard",
        "STANDARD_CODE": "KS19(RC)",
        "MAIN_REBAR_GRADE": "SD400S",
        "SUB_REBAR_GRADE": "SD600"
      }
    }
  }
}


Response Examples

Example

{
  "MATD": {
    "1": {
      "CONCRETE": {
        "CODE": "STANDARD",
        "STANDARD_CODE": "KS19(RC)",
        "GRADE": "C15",
        "LIGHTWEIGHT": true,
        "LAMBDA": 1
      },
      "REBAR": {
        "CODE": "STANDARD",
        "STANDARD_CODE": "KS19(RC)",
        "MAIN_REBAR_GRADE": "SD400S",
        "SUB_REBAR_GRADE": "SD600"
      }
    }
  }
}


Specifications

Keyed Object Entry

No. Description Key Value Type Default Required

Root Object

1

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

"Assign"

object

-

Required



Item (Value Object Schema)

No. Description Key Value Type Default Required

General

1

Concrete material selection.

"CONCRETE"

object

-

Required

1.1

Code

• None: "None"

• Standard: "Standard"

"CODE"

string

-

Required

1.2

Light Weight Concrete Factor (Lambda)

"LIGHTWEIGHT"

boolean

false

Optional

1.3

Lambda

"LAMBDA"

number

1

Optional

When "CODE" is Standard

1.4

Standard Code

• KS19(RC): "KS19(RC)"

"STANDARD_CODE"

string

-

Required

1.5

Grade

• C15: "C15"

• C18: "C18"

• C21: "C21"

• C24: "C24"

• C27: "C27"

• C30: "C30"

• C35: "C35"

• C40: "C40"

• C45: "C45"

• C49: "C49"

• C50: "C50"

• C55: "C55"

• C60: "C60"

• C65: "C65"

• C70: "C70"

• C75: "C75"

• C80: "C80"

• C85: "C85"

• C90: "C90"

• C95: "C95"

"GRADE"

string

-

Required

When "CODE" is None

1.6

Name

"NAME"

string

-

Required

1.7

Specified Compressive Strength (fc|fck) [User input when Code=None / Auto-filled when Code=Standard]

"FC"

number

-

Required

2

Rebar material selection.

"REBAR"

object

-

Required

2.1

Code

• None: "None"

• Standard: "Standard"

"CODE"

string

-

Required

When "CODE" is Standard

2.2

Standard Code

• KS19(RC): "KS19(RC)"

"STANDARD_CODE"

string

-

Required

2.3

Grade of Main Rebar

• SD300: "SD300"

• SD400: "SD400"

• SD500: "SD500"

• SD600: "SD600"

• SD700: "SD700"

• SD400S: "SD400S"

• SD500S: "SD500S"

• SD600S: "SD600S"

"MAIN_REBAR_GRADE"

string

-

Required

2.4

Grade of Sub-Rebar

• SD300: "SD300"

• SD400: "SD400"

• SD500: "SD500"

• SD600: "SD600"

• SD700: "SD700"

• SD400S: "SD400S"

• SD500S: "SD500S"

• SD600S: "SD600S"

"SUB_REBAR_GRADE"

string

-

Required

When "CODE" is None

2.5

Name of Main Rebar

"MAIN_REBAR_NAME"

string

-

Required

2.6

Name of Sub-Rebar

"SUB_REBAR_NAME"

string

-

Required

2.7

Fy [User input when Code=None / Auto-filled when Code=Standard]

"FY"

number

-

Required

2.8

Fys [User input when Code=None / Auto-filled when Code=Standard]

"FYS"

number

-

Required



0
Was this article helpful?