naftiko: 1.0.0-alpha2 info: label: Gong CRM API — CRM Schema description: 'Gong CRM API — CRM Schema. 2 operations. Lead operation: Gong Upload CRM object schema. Self-contained Naftiko capability covering one Gong business surface.' tags: - Gong - CRM Schema created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GONG_API_KEY: GONG_API_KEY capability: consumes: - type: http namespace: crm-crm-schema baseUri: https://api.gong.io/v2 description: Gong CRM API — CRM Schema business capability. Self-contained, no shared references. resources: - name: crm-entity-schema path: /crm/entity-schema operations: - name: uploadobjectschema method: POST description: Gong Upload CRM object schema outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: getschemafields method: GET description: Gong List schema fields outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: integrationId in: query type: string description: The unique identifier of the CRM integration. required: true - name: objectType in: query type: string description: The type of CRM object to get schema for. required: true authentication: type: bearer token: '{{env.GONG_API_KEY}}' exposes: - type: rest namespace: crm-crm-schema-rest port: 8080 description: REST adapter for Gong CRM API — CRM Schema. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/crm/entity-schema name: crm-entity-schema description: REST surface for crm-entity-schema. operations: - method: POST name: uploadobjectschema description: Gong Upload CRM object schema call: crm-crm-schema.uploadobjectschema with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getschemafields description: Gong List schema fields call: crm-crm-schema.getschemafields with: integrationId: rest.integrationId objectType: rest.objectType outputParameters: - type: object mapping: $. - type: mcp namespace: crm-crm-schema-mcp port: 9090 transport: http description: MCP adapter for Gong CRM API — CRM Schema. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gong-upload-crm-object-schema description: Gong Upload CRM object schema hints: readOnly: false destructive: false idempotent: false call: crm-crm-schema.uploadobjectschema with: body: tools.body outputParameters: - type: object mapping: $. - name: gong-list-schema-fields description: Gong List schema fields hints: readOnly: true destructive: false idempotent: true call: crm-crm-schema.getschemafields with: integrationId: tools.integrationId objectType: tools.objectType outputParameters: - type: object mapping: $.