naftiko: 1.0.0-alpha2 info: label: Regal Cinema API — Loyalty description: 'Regal Cinema API — Loyalty. 2 operations. Lead operation: Get Loyalty Member. Self-contained Naftiko capability covering one Regal Entertainment Group business surface.' tags: - Regal Entertainment Group - Loyalty created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: REGAL_ENTERTAINMENT_GROUP_API_KEY: REGAL_ENTERTAINMENT_GROUP_API_KEY capability: consumes: - type: http namespace: regal-cinema-loyalty baseUri: https://api.regmovies.com/v1 description: Regal Cinema API — Loyalty business capability. Self-contained, no shared references. resources: - name: loyalty-members-memberId path: /loyalty/members/{memberId} operations: - name: getloyaltymember method: GET description: Get Loyalty Member outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: memberId in: path type: string required: true - name: loyalty-members-memberId-credits path: /loyalty/members/{memberId}/credits operations: - name: addloyaltycredits method: POST description: Add Loyalty Credits outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: memberId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Ocp-Apim-Subscription-Key value: '{{env.REGAL_ENTERTAINMENT_GROUP_API_KEY}}' placement: header exposes: - type: rest namespace: regal-cinema-loyalty-rest port: 8080 description: REST adapter for Regal Cinema API — Loyalty. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/loyalty/members/{memberid} name: loyalty-members-memberid description: REST surface for loyalty-members-memberId. operations: - method: GET name: getloyaltymember description: Get Loyalty Member call: regal-cinema-loyalty.getloyaltymember with: memberId: rest.memberId outputParameters: - type: object mapping: $. - path: /v1/loyalty/members/{memberid}/credits name: loyalty-members-memberid-credits description: REST surface for loyalty-members-memberId-credits. operations: - method: POST name: addloyaltycredits description: Add Loyalty Credits call: regal-cinema-loyalty.addloyaltycredits with: memberId: rest.memberId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: regal-cinema-loyalty-mcp port: 9090 transport: http description: MCP adapter for Regal Cinema API — Loyalty. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-loyalty-member description: Get Loyalty Member hints: readOnly: true destructive: false idempotent: true call: regal-cinema-loyalty.getloyaltymember with: memberId: tools.memberId outputParameters: - type: object mapping: $. - name: add-loyalty-credits description: Add Loyalty Credits hints: readOnly: false destructive: false idempotent: false call: regal-cinema-loyalty.addloyaltycredits with: memberId: tools.memberId body: tools.body outputParameters: - type: object mapping: $.