Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-17168

[fiware-stackoverflow] Where to find standardized NGSI-LD entity types and their attributes

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:

      Description

      Created question in FIWARE Q/A platform on 22-11-2020 at 19:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/64957742/where-to-find-standardized-ngsi-ld-entity-types-and-their-attributes

      Question:
      Where to find standardized NGSI-LD entity types and their attributes

      Description:
      I'm getting up to speed on NGSI-LD and looking for the list of predefined entity types and their attributes. https://schema.lab.fiware.org/ld/context.jsonld has a list of names and URI's but I'm not sure what these represent.
      The spec from ETSI GS CIM 009 V1.2.2 (2020-02) defines entity type but not where they are to be found. For interoperability this seems to be rather important.
      As an example, trying to answer the question: what is the entity type for a temperature sensor and what attributes should it contain?
      Can anyone point me in the right direction?
      UPDATE: trying to be a bit more specific
      The NGSI spec 'CIM009v010202 page 18' defines an entity type as follows:

      "NGSI-LD Entity Type: categorization of an NGSI-LD Entity as belonging
      to a class of similar entities, or sharing a set of characteristic
      properties"

      The FiWare broker API has a query function through which you can query entities using the entity type. The entity type is a mandatory property of the entity.
      As a consumer in order to query for entities the entity type must be known. To be effective, all producers and consumers must use the same entity type definitions. In addition if two producers use the same entity type you would expect that they also use the same entity attributes in order to be interoperable with consumers.
      In short, as a developer of an IoT agent, or a consumer of IoT data I need to know what entity type to expect for queries and what attributes it contains for using its data.
      There are some examples in the ngsi-ld data models howto that contain entity type and attributes. The question is whether there is a authoritative list that developers can use.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2020-12-04 08:39|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-12-04 08:39|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        jason.fox Jason Fox added a comment -

        Answered in comments.

        Show
        jason.fox Jason Fox added a comment - Answered in comments.

          People

          • Assignee:
            jason.fox Jason Fox
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: