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

DESIGN/RC/AASHTO-LRFD20/SLTC : Short/Long term Load Case

Input URI

{base url} + DESIGN/RC/AASHTO-LRFD20/SLTC



Active Methods

GET, PUT, DELETE



JSON Schema

Details

{
  "type": "object",
  "required": [
    "Assign"
  ],
  "additionalProperties": false,
  "properties": {
    "Assign": {
      "type": "object",
      "description": "Single settings record: the only accepted key is \"1\".",
      "additionalProperties": false,
      "minProperties": 1,
      "maxProperties": 1,
      "propertyNames": {
        "const": "1"
      },
      "patternProperties": {
        "^[0-9]+$": {
          "title": "Short/Long term Load Case",
          "type": "object",
          "additionalProperties": false,
          "description": "Every load case of the model is in exactly one of the two dialog lists, Long-term or Short-term. PUT moves the listed load cases to the given list (like the dialog arrows); unlisted load cases keep their term. GET returns both lists. A new model starts with the long-term static load case types in Long-term",
          "properties": {
            "LONG_TERM_LOADS": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "LOAD_CASE_NAME"
                ],
                "properties": {
                  "LOAD_CASE_NAME": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Name of an existing load case as shown in the dialog lists (static, response spectrum, time history or moving load case). An unknown name, or a name used by load cases of more than one type, rejects the request"
                  }
                }
              },
              "minItems": 1,
              "description": "Load cases to place in the Long-term list. Load cases not listed in either list keep their current term. A load case must not appear in both lists (rejected)"
            },
            "SHORT_TERM_LOADS": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "LOAD_CASE_NAME"
                ],
                "properties": {
                  "LOAD_CASE_NAME": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Name of an existing load case as shown in the dialog lists (static, response spectrum, time history or moving load case). An unknown name, or a name used by load cases of more than one type, rejects the request"
                  }
                }
              },
              "minItems": 1,
              "description": "Load cases to place in the Short-term list. Load cases not listed in either list keep their current term. A load case must not appear in both lists (rejected)"
            }
          }
        }
      }
    }
  }
}


Request Examples

Example

{
  "Assign": {
    "1": {
      "LONG_TERM_LOADS": [
        {
          "LOAD_CASE_NAME": "DW"
        }
      ],
      "SHORT_TERM_LOADS": [
        {
          "LOAD_CASE_NAME": "LL"
        }
      ]
    }
  }
}


Response Examples

Example

{
  "SLTC": {
    "1": {
      "LONG_TERM_LOADS": [
        {
          "LOAD_CASE_NAME": "DC"
        },
        {
          "LOAD_CASE_NAME": "DW"
        }
      ],
      "SHORT_TERM_LOADS": [
        {
          "LOAD_CASE_NAME": "LL"
        },
        {
          "LOAD_CASE_NAME": "WS"
        }
      ]
    }
  }
}


Specifications

Keyed Object Entry

No. Description Key Value Type Default Required

Root Object

1

Single settings record: the only accepted key is "1".

"Assign"

object

-

Required


Item (Value Object Schema)

No. Description Key Value Type Default Required

General

1

Long-term

"LONG_TERM_LOADS"

array

[object]

-

Optional

1.1

Load Case

"LOAD_CASE_NAME"

string

-

Required

2

Short-term

"SHORT_TERM_LOADS"

array

[object]

-

Optional

2.1

Load Case

"LOAD_CASE_NAME"

string

-

Required


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