メインコンテンツへスキップ
JSON Manual 作成 編集

断面マネージャー - 応力点

入力 URI

{base url} + db/STRPSSM



メソッド

POST, GET, PUT, DELETE



JSON スキーマ

詳細

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "required": [
    "Assign"
  ],
  "additionalProperties": false,
  "properties": {
    "Assign": {
      "type": "object",
      "description": "Object keyed by DB item ID. Each value is a STRPSSM item object.",
      "minProperties": 1,
      "additionalProperties": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "OPT_SAME_J": {
            "description": "Same Additional Stress Points Data at i and j-end",
            "type": "boolean",
            "default": true
          },
          "POINT_SIZE_1": {
            "description": "Number of Stress Point for I",
            "type": "integer"
          },
          "POINT_SIZE_2": {
            "description": "Number of Stress Point for J",
            "type": "integer"
          },
          "POINT1": {
            "description": "Stress Point Coordinates for I • Insert the data as an object",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "Y": {
                  "description": "Point Y",
                  "type": "number"
                },
                "Z": {
                  "description": "Point Z",
                  "type": "number"
                }
              },
              "required": [
                "Y",
                "Z"
              ],
              "additionalProperties": false
            }
          },
          "POINT2": {
            "description": "Stress Point Coordinates for J • Insert the data as an object",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "Y": {
                  "description": "Point Y",
                  "type": "number"
                },
                "Z": {
                  "description": "Point Z",
                  "type": "number"
                }
              },
              "required": [
                "Y",
                "Z"
              ],
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "POINT_SIZE_1",
          "POINT_SIZE_2",
          "POINT1",
          "POINT2"
        ]
      }
    }
  }
}


リクエスト例

応力点

{
  "Assign": {
    "9003": {
      "OPT_SAME_J": false,
      "POINT_SIZE_1": 2,
      "POINT_SIZE_2": 2,
      "POINT1": [
        {
          "Y": 0.00583,
          "Z": 0.00476
        },
        {
          "Y": -0.00506,
          "Z": 0.00097
        }
      ],
      "POINT2": [
        {
          "Y": 0.007067356048348719,
          "Z": 0.005572125828318985
        },
        {
          "Y": -0.0059233102292634635,
          "Z": 0.0011354962297204655
        }
      ]
    }
  }
}


仕様

キー付きオブジェクト

No. 説明 Key データ型 Default 必須

ルートオブジェクト

1

DB項目IDをキーとするオブジェクト(辞書)。各値はSTRPSSMの項目オブジェクトです。

"Assign"

object

-

必須


項目(値オブジェクト)

No. 説明 Key データ型 Default 必須

一般

1

Same Additional Stress Points Data at i and j-end

true の場合、POINT1 が j 端にも適用され、POINT2 は無視されます。PUT リクエストで省略した場合は、既存の値が保持されます。

"OPT_SAME_J"

boolean

true

オプション

2

Number of Stress Point for I

POINT1 の要素数が保存されます。異なる値を指定しても無視されます。

"POINT_SIZE_1"

integer

-

必須

3

Number of Stress Point for J

POINT2 の要素数が保存されます。異なる値を指定しても無視されます。

"POINT_SIZE_2"

integer

-

必須

4

Stress Point Coordinates for I • データをオブジェクトとして入力します。

"POINT1"

Array [object]

-

必須

4.1

Point Y

"Y"

number

-

必須

4.2

Point Z

"Z"

number

-

必須

5

Stress Point Coordinates for J • データをオブジェクトとして入力します。

OPT_SAME_J が false の場合のみ使用されます。

"POINT2"

Array [object]

-

必須

5.1

Point Y

"Y"

number

-

必須

5.2

Point Z

"Z"

number

-

必須



0
コンテンツが役に立ちましたか?