{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ConnectCustomFieldValue", "title": "ConnectCustomFieldValue", "description": "A list of custom field details.", "properties": { "_type": { "description": "The type of custom field.", "enum": [ "StringIssueField", "NumberIssueField", "RichTextIssueField", "SingleSelectIssueField", "MultiSelectIssueField", "TextIssueField" ], "type": "string", "writeOnly": true }, "fieldID": { "description": "The custom field ID.", "type": "integer", "writeOnly": true }, "issueID": { "description": "The issue ID.", "type": "integer", "writeOnly": true }, "number": { "description": "The value of number type custom field when `_type` is `NumberIssueField`.", "type": "number" }, "optionID": { "description": "The value of single select and multiselect custom field type when `_type` is `SingleSelectIssueField` or `MultiSelectIssueField`.", "type": "string" }, "richText": { "description": "The value of richText type custom field when `_type` is `RichTextIssueField`.", "type": "string" }, "string": { "description": "The value of string type custom field when `_type` is `StringIssueField`.", "type": "string" }, "text": { "description": "The value of of text custom field type when `_type` is `TextIssueField`.", "type": "string" } }, "required": [ "_type", "fieldID", "issueID" ], "type": "object", "writeOnly": true }