intigration commented on issue #4140:
URL: https://github.com/apache/streampipes/issues/4140#issuecomment-3892791009

   @tenthe - further navigating on the same context of input schema topic  and 
the option to provide the sample schema, I am getting different type errors 
with converted schema, java.lang. etc.. with every field. The preview event is 
not reflecting the configured schema 1:1.    The schema I shared is identified 
as  nested objects,  If the schema should be struct - How do we comply the UNS 
strategy with data - 
   `enterprise/site/area/line/cell/equipment/tag`
   
   `{
     "type": "object",
     "required": ["timestamp", "equipmentId", "tag", "value"],
     "properties": {
       "timestamp": { "type": "string", "format": "date-time" },
       "equipmentId": { "type": "string" },
       "tag": { "type": "string" },
       "value": { "type": ["number", "string", "boolean"] },
       "unit": { "type": "string" },
       "quality": { 
         "type": "string",
         "enum": ["GOOD", "BAD", "UNCERTAIN"]
       },
       "schemaVersion": { "type": "string" }
     }
   }
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to