> ## Documentation Index
> Fetch the complete documentation index at: https://developers.hubspot.jp/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update an existing action definition

> IDを基準に既存のアクション定義を更新します。

export const SupportedProducts = ({marketing, sales, service, cms, marketingLevel, salesLevel, serviceLevel, cmsLevel}) => {
  const translations = {
    header: "サポートされる製品",
    description: "次のいずれかの製品またはそれ以上が必要です。",
    productNames: {
      marketing: "Marketing Hub",
      sales: "Sales Hub",
      service: "Service Hub",
      cms: "Content Hub"
    },
    tiers: {
      free: "無料ツール",
      starter: "Starter",
      professional: "Professional",
      enterprise: "Enterprise"
    }
  };
  const translateTier = tier => {
    if (!tier) return '';
    const lowerTier = tier.toLowerCase();
    return translations.tiers[lowerTier] || tier;
  };
  const products = [{
    name: marketing ? translations.productNames.marketing : '',
    level: translateTier(marketingLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/marketing-bolt.svg",
    alt: "Marketing Hub"
  }, {
    name: sales ? translations.productNames.sales : '',
    level: translateTier(salesLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/sales-star.svg",
    alt: "Sales Hub"
  }, {
    name: service ? translations.productNames.service : '',
    level: translateTier(serviceLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/service-heart.svg",
    alt: "Service Hub"
  }, {
    name: cms ? translations.productNames.cms : '',
    level: translateTier(cmsLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/content-play.svg",
    alt: "Content Hub"
  }].filter(product => product.name && product.level);
  if (products.length === 0) return null;
  return <div>
      <div className="text-sm mb-2">{translations.description}</div>
      <div className={`grid ${products.length === 1 ? 'grid-cols-1' : 'grid-cols-2'} gap-1.5`}>
        {products.map((product, index) => <div key={index} style={{
    display: 'flex',
    alignItems: 'center'
  }}>
            <img src={product.icon} alt={product.alt} className="w-3.5 h-3.5 mr-1.5 mt-2.5 mb-2.5 flex-shrink-0 align-middle" />
            <span className="font-medium mr-1 text-sm">{product.name} -</span>
            <span className="text-sm">{product.level}</span>
          </div>)}
      </div>
    </div>;
};

<Accordion title="Supported products" defaultOpen="true" icon="cubes">
  <SupportedProducts marketing={true} sales={true} service={true} cms={true} marketingLevel="PROFESSIONAL" salesLevel="PROFESSIONAL" serviceLevel="PROFESSIONAL" cmsLevel="PROFESSIONAL" />
</Accordion>


## OpenAPI

````yaml specs/legacy/v4/automation-actions-v4-v4.json PATCH /automation/v4/actions/{appId}/{definitionId}
openapi: 3.0.1
info:
  title: Automation Actions V4
  description: Basepom for all HubSpot Projects
  version: v4
  x-hubspot-product-tier-requirements:
    marketing: PROFESSIONAL
    sales: PROFESSIONAL
    service: PROFESSIONAL
    cms: PROFESSIONAL
    commerce: PROFESSIONAL
    crmHub: PROFESSIONAL
    dataHub: PROFESSIONAL
  x-hubspot-related-documentation:
    - name: Custom Workflow Actions Guide
      url: >-
        https://developers.hubspot.com/docs/guides/api/automation/custom-workflow-actions
servers:
  - url: https://api.hubapi.com
security: []
tags:
  - name: Callbacks
  - name: Definitions
  - name: Functions
  - name: Revisions
paths:
  /automation/v4/actions/{appId}/{definitionId}:
    patch:
      tags:
        - Definitions
      summary: 既存のアクション定義を更新
      description: IDを基準に既存のアクション定義を更新します。
      operationId: patch-/automation/v4/actions/{appId}/{definitionId}_update
      parameters:
        - name: appId
          in: path
          description: アクション定義に関連付けられているアプリのID。
          required: true
          style: simple
          explode: false
          schema:
            type: integer
            format: int32
        - name: definitionId
          in: path
          description: 更新するアクション定義のID。
          required: true
          style: simple
          explode: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicActionDefinitionPatch'
        required: true
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicActionDefinition'
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - developers-write
components:
  schemas:
    PublicActionDefinitionPatch:
      type: object
      properties:
        actionUrl:
          type: string
          description: アクションが実行されるURLエンドポイント。
        executionRules:
          type: array
          items:
            $ref: '#/components/schemas/PublicExecutionTranslationRule'
        inputFieldDependencies:
          type: array
          items:
            oneOf:
              - $ref: '#/components/schemas/PublicSingleFieldDependency'
              - $ref: '#/components/schemas/PublicConditionalSingleFieldDependency'
        inputFields:
          type: array
          items:
            $ref: '#/components/schemas/PublicInputFieldDefinition'
        labels:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/PublicActionLabels'
          description: 名前や説明を含む、アクションのラベルが含まれます。
        objectRequestOptions:
          $ref: '#/components/schemas/PublicObjectRequestOptions'
        objectTypes:
          type: array
          items:
            type: string
        outputFields:
          type: array
          items:
            $ref: '#/components/schemas/OutputFieldDefinition'
        published:
          type: boolean
          description: アクションが公開され、使用可能であるかどうかを示します。
    PublicActionDefinition:
      required:
        - actionUrl
        - functions
        - id
        - inputFields
        - labels
        - objectTypes
        - published
        - revisionId
      type: object
      properties:
        actionUrl:
          type: string
        archivedAt:
          type: integer
          format: int64
        executionRules:
          type: array
          items:
            $ref: '#/components/schemas/PublicExecutionTranslationRule'
        functions:
          type: array
          items:
            $ref: '#/components/schemas/PublicActionFunctionIdentifier'
        id:
          type: string
        inputFieldDependencies:
          type: array
          items:
            oneOf:
              - $ref: '#/components/schemas/PublicSingleFieldDependency'
              - $ref: '#/components/schemas/PublicConditionalSingleFieldDependency'
        inputFields:
          type: array
          items:
            $ref: '#/components/schemas/PublicInputFieldDefinition'
        labels:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/PublicActionLabels'
        objectRequestOptions:
          $ref: '#/components/schemas/PublicObjectRequestOptions'
        objectTypes:
          type: array
          items:
            type: string
        outputFields:
          type: array
          items:
            $ref: '#/components/schemas/OutputFieldDefinition'
        published:
          type: boolean
        revisionId:
          type: string
    PublicExecutionTranslationRule:
      required:
        - conditions
        - labelName
      type: object
      properties:
        conditions:
          type: object
          additionalProperties:
            type: object
            properties: {}
          description: 実行ルールを適用するために満たす必要がある条件を定義します。
        labelName:
          type: string
          description: 実行ルールに関連付けられているラベルの名前を指定します。
    PublicSingleFieldDependency:
      title: SINGLE_FIELD
      required:
        - controllingFieldName
        - dependencyType
        - dependentFieldNames
      type: object
      properties:
        controllingFieldName:
          type: string
          description: 依存関係を制御するフィールドの名前。
        dependencyType:
          type: string
          description: 依存関係のタイプ。デフォルト値は「SINGLE_FIELD」です。
          default: SINGLE_FIELD
          enum:
            - SINGLE_FIELD
        dependentFieldNames:
          type: array
          items:
            type: string
      x-hubspot-sub-type-impl: true
    PublicConditionalSingleFieldDependency:
      title: CONDITIONAL_SINGLE_FIELD
      required:
        - controllingFieldName
        - controllingFieldValue
        - dependencyType
        - dependentFieldNames
      type: object
      properties:
        controllingFieldName:
          type: string
          description: 依存関係を決定するフィールドの名前。
        controllingFieldValue:
          type: string
          description: 依存関係を発動する制御フィールドの値。
        dependencyType:
          type: string
          description: 依存関係のタイプ。デフォルト値はCONDITIONAL_SINGLE_FIELDです。
          default: CONDITIONAL_SINGLE_FIELD
          enum:
            - CONDITIONAL_SINGLE_FIELD
        dependentFieldNames:
          type: array
          items:
            type: string
      x-hubspot-sub-type-impl: true
    PublicInputFieldDefinition:
      required:
        - isRequired
        - typeDefinition
      type: object
      properties:
        isRequired:
          type: boolean
          description: 入力フィールドが必須かどうかを示します。
        supportedValueTypes:
          type: array
          items:
            type: string
            enum:
              - STATIC_VALUE
              - OBJECT_PROPERTY
        typeDefinition:
          $ref: '#/components/schemas/PublicFieldTypeDefinition'
    PublicActionLabels:
      required:
        - actionName
      type: object
      properties:
        actionCardContent:
          type: string
          description: アクションカードに表示されるコンテンツ。
        actionDescription:
          type: string
          description: アクションの実行内容の説明。
        actionName:
          type: string
          description: アクションの名前。
        appDisplayName:
          type: string
          description: アクションに関連付けられているアプリケーションの表示名。
        executionRules:
          type: object
          additionalProperties:
            type: string
          description: アクションの実行を管理するルール。
        inputFieldDescriptions:
          type: object
          additionalProperties:
            type: string
          description: 各入力フィールドの説明。
        inputFieldLabels:
          type: object
          additionalProperties:
            type: string
          description: 入力フィールドのラベル。
        inputFieldOptionLabels:
          type: object
          additionalProperties:
            type: object
            additionalProperties:
              type: string
          description: 入力フィールドで利用可能なオプションのラベル。
        outputFieldLabels:
          type: object
          additionalProperties:
            type: string
          description: 出力フィールドのラベル。
    PublicObjectRequestOptions:
      required:
        - properties
      type: object
      properties:
        properties:
          type: array
          items:
            type: string
    OutputFieldDefinition:
      required:
        - typeDefinition
      type: object
      properties:
        typeDefinition:
          $ref: '#/components/schemas/FieldTypeDefinition'
    PublicActionFunctionIdentifier:
      required:
        - functionType
      type: object
      properties:
        functionType:
          type: string
          description: >-
            関数のタイプ。許容される値は、POST_ACTION_EXECUTION、POST_FETCH_OPTIONS、PRE_ACTION_EXECUTION、PRE_FETCH_OPTIONSです。
          enum:
            - POST_ACTION_EXECUTION
            - POST_FETCH_OPTIONS
            - PRE_ACTION_EXECUTION
            - PRE_FETCH_OPTIONS
        id:
          type: string
          description: 関数の固有ID。
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: エラーカテゴリー
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: エラー条件に関する背景状況
          example: >-
            {invalidPropertyName=[propertyValue], missingScopes=[scope1,
            scope2]}
        correlationId:
          type: string
          description: リクエストの固有ID。エラー報告またはサポートチケットには必ずこの値を含めてください
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: エラーに関する詳細情報
          items:
            $ref: '#/components/schemas/ErrorDetail'
        links:
          type: object
          additionalProperties:
            type: string
          description: エラーまたは推奨の修正手順に関するドキュメントが含まれる関連付けられたURIへのリンク名の対応付け
        message:
          type: string
          description: エラーと修正手順（該当する場合）を記した、人が理解できるメッセージ
          example: An error occurred
        subCategory:
          type: string
          description: エラーに関する具体的な詳細が含まれる特定のカテゴリー
      example:
        message: Invalid input (details will vary based on the error)
        correlationId: aeb5f871-7f07-4993-9211-075dc63e7cbf
        category: VALIDATION_ERROR
        links:
          knowledge-base: https://www.hubspot.com/products/service/knowledge-base
    PublicFieldTypeDefinition:
      required:
        - name
        - options
        - type
      type: object
      properties:
        description:
          type: string
          description: フィールドの目的の詳細な説明。
        fieldType:
          type: string
          description: >-
            フィールドのタイプ。許容される値は、booleancheckbox、calculation_equation、checkbox、date、file、html、number、phonenumber、radio、select、text、textareaなどです。
          enum:
            - booleancheckbox
            - calculation_equation
            - checkbox
            - date
            - file
            - html
            - number
            - phonenumber
            - radio
            - select
            - text
            - textarea
        helpText:
          type: string
          description: フィールドに関する追加情報またはガイダンス。
        label:
          type: string
          description: フィールドの分かりやすい名前。
        name:
          type: string
          description: フィールドを識別するために使用される内部名。
        options:
          type: array
          items:
            $ref: '#/components/schemas/PublicOption'
        optionsUrl:
          type: string
          description: フィールドのオプションを提供するURL。
        referencedObjectType:
          type: string
          description: フィールドが参照するオブジェクトのタイプ。許容される値はOWNERなどです。
          enum:
            - OWNER
        type:
          type: string
          description: >-
            フィールドのデータ型。許容される値は、bool、date、datetime、enumeration、json、number、object_coordinates、phone_number、stringなどです。
          enum:
            - bool
            - date
            - datetime
            - enumeration
            - json
            - number
            - object_coordinates
            - phone_number
            - string
    FieldTypeDefinition:
      required:
        - externalOptions
        - name
        - options
        - schema
        - type
        - useChirp
      type: object
      properties:
        description:
          type: string
          description: このフィールドの目的と使用方法の詳細な説明。
        externalOptions:
          type: boolean
          description: フィールドのオプションが外部から提供されるかどうかを示します。
        externalOptionsReferenceType:
          type: string
          description: オプションの外部リファーラルタイプを指定します。
        fieldType:
          type: string
          description: >-
            UIでのフィールドのタイプを記述します。許容される値は、booleancheckbox、calculation_equation、checkbox、date、file、html、number、phonenumber、radio、select、text、textarea、unknownなどです。
          enum:
            - booleancheckbox
            - calculation_equation
            - calculation_read_time
            - calculation_rollup
            - calculation_score
            - checkbox
            - date
            - file
            - html
            - number
            - phonenumber
            - radio
            - select
            - text
            - textarea
            - unknown
        helpText:
          type: string
          description: フィールドに関する追加情報またはガイダンス。
        label:
          type: string
          description: フィールドのユーザーフレンドリーなラベル。
        name:
          type: string
          description: フィールドの固有ID。
        options:
          type: array
          items:
            $ref: '#/components/schemas/Option'
        optionsUrl:
          type: string
          description: フィールドのオプションを提供するURL。
        referencedObjectType:
          type: string
          description: フィールドが参照するオブジェクトのタイプを示します。許容される値はOWNERなどです。
          enum:
            - ABANDONED_CART
            - ACCEPTANCE_TEST
            - AD
            - AD_ACCOUNT
            - AD_CAMPAIGN
            - AD_GROUP
            - AI_FORECAST
            - ALL_PAGES
            - APPROVAL
            - APPROVAL_STEP
            - ATTRIBUTION
            - AUDIENCE
            - AUTOMATION_JOURNEY
            - AUTOMATION_PLATFORM_FLOW
            - AUTOMATION_PLATFORM_FLOW_ACTION
            - BET_ALERT
            - BET_DELIVERABLE_SERVICE
            - BLOG_LISTING_PAGE
            - BLOG_POST
            - CALL
            - CAMPAIGN
            - CAMPAIGN_BUDGET_ITEM
            - CAMPAIGN_SPEND_ITEM
            - CAMPAIGN_STEP
            - CAMPAIGN_TEMPLATE
            - CAMPAIGN_TEMPLATE_STEP
            - CART
            - CASE_STUDY
            - CHATFLOW
            - CLIP
            - CMS_URL
            - COMBO_EVENT_CONFIGURATION
            - COMMERCE_PAYMENT
            - COMMUNICATION
            - COMPANY
            - CONTACT
            - CONTACT_CREATE_ATTRIBUTION
            - CONTENT
            - CONTENT_AUDIT
            - CONTENT_AUDIT_PAGE
            - CONVERSATION
            - CONVERSATION_INBOX
            - CONVERSATION_SESSION
            - CRM_OBJECTS_DUMMY_TYPE
            - CRM_PIPELINES_DUMMY_TYPE
            - CTA
            - CTA_VARIANT
            - DATA_PRIVACY_CONSENT
            - DATA_SYNC_STATE
            - DEAL
            - DEAL_CREATE_ATTRIBUTION
            - DEAL_REGISTRATION
            - DEAL_SPLIT
            - DISCOUNT
            - DISCOUNT_CODE
            - DISCOUNT_TEMPLATE
            - EMAIL
            - ENGAGEMENT
            - EXPORT
            - EXTERNAL_WEB_URL
            - FEE
            - FEEDBACK_SUBMISSION
            - FEEDBACK_SURVEY
            - FILE_MANAGER_FILE
            - FILE_MANAGER_FOLDER
            - FOLDER
            - FORECAST
            - FORM
            - FORM_SUBMISSION_INBOUNDDB
            - GOAL_TARGET
            - GOAL_TARGET_GROUP
            - GOAL_TEMPLATE
            - GSC_PROPERTY
            - HUB
            - IMPORT
            - INVOICE
            - KEYWORD
            - KNOWLEDGE_ARTICLE
            - LANDING_PAGE
            - LEAD
            - LINE_ITEM
            - MARKETING_CALENDAR
            - MARKETING_CAMPAIGN_UTM
            - MARKETING_EMAIL
            - MARKETING_EVENT
            - MARKETING_EVENT_ATTENDANCE
            - MARKETING_SMS
            - MEDIA_BRIDGE
            - MEETING_EVENT
            - MIC
            - NOTE
            - OBJECT_LIST
            - ORDER
            - OWNER
            - PARTNER_ACCOUNT
            - PARTNER_CLIENT
            - PARTNER_CLIENT_REVENUE
            - PARTNER_SERVICE
            - PAYMENT_LINK
            - PAYMENT_SCHEDULE
            - PAYMENT_SCHEDULE_INSTALLMENT
            - PERMISSIONS_TESTING
            - PLAYBOOK
            - PLAYBOOK_QUESTION
            - PLAYBOOK_SUBMISSION
            - PLAYBOOK_SUBMISSION_ANSWER
            - PLAYLIST
            - PLAYLIST_FOLDER
            - PODCAST_EPISODE
            - PORTAL
            - PORTAL_OBJECT_SYNC_MESSAGE
            - POSTAL_MAIL
            - PRIVACY_SCANNER_COOKIE
            - PRODUCT
            - PRODUCT_OR_FOLDER
            - PROPERTY_INFO
            - PROSPECTING_AGENT_CONTACT_ASSIGNMENT
            - PUBLISHING_TASK
            - QUARANTINED_SUBMISSION
            - QUOTA
            - QUOTE
            - QUOTE_FIELD
            - QUOTE_MODULE
            - QUOTE_MODULE_FIELD
            - QUOTE_TEMPLATE
            - RESTORABLE_CRM_OBJECT
            - ROSTER
            - ROSTER_MEMBER
            - SALES_DOCUMENT
            - SALES_TASK
            - SALES_WORKLOAD
            - SALESFORCE_SYNC_ERROR
            - SCHEDULING_PAGE
            - SCHEMAS_BACKEND_TEST
            - SCORE_CONFIGURATION
            - SEQUENCE
            - SEQUENCE_ENROLLMENT
            - SEQUENCE_STEP
            - SEQUENCE_STEP_ENROLLMENT
            - SERVICE
            - SITE_PAGE
            - SNIPPET
            - SOCIAL_BROADCAST
            - SOCIAL_CHANNEL
            - SOCIAL_POST
            - SOCIAL_PROFILE
            - SOX_PROTECTED_DUMMY_TYPE
            - SOX_PROTECTED_TEST_TYPE
            - SUBMISSION_TAG
            - SUBSCRIPTION
            - TASK
            - TASK_TEMPLATE
            - TAX
            - TEMPLATE
            - TICKET
            - UNKNOWN
            - UNSUBSCRIBE
            - USER
            - VIEW
            - VIEW_BLOCK
            - WEB_INTERACTIVE
        schema:
          description: フィールドの構造と制約を定義します。
          oneOf:
            - $ref: '#/components/schemas/IntegerFieldSchema'
            - $ref: '#/components/schemas/LongFieldSchema'
            - $ref: '#/components/schemas/DoubleFieldSchema'
            - $ref: '#/components/schemas/StringFieldSchema'
            - $ref: '#/components/schemas/BooleanFieldSchema'
            - $ref: '#/components/schemas/ArrayFieldSchema'
            - $ref: '#/components/schemas/ObjectFieldSchema'
            - $ref: '#/components/schemas/UnknownFieldSchema'
        type:
          type: string
          description: >-
            フィールドのデータ型を指定します。許容される値は、bool、date、datetime、enumeration、json、number、object_coordinates、phone_number、stringなどです。
          enum:
            - bool
            - currency_number
            - date
            - datetime
            - enumeration
            - json
            - number
            - object_coordinates
            - phone_number
            - string
        useChirp:
          type: boolean
          description: フィールドでChirp機能を使用するかどうかを指定します。
    ErrorDetail:
      required:
        - message
      type: object
      properties:
        code:
          type: string
          description: エラーの詳細に関連付けられているステータスコード
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: エラー条件に関する背景状況
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: エラーが見つかったフィールドまたはパラメーターの名前。
        message:
          type: string
          description: エラーと修正手順（該当する場合）を記した、人が理解できるメッセージ
        subCategory:
          type: string
          description: エラーに関する具体的な詳細が含まれる特定のカテゴリー
    PublicOption:
      required:
        - label
        - value
      type: object
      properties:
        description:
          type: string
          description: オプションの説明。
        displayOrder:
          type: integer
          description: リスト内オプションの他のオプションとの相対位置。
          format: int32
        label:
          type: string
          description: オプションを識別する分かりやすいラベル。
        value:
          type: string
          description: オプションの実際の値。
    Option:
      required:
        - description
        - displayOrder
        - doubleData
        - hidden
        - label
        - readOnly
        - value
      type: object
      properties:
        description:
          type: string
          description: オプションの説明。
        displayOrder:
          type: integer
          description: リスト内項目の他の項目との相対位置。
          format: int32
        doubleData:
          type: number
          description: オプションに関連付けられた数値。
        hidden:
          type: boolean
          description: HubSpotのUIにオプションを表示するかどうか。
        label:
          type: string
          description: オプションを識別する分かりやすいラベル。
        readOnly:
          type: boolean
          description: オプションが読み取り専用かどうか。
        value:
          type: string
          description: オプションの実際の値。
      description: HubSpotプロパティーオプション
    IntegerFieldSchema:
      title: INTEGER
      required:
        - type
      type: object
      properties:
        maximum:
          type: integer
          description: 整数フィールドに許可される最大値。
          format: int32
        minimum:
          type: integer
          description: 整数フィールドに許可される最小値。
          format: int32
        type:
          type: string
          description: フィールドのタイプ。これはINTEGERに設定されています。
          default: INTEGER
          enum:
            - INTEGER
      x-hubspot-sub-type-impl: true
    LongFieldSchema:
      title: LONG
      required:
        - type
      type: object
      properties:
        maximum:
          type: integer
          description: 長整数フィールドに許可される最大値。
          format: int64
        minimum:
          type: integer
          description: 長整数フィールドに許可される最小値。
          format: int64
        type:
          type: string
          description: フィールドのタイプ。デフォルトはLONGです。
          default: LONG
          enum:
            - LONG
      x-hubspot-sub-type-impl: true
    DoubleFieldSchema:
      title: DOUBLE
      required:
        - type
      type: object
      properties:
        maximum:
          type: number
          description: 倍精度浮動小数点数フィールドの最大許容値。
        minimum:
          type: number
          description: 倍精度浮動小数点数フィールドの最小許容値。
        type:
          type: string
          description: フィールドタイプをDOUBLEとして示します。
          default: DOUBLE
          enum:
            - DOUBLE
      x-hubspot-sub-type-impl: true
    StringFieldSchema:
      title: STRING
      required:
        - type
      type: object
      properties:
        format:
          type: string
          description: 文字列の形式を指定します。許容される値は、DATE、DATE_TIME、OBJECT_COORDINATE、TIME、URIです。
          enum:
            - DATE
            - DATE_TIME
            - OBJECT_COORDINATE
            - TIME
            - URI
        type:
          type: string
          description: タイプが文字列であることを示し、デフォルト値はSTRINGです。
          default: STRING
          enum:
            - STRING
      x-hubspot-sub-type-impl: true
    BooleanFieldSchema:
      title: BOOLEAN
      required:
        - type
      type: object
      properties:
        type:
          type: string
          description: フィールドタイプをBOOLEANとして指定します。これは、フィールドがtrueまたはfalseの値を保持できることを示します。
          default: BOOLEAN
          enum:
            - BOOLEAN
      x-hubspot-sub-type-impl: true
    ArrayFieldSchema:
      title: ARRAY
      required:
        - items
        - type
      type: object
      properties:
        items:
          description: >-
            配列に含まれる要素のタイプを定義します。要素は、整数、長整数、倍精度浮動小数点数、文字列、ブール値、別の配列、またはオブジェクトのいずれかです。
          oneOf:
            - $ref: '#/components/schemas/IntegerFieldSchema'
            - $ref: '#/components/schemas/LongFieldSchema'
            - $ref: '#/components/schemas/DoubleFieldSchema'
            - $ref: '#/components/schemas/StringFieldSchema'
            - $ref: '#/components/schemas/BooleanFieldSchema'
            - $ref: '#/components/schemas/ArrayFieldSchema'
            - $ref: '#/components/schemas/ObjectFieldSchema'
            - $ref: '#/components/schemas/UnknownFieldSchema'
        type:
          type: string
          description: フィールドのタイプが「ARRAY」であることを指定します。
          default: ARRAY
          enum:
            - ARRAY
      x-hubspot-sub-type-impl: true
    ObjectFieldSchema:
      title: OBJECT
      required:
        - properties
        - type
      type: object
      properties:
        properties:
          type: object
          properties: {}
          description: オブジェクトのプロパティーが含まれます。
        type:
          type: string
          description: フィールドのタイプを指定します。デフォルトは「OBJECT」です。
          default: OBJECT
          enum:
            - OBJECT
      x-hubspot-sub-type-impl: true
    UnknownFieldSchema:
      title: UNKNOWN
      required:
        - type
      type: object
      properties:
        type:
          type: string
          default: UNKNOWN
          enum:
            - UNKNOWN
      x-hubspot-sub-type-impl: true
  responses:
    Error:
      description: An error occurred.
      content:
        '*/*':
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.hubspot.com/oauth/authorize
          tokenUrl: https://api.hubapi.com/oauth/v1/token
          scopes:
            automation: ''
            developers-read: ''
            developers-write: ''

````