naftiko: 1.0.0-alpha2 info: label: ETSI ISG CIM / NGSI-LD API — Temporal description: 'ETSI ISG CIM / NGSI-LD API — Temporal. 8 operations. Lead operation: Temporal. Self-contained Naftiko capability covering one Fiware business surface.' tags: - Fiware - Temporal created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FIWARE_API_KEY: FIWARE_API_KEY capability: consumes: - type: http namespace: ngsi-ld-temporal baseUri: '' description: ETSI ISG CIM / NGSI-LD API — Temporal business capability. Self-contained, no shared references. resources: - name: temporal-entities path: /temporal/entities/ operations: - name: querytemporalentities method: GET description: Query temporal evolution of Entities from an NGSI-LD system outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createupdateentitytemporal method: POST description: Create or update temporal representation of an Entity within an NGSI-LD system outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: temporal-entities-entityId path: /temporal/entities/{entityId} operations: - name: retrieveentitytemporalbyid method: GET description: Retrieve the temporal representation of an specific Entity from an NGSI-LD system. It's possible to specify the Entity attributes to be retrieved by using query parameters outputRawFormat: json outputParameters: - name: result type: object value: $. - name: removeentitytemporalbyid method: DELETE description: Removes the temporal representation of an Entity from an NGSI-LD system outputRawFormat: json outputParameters: - name: result type: object value: $. - name: temporal-entities-entityId-attrs path: /temporal/entities/{entityId}/attrs/ operations: - name: addtemporalentityattrs method: POST description: Add new attributes to an existing Temporal Entity within an NGSI-LD system outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: temporal-entities-entityId-attrs-attrId path: /temporal/entities/{entityId}/attrs/{attrId} operations: - name: removeentitytemporalattr method: DELETE description: Attribute from Temporal Representation of Entity deletion outputRawFormat: json outputParameters: - name: result type: object value: $. - name: temporal-entities-entityId-attrs-attrId-instanceId path: /temporal/entities/{entityId}/attrs/{attrId}/{instanceId} operations: - name: modifyentitytemporalattrinstance method: PATCH description: Allows modifying a specific Attribute (Property or Relationship) instance, identified by its instanceId, of a Temporal Representation of an Entity. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: removeentitytemporalattrinstance method: DELETE description: Attribute Instance deletion by instance id. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: ngsi-ld-temporal-rest port: 8080 description: REST adapter for ETSI ISG CIM / NGSI-LD API — Temporal. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/temporal/entities name: temporal-entities description: REST surface for temporal-entities. operations: - method: GET name: querytemporalentities description: Query temporal evolution of Entities from an NGSI-LD system call: ngsi-ld-temporal.querytemporalentities outputParameters: - type: object mapping: $. - method: POST name: createupdateentitytemporal description: Create or update temporal representation of an Entity within an NGSI-LD system call: ngsi-ld-temporal.createupdateentitytemporal with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/temporal/entities/{entityid} name: temporal-entities-entityid description: REST surface for temporal-entities-entityId. operations: - method: GET name: retrieveentitytemporalbyid description: Retrieve the temporal representation of an specific Entity from an NGSI-LD system. It's possible to specify the Entity attributes to be retrieved by using query parameters call: ngsi-ld-temporal.retrieveentitytemporalbyid outputParameters: - type: object mapping: $. - method: DELETE name: removeentitytemporalbyid description: Removes the temporal representation of an Entity from an NGSI-LD system call: ngsi-ld-temporal.removeentitytemporalbyid outputParameters: - type: object mapping: $. - path: /v1/temporal/entities/{entityid}/attrs name: temporal-entities-entityid-attrs description: REST surface for temporal-entities-entityId-attrs. operations: - method: POST name: addtemporalentityattrs description: Add new attributes to an existing Temporal Entity within an NGSI-LD system call: ngsi-ld-temporal.addtemporalentityattrs with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/temporal/entities/{entityid}/attrs/{attrid} name: temporal-entities-entityid-attrs-attrid description: REST surface for temporal-entities-entityId-attrs-attrId. operations: - method: DELETE name: removeentitytemporalattr description: Attribute from Temporal Representation of Entity deletion call: ngsi-ld-temporal.removeentitytemporalattr outputParameters: - type: object mapping: $. - path: /v1/temporal/entities/{entityid}/attrs/{attrid}/{instanceid} name: temporal-entities-entityid-attrs-attrid-instanceid description: REST surface for temporal-entities-entityId-attrs-attrId-instanceId. operations: - method: PATCH name: modifyentitytemporalattrinstance description: Allows modifying a specific Attribute (Property or Relationship) instance, identified by its instanceId, of a Temporal Representation of an Entity. call: ngsi-ld-temporal.modifyentitytemporalattrinstance with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removeentitytemporalattrinstance description: Attribute Instance deletion by instance id. call: ngsi-ld-temporal.removeentitytemporalattrinstance outputParameters: - type: object mapping: $. - type: mcp namespace: ngsi-ld-temporal-mcp port: 9090 transport: http description: MCP adapter for ETSI ISG CIM / NGSI-LD API — Temporal. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: query-temporal-evolution-entities-ngsi description: Query temporal evolution of Entities from an NGSI-LD system hints: readOnly: true destructive: false idempotent: true call: ngsi-ld-temporal.querytemporalentities outputParameters: - type: object mapping: $. - name: create-update-temporal-representation-entity description: Create or update temporal representation of an Entity within an NGSI-LD system hints: readOnly: false destructive: false idempotent: false call: ngsi-ld-temporal.createupdateentitytemporal with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-temporal-representation-specific-entity description: Retrieve the temporal representation of an specific Entity from an NGSI-LD system. It's possible to specify the Entity attributes to be retrieved by using query parameters hints: readOnly: true destructive: false idempotent: true call: ngsi-ld-temporal.retrieveentitytemporalbyid outputParameters: - type: object mapping: $. - name: removes-temporal-representation-entity-ngsi description: Removes the temporal representation of an Entity from an NGSI-LD system hints: readOnly: false destructive: true idempotent: true call: ngsi-ld-temporal.removeentitytemporalbyid outputParameters: - type: object mapping: $. - name: add-new-attributes-existing-temporal description: Add new attributes to an existing Temporal Entity within an NGSI-LD system hints: readOnly: false destructive: false idempotent: false call: ngsi-ld-temporal.addtemporalentityattrs with: body: tools.body outputParameters: - type: object mapping: $. - name: attribute-temporal-representation-entity-deletion description: Attribute from Temporal Representation of Entity deletion hints: readOnly: false destructive: true idempotent: true call: ngsi-ld-temporal.removeentitytemporalattr outputParameters: - type: object mapping: $. - name: allows-modifying-specific-attribute-property description: Allows modifying a specific Attribute (Property or Relationship) instance, identified by its instanceId, of a Temporal Representation of an Entity. hints: readOnly: false destructive: false idempotent: true call: ngsi-ld-temporal.modifyentitytemporalattrinstance with: body: tools.body outputParameters: - type: object mapping: $. - name: attribute-instance-deletion-instance-id description: Attribute Instance deletion by instance id. hints: readOnly: false destructive: true idempotent: true call: ngsi-ld-temporal.removeentitytemporalattrinstance outputParameters: - type: object mapping: $.