Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

Problem validating schema: Loops of required schema properties are not allowed.

(0) ShareShare
ReportReport
Posted on by

Hi,

I have been trying to update our certified connector by adding functionality to our apiDefinition.swagger.json file. I have followed the instructions (here) to update the connector, and I have used the paconn tool (here) to validate the JSON file without any errors.

 

However, after submitting the pull request to update the connector, the build failed:

Loops of required schema properties are not allowed. ValuePath: /definitions/AIForged.ViewModels.CustomDataSet

 

I'm not sure where the loops are introduced, and really need help to understand why this error occurs. I tried attaching the entire JSOn file, but JSON file types are not supported. Below is a snippet of the definition:

 

 

"AIForged.ViewModels.CustomDataSet": {
 "type": "object",
 "required": [
 "projectId",
 "serviceId",
 "stpdId",
 "docId",
 "keyDefId",
 "status",
 "includeData",
 "includeVerifications"
 ],
 "properties": {
 "projectId": {
 "type": "integer",
 "format": "int32"
 },
 "serviceId": {
 "type": "integer",
 "format": "int32"
 },
 "stpdId": {
 "type": "integer",
 "format": "int32",
 "x-deprecated": true,
 "x-deprecatedMessage": "Use ServiceId"
 },
 "docId": {
 "type": "integer",
 "format": "int32"
 },
 "keyDefId": {
 "type": "integer",
 "format": "int32"
 },
 "keyDef": {
 "description": "Service, settings abd rules definitions",
 "allOf": [
 {
 "$ref": "#/definitions/AIForged.ViewModels.ParameterDefViewModel"
 }
 ]
 },
 "document": {
 "description": "Document metadata info",
 "allOf": [
 {
 "$ref": "#/definitions/AIForged.ViewModels.DocumentViewModel"
 }
 ]
 },
 "definitions": {
 "type": "array",
 "items": {
 "$ref": "#/definitions/AIForged.ViewModels.ParameterDefViewModel"
 }
 },
 "data": {
 "type": "array",
 "items": {
 "$ref": "#/definitions/AIForged.ViewModels.CustomDataSetRecord"
 }
 },
 "status": {
 "type": "integer",
 "format": "int32"
 },
 "info": {
 "type": "string"
 },
 "includeData": {
 "type": "boolean"
 },
 "pageNo": {
 "type": "integer",
 "format": "int32"
 },
 "pageSize": {
 "type": "integer",
 "format": "int32"
 },
 "sortFieldDefId": {
 "type": "integer",
 "format": "int32"
 },
 "sortDirection": {
 "$ref": "#/definitions/AIForged.DAL.SortDirection"
 },
 "includeVerifications": {
 "type": "boolean"
 },
 "searchField": {
 "type": "string"
 },
 "searchValue": {
 "type": "string"
 }
 }
 }

 

 

 

Any advice will greatly be appreciated.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard

Featured topics