Input URI
|
{base url} + DESIGN/RC/KDS-24-14-21-2021/RIBC |
|---|
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 design section ID string (e.g., \"1\").",
"additionalProperties": false,
"minProperties": 1,
"patternProperties": {
"^[0-9]+$": {
"title": "Rebar Input",
"type": "object",
"required": [
"MEMBTYPE"
],
"additionalProperties": false,
"properties": {
"MEMBTYPE": {
"type": "string",
"description": "Member type of the section record. Writing one type makes the record that type",
"enum": [
"BEAM",
"COLUMN"
]
},
"ENVTYPE": {
"type": "integer",
"description": "Crack Checking exposure condition (beam section). Omitted keeps the stored value",
"enum": [
0,
1,
2,
3
]
},
"BEAM": {
"type": "object",
"description": "Beam Section Data for Checking. Required when MEMBTYPE is BEAM (not read otherwise)",
"additionalProperties": false,
"properties": {
"OPTION_IMJSAME": {
"type": "boolean",
"default": false,
"description": "When true, after the merge the i-Node data are copied to middle and j-Node (not stored)"
},
"vMAIN": {
"type": "array",
"description": "Main rebar per position. Merged by SECTOR (each SECTOR at most once); positions not listed are left alone. Collection items are paired with the stored items by request position and missing properties are filled in from them, so read the record with GET, edit it and send every property of every item back",
"maxItems": 3,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"SECTOR"
],
"properties": {
"SECTOR": {
"type": "string",
"description": "Position along the member",
"enum": [
"I",
"M",
"J"
]
},
"POS_TOP_LAYERS": {
"type": "array",
"description": "Complete top layer set of this position. Omitting the array leaves the stored top layers unchanged; when present it replaces them (slots not listed are cleared). Collection items are paired with the stored items by request position and missing properties are filled in from them, so read the record with GET, edit it and send every property of every item back",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"LAYER",
"dD",
"BAR_NUM",
"BAR_NAME1"
],
"properties": {
"LAYER": {
"type": "integer",
"description": "Top layer slot 1 to 10 (slot number, not list position; a skipped number stays an empty layer)",
"minimum": 1,
"maximum": 10
},
"BAR_NUM": {
"type": "integer",
"description": "Number of bars in this layer, 1 or more",
"minimum": 1
},
"BAR_NAME1": {
"type": "string",
"description": "Size1 (primary bar size). Rebar designation from the model's concrete rebar size list (not a fixed enum: one list per model, chosen by the concrete rebar material code). An empty or unknown name is rejected"
},
"BAR_NAME2": {
"type": "string",
"description": "Size2 (secondary bar size). Optional; empty on a new record. Rebar designation from the model's concrete rebar size list (not a fixed enum: one list per model, chosen by the concrete rebar material code). An empty or unknown name is rejected",
"default": ""
},
"dD": {
"type": "number",
"description": "Cover to this top layer (Dt). Greater than 0 and at most the limit for the section shape",
"exclusiveMinimum": 0
}
}
}
},
"POS_BOT_LAYERS": {
"type": "array",
"description": "Complete bottom layer set of this position. Omitting the array leaves the stored bottom layers unchanged; when present it replaces them (slots not listed are cleared). Collection items are paired with the stored items by request position and missing properties are filled in from them, so read the record with GET, edit it and send every property of every item back",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"LAYER",
"dD",
"BAR_NUM",
"BAR_NAME1"
],
"properties": {
"LAYER": {
"type": "integer",
"description": "Bottom layer slot 1 to 10 (slot number, not list position; a skipped number stays an empty layer)",
"minimum": 1,
"maximum": 10
},
"BAR_NUM": {
"type": "integer",
"description": "Number of bars in this layer, 1 or more",
"minimum": 1
},
"BAR_NAME1": {
"type": "string",
"description": "Size1 (primary bar size). Rebar designation from the model's concrete rebar size list (not a fixed enum: one list per model, chosen by the concrete rebar material code). An empty or unknown name is rejected"
},
"BAR_NAME2": {
"type": "string",
"description": "Size2 (secondary bar size). Optional; empty on a new record. Rebar designation from the model's concrete rebar size list (not a fixed enum: one list per model, chosen by the concrete rebar material code). An empty or unknown name is rejected",
"default": ""
},
"dD": {
"type": "number",
"description": "Cover to this bottom layer (Db). Greater than 0 and at most the limit for the section shape",
"exclusiveMinimum": 0
}
}
}
}
}
}
},
"vSUB_BAR": {
"type": "array",
"description": "Stirrups per position. Merged by SECTOR (each SECTOR at most once); positions not listed are left alone. Collection items are paired with the stored items by request position and missing properties are filled in from them, so read the record with GET, edit it and send every property of every item back",
"maxItems": 3,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"SECTOR",
"dSUB_BARNUM",
"SUB_BARNAME",
"dSUB_BARDIST"
],
"properties": {
"SECTOR": {
"type": "string",
"description": "Position along the member",
"enum": [
"I",
"M",
"J"
]
},
"SUB_BARNAME": {
"type": "string",
"description": "Stirrup size. Rebar designation from the model's concrete rebar size list (not a fixed enum: one list per model, chosen by the concrete rebar material code). An empty or unknown name is rejected",
"minLength": 1
},
"dSUB_BARDIST": {
"type": "number",
"description": "Stirrup spacing, greater than 0",
"exclusiveMinimum": 0
},
"dSUB_BARNUM": {
"type": "number",
"description": "Number of stirrup legs, 2 to 99",
"minimum": 2,
"maximum": 99
},
"dSUB_BARANGLE": {
"type": "number",
"description": "Stirrup angle in degrees (90 on a new record). Collection items are paired with the stored items by request position and missing properties are filled in from them, so read the record with GET, edit it and send every property of every item back"
}
}
}
}
}
},
"COLM": {
"type": "object",
"description": "Column Section Data for Checking. Required when MEMBTYPE is COLUMN (not read otherwise)",
"additionalProperties": false,
"properties": {
"vLAYER": {
"type": "array",
"description": "Complete layer set. Omitting the array leaves the stored layers unchanged; when present it replaces them. Collection items are paired with the stored items by request position and missing properties are filled in from them, so read the record with GET, edit it and send every property of every item back",
"maxItems": 5,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"INDEX",
"dDc",
"vPOSITION"
],
"properties": {
"INDEX": {
"type": "integer",
"description": "Layer slot 1 to 5 (slot number, not list position)",
"minimum": 1,
"maximum": 5
},
"dDc": {
"type": "number",
"description": "Cover to this layer (Dc). Greater than 0 and at most the limit for the section shape",
"exclusiveMinimum": 0
},
"vPOSITION": {
"type": "array",
"description": "Bars of this layer by position (each POSITION at most once). Collection items are paired with the stored items by request position and missing properties are filled in from them, so read the record with GET, edit it and send every property of every item back",
"maxItems": 3,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"POSITION",
"BAR_NUM",
"BAR_NAME1"
],
"properties": {
"POSITION": {
"type": "string",
"description": "Rebar position of the layer. Only positions the section shape provides are accepted: circular/pipe P1, SB/B/TRK/STRK/H P1-P2, others P1-P3",
"enum": [
"P1",
"P2",
"P3"
]
},
"BAR_NUM": {
"type": "integer",
"description": "Number of bars at this position (Div. N), 0 or more",
"minimum": 0
},
"BAR_NAME1": {
"type": "string",
"description": "Size1 (primary bar size). Rebar designation from the model's concrete rebar size list (not a fixed enum: one list per model, chosen by the concrete rebar material code). An empty or unknown name is rejected"
},
"BAR_NAME2": {
"type": "string",
"description": "Size2 (secondary bar size). Optional; empty on a new record. Rebar designation from the model's concrete rebar size list (not a fixed enum: one list per model, chosen by the concrete rebar material code). An empty or unknown name is rejected",
"default": ""
}
}
}
}
}
}
},
"SUB_BAR": {
"type": "object",
"description": "Ties / spirals (Type of Hoop Rebar). Omitted leaves the stored value unchanged. The leg count form follows the section shape: SUBBAR_NUM for circular and pipe sections, SUBBAR_NUM_Y / SUBBAR_NUM_Z for other shapes (the other form is rejected)",
"additionalProperties": false,
"required": [
"SUBBAR_NAME",
"SUBBAR_DIST"
],
"properties": {
"SUBBAR_NAME": {
"type": "string",
"description": "Ties/Spirals size (also used for the y and z directions). Rebar designation from the model's concrete rebar size list (not a fixed enum: one list per model, chosen by the concrete rebar material code). An empty or unknown name is rejected"
},
"SUBBAR_DIST": {
"type": "number",
"description": "Tie / spiral spacing, greater than 0",
"exclusiveMinimum": 0
},
"SUBBAR_NUM": {
"type": "number",
"description": "Number of tie legs, 2 to 99. Circular and pipe sections only (applied to y and z together)",
"minimum": 2,
"maximum": 99
},
"SUBBAR_NUM_Y": {
"type": "number",
"description": "Number of tie legs along y, 2 to 99. Sections other than circular and pipe only",
"minimum": 2,
"maximum": 99
},
"SUBBAR_NUM_Z": {
"type": "number",
"description": "Number of tie legs along z, 2 to 99. Sections other than circular and pipe only",
"minimum": 2,
"maximum": 99
}
}
}
}
}
}
}
}
}
}
}
Request Examples
Example
"Assign": {
"2": {
"MEMBTYPE": "BEAM",
"ENVTYPE": 2,
"BEAM": {
"OPTION_IMJSAME": true,
"vMAIN": [
{
"SECTOR": "I",
"POS_TOP_LAYERS": [
{
"LAYER": 1,
"dD": 0.05,
"BAR_NUM": 4,
"BAR_NAME1": "D22",
"BAR_NAME2": ""
}
],
"POS_BOT_LAYERS": [
{
"LAYER": 1,
"dD": 0.05,
"BAR_NUM": 4,
"BAR_NAME1": "D22",
"BAR_NAME2": "D22"
}
]
}
],
"vSUB_BAR": [
{
"SECTOR": "I",
"dSUB_BARNUM": 2,
"SUB_BARNAME": "D13",
"dSUB_BARDIST": 0.15,
"dSUB_BARANGLE": 90
}
]
}
}
}
}
Response Examples
Example
"RIBC": {
"2": {
"MEMBTYPE": "BEAM",
"ENVTYPE": 2,
"BEAM": {
"OPTION_IMJSAME": true,
"vMAIN": [
{
"SECTOR": "I",
"POS_TOP_LAYERS": [
{
"LAYER": 1,
"dD": 0.05,
"BAR_NUM": 4,
"BAR_NAME1": "D22",
"BAR_NAME2": ""
}
],
"POS_BOT_LAYERS": [
{
"LAYER": 1,
"dD": 0.05,
"BAR_NUM": 4,
"BAR_NAME1": "D22",
"BAR_NAME2": "D22"
}
]
}
],
"vSUB_BAR": [
{
"SECTOR": "I",
"dSUB_BARNUM": 2,
"SUB_BARNAME": "D13",
"dSUB_BARDIST": 0.15,
"dSUB_BARANGLE": 90
}
]
}
}
}
}
Specifications
Keyed Object Entry
| No. | Description | Key | Value Type | Default | Required | |||
|---|---|---|---|---|---|---|---|---|
|
Root Object |
||||||||
|
1 |
Keyed object (dictionary). Each property name is a design section ID string (e.g., "1"). |
"Assign" |
object |
- |
Required |
|||
Item (Value Object Schema)
| No. | Description | Key | Value Type | Default | Required | |||
|---|---|---|---|---|---|---|---|---|
|
General |
||||||||
|
1 |
Member Type • Beam Section: "BEAM" • Column Section: "COLUMN" |
"MEMBTYPE" |
string |
- |
Required |
|||
|
2 |
Crack Checking • Dry: 0 • Humidity: 1 • Corrosion: 2 • High Corrosion: 3 |
"ENVTYPE" |
integer |
- |
Optional |
|||
|
When MEMBTYPE = "Beam Section" |
||||||||
|
3 |
Beam Section |
"BEAM" ¹⁾ |
object |
- |
Required |
|||
|
When MEMBTYPE = "Column Section" |
||||||||
|
4 |
Column Section |
"COLM" ²⁾ |
object |
- |
Required |
|||
Beam Section ¹⁾
| No. | Description | Key | Value Type | Default | Required | |||
|---|---|---|---|---|---|---|---|---|
|
1 |
Same as i-Node (I, M, J) |
"OPTION_IMJSAME" |
boolean |
false |
Optional |
|||
|
2 |
Main Rebar |
"vMAIN" |
array [object] |
- |
Optional |
|||
|
2.1 |
Position • i-Node: "I" • middle: "M" • j-Node: "J" |
"SECTOR" |
string |
- |
Required |
|||
|
2.2 |
Top |
"POS_TOP_LAYERS" |
array [object] |
- |
Optional |
|||
|
2.2.1 |
Layer • Range: 1~10 |
"LAYER" |
integer |
- |
Required |
|||
|
2.2.2 |
Num • Minimum: 1 |
"BAR_NUM" |
integer |
- |
Required |
|||
|
2.2.3 |
Size1 |
"BAR_NAME1" |
string |
- |
Required |
|||
|
2.2.4 |
Size2 |
"BAR_NAME2" |
string |
Optional |
||||
|
2.2.5 |
Dt • Minimum: 0 |
"dD" |
number |
- |
Required |
|||
|
2.3 |
Bottom |
"POS_BOT_LAYERS" |
array [object] |
- |
Optional |
|||
|
2.3.1 |
Layer • Range: 1~10 |
"LAYER" |
integer |
- |
Required |
|||
|
2.3.2 |
Num • Minimum: 1 |
"BAR_NUM" |
integer |
- |
Required |
|||
|
2.3.3 |
Size1 |
"BAR_NAME1" |
string |
- |
Required |
|||
|
2.3.4 |
Size2 |
"BAR_NAME2" |
string |
Optional |
||||
|
2.3.5 |
Db • Minimum: 0 |
"dD" |
number |
- |
Required |
|||
|
3 |
Stirrups |
"vSUB_BAR" |
array [object] |
- |
Optional |
|||
|
3.1 |
Position • i-Node: "I" • middle: "M" • j-Node: "J" |
"SECTOR" |
string |
- |
Required |
|||
|
3.2 |
Size |
"SUB_BARNAME" |
string |
- |
Required |
|||
|
3.3 |
Spacing • Minimum: 0 |
"dSUB_BARDIST" |
number |
- |
Required |
|||
|
3.4 |
Number • Range: 2~99 |
"dSUB_BARNUM" |
number |
- |
Required |
|||
|
3.5 |
Angle |
"dSUB_BARANGLE" |
number |
- |
Optional |
|||
Column Section ²⁾
| No. | Description | Key | Value Type | Default | Required | |||
|---|---|---|---|---|---|---|---|---|
|
1 |
Rebar Data |
"vLAYER" |
array [object] |
- |
Optional |
|||
|
1.1 |
Layer • Range: 1~5 |
"INDEX" |
integer |
- |
Required |
|||
|
1.2 |
Dc • Minimum: 0 |
"dDc" |
number |
- |
Required |
|||
|
1.3 |
Positions |
"vPOSITION" |
array [object] |
- |
Required |
|||
|
1.3.1 |
Position • Pos1: "P1" • Pos2: "P2" • Pos3: "P3" |
"POSITION" |
string |
- |
Required |
|||
|
1.3.2 |
Div. N • Minimum: 0 |
"BAR_NUM" |
integer |
- |
Required |
|||
|
1.3.3 |
Size1 |
"BAR_NAME1" |
string |
- |
Required |
|||
|
1.3.4 |
Size2 |
"BAR_NAME2" |
string |
Optional |
||||
|
2 |
Type of Hoop Rebar |
"SUB_BAR" |
object |
- |
Optional |
|||
|
2.1 |
Ties/Spirals Size |
"SUBBAR_NAME" |
string |
- |
Required |
|||
|
2.2 |
Space • Minimum: 0 |
"SUBBAR_DIST" |
number |
- |
Required |
|||
|
2.3 |
Number • Range: 2~99 |
"SUBBAR_NUM" |
number |
- |
Optional |
|||
|
2.4 |
Number y • Range: 2~99 |
"SUBBAR_NUM_Y" |
number |
- |
Optional |
|||
|
2.5 |
Number z • Range: 2~99 |
"SUBBAR_NUM_Z" |
number |
- |
Optional |
|||