web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 9acR8ueLM6BxVJgoqyIhLy
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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics