naftiko: 1.0.0-alpha2 info: label: vLex Iceberg Legal Research API — Classification description: 'vLex Iceberg Legal Research API — Classification. 2 operations. Lead operation: Classify Legal Document. Self-contained Naftiko capability covering one Vlex business surface.' tags: - Vlex - Classification created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: VLEX_API_KEY: VLEX_API_KEY capability: consumes: - type: http namespace: iceberg-legal-research-classification baseUri: https://api.vlex.com description: vLex Iceberg Legal Research API — Classification business capability. Self-contained, no shared references. resources: - name: v1-classify path: /v1/classify operations: - name: classifydocument method: POST description: Classify Legal Document outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-key-phrases path: /v1/key-phrases operations: - name: extractkeyphrases method: POST description: Extract Key Phrases outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Ocp-Apim-Subscription-Key value: '{{env.VLEX_API_KEY}}' placement: header exposes: - type: rest namespace: iceberg-legal-research-classification-rest port: 8080 description: REST adapter for vLex Iceberg Legal Research API — Classification. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/classify name: v1-classify description: REST surface for v1-classify. operations: - method: POST name: classifydocument description: Classify Legal Document call: iceberg-legal-research-classification.classifydocument with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/key-phrases name: v1-key-phrases description: REST surface for v1-key-phrases. operations: - method: POST name: extractkeyphrases description: Extract Key Phrases call: iceberg-legal-research-classification.extractkeyphrases with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: iceberg-legal-research-classification-mcp port: 9090 transport: http description: MCP adapter for vLex Iceberg Legal Research API — Classification. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: classify-legal-document description: Classify Legal Document hints: readOnly: false destructive: false idempotent: false call: iceberg-legal-research-classification.classifydocument with: body: tools.body outputParameters: - type: object mapping: $. - name: extract-key-phrases description: Extract Key Phrases hints: readOnly: false destructive: false idempotent: false call: iceberg-legal-research-classification.extractkeyphrases with: body: tools.body outputParameters: - type: object mapping: $.