Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 1QcFpE54EV5vJSDaBUd2dn
Power Automate - Connector Development
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 4 Oct 2023 12:33:47 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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard

Featured topics