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

DESIGN/RC/KDS-24-14-21-2021/MATD : Modify RC Materials

Input URI

{base url} + DESIGN/RC/KDS-24-14-21-2021/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 concrete material ID string (e.g., \"1\"): an existing material whose design type is concrete",
      "additionalProperties": false,
      "minProperties": 1,
      "patternProperties": {
        "^[0-9]+$": {
          "title": "Modify Concrete Materials",
          "type": "object",
          "required": [
            "CONCRETE",
            "REBAR"
          ],
          "additionalProperties": false,
          "properties": {
            "CONCRETE": {
              "type": "object",
              "description": "Concrete material for design",
              "required": [
                "CODE"
              ],
              "additionalProperties": false,
              "properties": {
                "CODE": {
                  "type": "string",
                  "enum": [
                    "None",
                    "Standard"
                  ],
                  "description": "Concrete code kind: \"Standard\" = a Korean material DB code given in STANDARD_CODE; \"None\" = user-defined concrete"
                },
                "STANDARD_CODE": {
                  "type": "string",
                  "enum": [
                    "KSCE-LSD15(RC)",
                    "KS01-Civil(RC)",
                    "KS-Civil(RC)",
                    "KS19(RC)",
                    "KS01(RC)",
                    "KS(RC)"
                  ],
                  "description": "Korean material DB code of the concrete. Required when CODE is Standard"
                },
                "GRADE": {
                  "type": "string",
                  "description": "Concrete grade of STANDARD_CODE (list depends on the code). Required when CODE is Standard; fck is then taken from the DB"
                },
                "NAME": {
                  "type": "string",
                  "minLength": 1,
                  "description": "User-defined concrete name. Required when CODE is None (the Grade field becomes Name in the dialog)"
                },
                "FC": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "description": "Specified compressive strength fck, model stress unit, > 0. Required when CODE is None; ignored when CODE is Standard (the grade value is used)"
                }
              }
            },
            "REBAR": {
              "type": "object",
              "description": "Rebar material for design",
              "required": [
                "CODE"
              ],
              "additionalProperties": false,
              "properties": {
                "CODE": {
                  "type": "string",
                  "enum": [
                    "None",
                    "Standard"
                  ],
                  "description": "Rebar code kind: \"Standard\" = a Korean material DB code given in STANDARD_CODE; \"None\" = user-defined rebar"
                },
                "STANDARD_CODE": {
                  "type": "string",
                  "enum": [
                    "KSCE-LSD15(RC)",
                    "KS01-Civil(RC)",
                    "KS-Civil(RC)",
                    "KS19(RC)",
                    "KS01(RC)",
                    "KS(RC)"
                  ],
                  "description": "Korean material DB code of the rebar. Required when CODE is Standard"
                },
                "MAIN_REBAR_GRADE": {
                  "type": "string",
                  "description": "Main rebar grade of STANDARD_CODE. Required when CODE is Standard; fy is then taken from the DB"
                },
                "SUB_REBAR_GRADE": {
                  "type": "string",
                  "description": "Sub-rebar (shear rebar) grade of STANDARD_CODE. Required when CODE is Standard; fys is then taken from the DB"
                },
                "MAIN_REBAR_NAME": {
                  "type": "string",
                  "minLength": 1,
                  "description": "User-defined main rebar name. Required when CODE is None"
                },
                "SUB_REBAR_NAME": {
                  "type": "string",
                  "minLength": 1,
                  "description": "User-defined sub-rebar name. Required when CODE is None"
                },
                "FY": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "description": "Main rebar yield strength fy, model stress unit, > 0. Required when CODE is None; ignored when CODE is Standard"
                },
                "FYS": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "description": "Sub-rebar yield strength fys, model stress unit, > 0. Required when CODE is None; ignored when CODE is Standard"
                }
              }
            }
          }
        }
      }
    }
  }
}


Request Examples

Example

{
  "Assign": {
    "1": {
      "CONCRETE": {
        "CODE": "Standard",
        "STANDARD_CODE": "KS19(RC)",
        "GRADE": "C30"
      },
      "REBAR": {
        "CODE": "Standard",
        "STANDARD_CODE": "KS19(RC)",
        "MAIN_REBAR_GRADE": "SD400",
        "SUB_REBAR_GRADE": "SD400"
      }
    }
  }
}


Response Examples

Example

{
  "MATD": {
    "1": {
      "CONCRETE": {
        "CODE": "Standard",
        "STANDARD_CODE": "KS19(RC)",
        "GRADE": "C30",
        "FC": 30000
      },
      "REBAR": {
        "CODE": "Standard",
        "STANDARD_CODE": "KS19(RC)",
        "MAIN_REBAR_GRADE": "SD400",
        "SUB_REBAR_GRADE": "SD400",
        "FY": 400000,
        "FYS": 400000
      }
    }
  }
}


Specifications

Keyed Object Entry

No. Description Key Value Type Default Required

Root Object

1

Keyed object (dictionary). Each property name is a concrete material ID string (e.g., "1"): an existing material whose design type is concrete

"Assign"

object

-

Required


Item (Value Object Schema)

No. Description Key Value Type Default Required

General

1

Concrete material for design

"CONCRETE"

object

-

Required

1.1

Code

• None (user-defined): "None"

• Material DB code: "Standard"

"CODE"

string

-

Required

1.2

Standard Code

• KSCE-LSD15(RC)

• KS01-Civil(RC)

• KS-Civil(RC)

• KS19(RC)

• KS01(RC)

• KS(RC)

"STANDARD_CODE"

string

-

Optional

1.3

Grade

"GRADE"

string

-

Optional

When CODE = "None (user-defined)"

1.4

Name

"NAME"

string

-

Required

1.5

Specified Compressive Strength (fc|fck)

• Minimum: 0

"FC"

number

-

Required

When STANDARD_CODE = "KSCE-LSD15(RC)"

1.3

Grade

• C15

• C18

• C21

• C24

• C27

• C30

• C35

• C40

• C45

• C50

• C55

• C60

• C65

• C70

• C75

• C80

• C85

• C90

• C95

"GRADE"

string

-

Optional

When STANDARD_CODE in ["KS01-Civil(RC)", "KS19(RC)", "KS01(RC)"]

1.3

Grade

• C15

• C18

• C21

• C24

• C27

• C30

• C35

• C40

• C45

• C49

• C50

• C55

• C60

• C65

• C70

• C75

• C80

• C85

• C90

• C95

"GRADE"

string

-

Optional

When STANDARD_CODE in ["KS-Civil(RC)", "KS(RC)"]

1.3

Grade

• C150

• C180

• C210

• C240

• C270

• C300

• C350

• C400

• C450

• C500

• C550

• C600

• C650

• C700

"GRADE"

string

-

Optional

2

Rebar material for design

"REBAR"

object

-

Required

2.1

Code

• None (user-defined): "None"

• Material DB code: "Standard"

"CODE"

string

-

Required

2.2

Standard Code

• KSCE-LSD15(RC)

• KS01-Civil(RC)

• KS-Civil(RC)

• KS19(RC)

• KS01(RC)

• KS(RC)

"STANDARD_CODE"

string

-

Optional

2.3

Grade of Main Rebar

"MAIN_REBAR_GRADE"

string

-

Optional

2.4

Grade of Sub-Rebar

"SUB_REBAR_GRADE"

string

-

Optional

When CODE = "None (user-defined)"

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

• Minimum: 0

"FY"

number

-

Required

2.8

Fys

• Minimum: 0

"FYS"

number

-

Required

When STANDARD_CODE in ["KSCE-LSD15(RC)", "KS01-Civil(RC)", "KS01(RC)"]

2.3

Grade of Main Rebar

• SD240

• SD300

• SD350

• SD400

• SD500

• SD600

"MAIN_REBAR_GRADE"

string

-

Optional

2.4

Grade of Sub-Rebar

• SD240

• SD300

• SD350

• SD400

• SD500

• SD600

"SUB_REBAR_GRADE"

string

-

Optional

When STANDARD_CODE in ["KS-Civil(RC)", "KS(RC)"]

2.3

Grade of Main Rebar

• SD24

• SD30

• SD35

• SD40

• SD50

"MAIN_REBAR_GRADE"

string

-

Optional

2.4

Grade of Sub-Rebar

• SD24

• SD30

• SD35

• SD40

• SD50

"SUB_REBAR_GRADE"

string

-

Optional

When STANDARD_CODE = "KS19(RC)"

2.3

Grade of Main Rebar

• SD300

• SD400

• SD500

• SD600

• SD700

• SD400S

• SD500S

• SD600S

"MAIN_REBAR_GRADE"

string

-

Optional

2.4

Grade of Sub-Rebar

• SD300

• SD400

• SD500

• SD600

• SD700

• SD400S

• SD500S

• SD600S

"SUB_REBAR_GRADE"

string

-

Optional


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