Skip to content

Commit bf3d0b0

Browse files
authored
Merge pull request #527 from freee/feature/sm_update_schema_files_2025-12-22-07-34
Update schema files
2 parents e2ad196 + 5c1789a commit bf3d0b0

File tree

1 file changed

+28
-17
lines changed

1 file changed

+28
-17
lines changed

sm/open-api-3/api-schema.yml

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,26 @@ components:
999999
$ref: '#/components/schemas/BusinessPhase'
10001000
reporting_section:
10011001
$ref: '#/components/schemas/ReportingSection'
1002+
registered_at:
1003+
type: string
1004+
format: date-time
1005+
description: 登録日時
1006+
nullable: true
1007+
example: '2025-04-01T09:00:00+09:00'
1008+
registered_by:
1009+
description: 登録者
1010+
$ref: '#/components/schemas/Employee'
1011+
nullable: true
1012+
last_updated_at:
1013+
type: string
1014+
format: date-time
1015+
description: 変更日時
1016+
nullable: true
1017+
example: '2025-04-15T14:30:00+09:00'
1018+
last_updated_by:
1019+
description: 変更者
1020+
$ref: '#/components/schemas/Employee'
1021+
nullable: true
10021022
required:
10031023
- id
10041024
- name
@@ -1146,12 +1166,14 @@ components:
11461166
code:
11471167
description: 案件コード
11481168
type: string
1169+
nullable: true
11491170
example: B-0000000001
11501171
maxLength: 50
11511172
business_date:
11521173
description: 案件登録日
11531174
type: string
11541175
format: date
1176+
nullable: true
11551177
example: '2025-04-01'
11561178
charge_employee_id:
11571179
$ref: '#/components/schemas/ChargeEmployeeId'
@@ -1162,7 +1184,7 @@ components:
11621184
type: integer
11631185
format: int64
11641186
maximum: 9223372036854776000
1165-
nullable: true
1187+
default: 0
11661188
example: 6000000
11671189
sales_progression_id:
11681190
description: 受注確度ID
@@ -1412,22 +1434,6 @@ components:
14121434
description: 社内メモ
14131435
nullable: true
14141436
example: 重要顧客案件
1415-
registered_at:
1416-
type: string
1417-
format: date-time
1418-
description: 登録日時
1419-
nullable: true
1420-
example: '2025-04-01T09:00:00+09:00'
1421-
registered_by:
1422-
$ref: '#/components/schemas/Employee'
1423-
last_updated_at:
1424-
type: string
1425-
format: date-time
1426-
description: 変更日時
1427-
nullable: true
1428-
example: '2025-04-15T14:30:00+09:00'
1429-
last_updated_by:
1430-
$ref: '#/components/schemas/Employee'
14311437
custom_fields:
14321438
type: array
14331439
description: カスタム項目一覧
@@ -1983,12 +1989,17 @@ components:
19831989
maximum: 9223372036854776000
19841990
example: 10000
19851991
nullable: true
1992+
canceled:
1993+
description: 取消状態
1994+
type: boolean
1995+
example: false
19861996
required:
19871997
- id
19881998
- sales_order_date
19891999
- customer
19902000
- registered_at
19912001
- last_updated_at
2002+
- canceled
19922003
additionalProperties: false
19932004
BillingCreatingMethodType:
19942005
description: '請求作成方法区分 (自動作成: automatically, 手動作成: manually)'

0 commit comments

Comments
 (0)