naftiko: 1.0.0-alpha2 info: label: Regal Cinema API — Theatres description: 'Regal Cinema API — Theatres. 2 operations. Lead operation: List Theatres. Self-contained Naftiko capability covering one Regal Entertainment Group business surface.' tags: - Regal Entertainment Group - Theatres 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-theatres baseUri: https://api.regmovies.com/v1 description: Regal Cinema API — Theatres business capability. Self-contained, no shared references. resources: - name: theatres path: /theatres operations: - name: listtheatres method: GET description: List Theatres outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: state in: query type: string description: Filter by US state code (e.g. CA, NY) - name: lat in: query type: number description: Latitude for proximity search - name: lng in: query type: number description: Longitude for proximity search - name: radius in: query type: integer description: Search radius in miles (used with lat/lng) - name: limit in: query type: integer - name: theatres-theatreId path: /theatres/{theatreId} operations: - name: gettheatre method: GET description: Get Theatre outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Ocp-Apim-Subscription-Key value: '{{env.REGAL_ENTERTAINMENT_GROUP_API_KEY}}' placement: header exposes: - type: rest namespace: regal-cinema-theatres-rest port: 8080 description: REST adapter for Regal Cinema API — Theatres. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/theatres name: theatres description: REST surface for theatres. operations: - method: GET name: listtheatres description: List Theatres call: regal-cinema-theatres.listtheatres with: state: rest.state lat: rest.lat lng: rest.lng radius: rest.radius limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/theatres/{theatreid} name: theatres-theatreid description: REST surface for theatres-theatreId. operations: - method: GET name: gettheatre description: Get Theatre call: regal-cinema-theatres.gettheatre outputParameters: - type: object mapping: $. - type: mcp namespace: regal-cinema-theatres-mcp port: 9090 transport: http description: MCP adapter for Regal Cinema API — Theatres. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-theatres description: List Theatres hints: readOnly: true destructive: false idempotent: true call: regal-cinema-theatres.listtheatres with: state: tools.state lat: tools.lat lng: tools.lng radius: tools.radius limit: tools.limit outputParameters: - type: object mapping: $. - name: get-theatre description: Get Theatre hints: readOnly: true destructive: false idempotent: true call: regal-cinema-theatres.gettheatre outputParameters: - type: object mapping: $.