Skip to content
Merged
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions planning/work-items/analysis/analysis-data-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,24 @@ Also known as: Mapping TD elements to messages
- Impact Type: Have a clear way to support services that are hard or impossible to describe nowadays
- Linked Use Cases or Categories: TBD

2. XML data exchange

- **Who:** TD designer of a Thing with XML data exchange.
- **What:** Want to describe XML payloads in TDs (TD uses JSON Schema to describe payload data) and automatically validate XML payloads (WoT implementations use JSON Schema to validate payload data)
- Impossible to describe XML data accurately (i.e., there is no 1:1 mapping between JSON schema and XML schema)
- XML and/or JSON in memory while data on the wire (mapping between JSON and XML)
- See discussions in https://github.com/w3c/wot-binding-templates/issues/139
- **Why:** So I can include Things (including in existing solutions) that use XML as payload content type in the WoT

- Sentence: **As a** developer, **I need** to support data exchange other than JSON (e.g., XML).
- Process Stakeholders:
- Submitter: Multiple
- Specification Writers: Daniel Peintner
- Implementation Volunteers: Daniel Peintner
- Impacted People: TD Designers and Consumer application developers.
- Impact Type: Have a **standardized** way to describe XML data in TDs
- Linked Use Cases or Categories: TBD

## Existing Solutions

TBD
Expand Down
Loading