Azure / Azure/LogicAppsUX

Unable to load the referenced json schema

Open
#6,924 7 comments 0 reactions 2 assignees Assigned to @takyyon View on GitHub
Data Mapper
Dominant language
TypeScript
Stars
111
Forks
109
Avg merge
1d 23h
Merged PRs (30d)
20

Description

### Which Data Mapper Version are you using ?

v2

### Describe the Bug with repro steps

- There are 2 schemas Contact.json and External.json, where the first one has a relative reference to the second one (the both were preloaded into the Azure Logic Apps (Standard) Schemas folder and provided in the additional context).
- Create a new Data Map
- Select the existing External.json schema -> it is successfully loaded to show only the "root*" element (it is only an experiment to see if this schema can be found and is valid)
- Select the existing Contact.json schema -> it failed to be loaded "400 - InvalidSchema: The provided schema content is not valid. If the schema has any references, please upload the referenced schema to the Integration Account first. The compilation of schema failed with error: 'Could not resolve schema reference 'http://integration/schemas/External.json#/$defs/Date'. Pass '', line 13, position 24.'." (as specified above this schema was preloaded into the Schemas folder and validated in the previous step).

### Screenshots or Videos

![Image](https://github.com/user-attachments/assets/c415e9bf-e306-4d01-9841-e50efc78a524)
![Image](https://github.com/user-attachments/assets/4af99e02-54aa-4640-9d09-80fbcf4b99ee)
![Image](https://github.com/user-attachments/assets/4c148eb0-1370-427c-8281-15544f23aebe)
![Image](https://github.com/user-attachments/assets/8d60a85c-c9cd-4296-916a-f618666ec39f)

### Version

Azure Logic Apps (Standard) VSE v5.44.9
Data Mapper Version: 2 (by the way the same problem exists with v1 as well)

### Additional context

[Contact.json](https://github.com/user-attachments/files/19536524/Contact.json)
[External.json](https://github.com/user-attachments/files/19536525/External.json)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.