Can't get validations array for field with one-to-one related Entry

I’m not receiving validations property for field that maps to one-to-one entry. This works for one-to-many entries. In the example below, oneToOne field should have validations array with information what content type it relates to.

The URL: https://cdn.contentful.com/spaces/{{space_id}}/environments/{{environment_id}}/content_types/myType?access_token={{access_token}}

Response:

{
“fields”: [
{
“id”: “oneToMany”,
“name”: “One To Many”,
“type”: “Array”,
“localized”: false,
“required”: false,
“disabled”: false,
“omitted”: false,
“items”: {
“type”: “Link”,
“validations”: [
{
“linkContentType”: [
“category”
]
}
],
“linkType”: “Entry”
}
},
{
“id”: “oneToOne”,
“name”: “One To One”,
“type”: “Link”,
“localized”: false,
“required”: false,
“disabled”: false,
“omitted”: false,
“linkType”: “Entry”
},

Hi @piotr.walczyszyn,
Unfortunately the validation is not supposed to be displayed via CDA for both reference fields. What you see for the one-to-many (the validation array) is actually a bug of the CDA and should not be leveraged.

If you need to check the validations, our suggestion is to use CMA.

Best,
Alma