[ https://jira.fiware.org/browse/HELP-14024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez resolved HELP-14024.
-----------------------------------
Resolution: Done
> [fiware-stackoverflow] Fiware ContextBroker Entity with Array
> -------------------------------------------------------------
>
> Key: HELP-14024
> URL: https://jira.fiware.org/browse/HELP-14024
> Project: Help-Desk
> Issue Type: Monitor
> Components: FIWARE-TECH-HELP
> Reporter: Backlog Manager
> Assignee: Fermín Galán
> Labels: arrays, fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 23-04-2018 at 16:04
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/49984023/fiware-contextbroker-entity-with-array
> +Question:+
> Fiware ContextBroker Entity with Array
> +Description:+
> Is it possible create an entity in Fiware, where a specific attribute will be send as an array? Something like that? Having multiple pressure sensors inside a room where I would like to receive them in one update?!
> So this is basically creating the Entity
> {
> "id": "Room1",
> "type": "Room",
> "temperature": {
> "value": 23,
> "type": "Float"
> },
> "pressure": {
> "value": 720,
> "type": "Integer"
> }
> }
> and I would like to receive updates in one update message with all pressure information inside this "Entity"
> {
> "id": "Room1",
> "type": "Room",
> "temperature": {
> "value": 23,
> "type": "Float"
> },
> "pressure": [{
> "value": 720,
> "type": "Integer"
> },
> {
> "value": 500,
> "type": "Integer"
> },
> ]
> }
> Thanks in advance!
> -pd
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy