# chartsCards validation issue in Extension 2.0

**URL:** <https://community.dynatrace.com/t/chartscards-validation-issue-in-extension-2-0/46706>\
**Category:** Extensions\
**Tags:** extensions, charts\
**Created:** [July 19, 2024, 12:15pm UTC](https://community.dynatrace.com/t/chartscards-validation-issue-in-extension-2-0/46706 "2024-07-19T12:15:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![guptasahil942](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@guptasahil942](https://community.dynatrace.com/u/guptasahil942)\
**Post date:** [July 19, 2024, 12:15pm UTC](https://community.dynatrace.com/t/chartscards-validation-issue-in-extension-2-0/46706/1 "2024-07-19T12:15:49Z")

</div>

Hello Team,

I am facing validation issue everytime I try to Build the extension using chartCards.

I have tried to follow the schema mentioned in documentation.

Please find below the extension code:

- entityType: cloudamqp:vhost&nbsp; &nbsp; listSettings:&nbsp; &nbsp; &nbsp; staticContent:&nbsp; &nbsp; &nbsp; &nbsp; showGlobalFilter: false&nbsp; &nbsp; &nbsp; &nbsp; header:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; title: CloudAMQP Virtual Hosts&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; description: List of CloudAMQP Virtual Hosts&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon: webserver&nbsp; &nbsp; &nbsp; &nbsp; breadcrumbs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - type: NOOP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; displayName: CloudAMQP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - type: ENTITY\_LIST\_REF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; displayName: Clusters&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; entityType: cloudamqp:cluster&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - type: NOOP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; displayName: Virtual Host&nbsp; &nbsp; &nbsp; layout:&nbsp; &nbsp; &nbsp; &nbsp; autoGenerate: false&nbsp; &nbsp; &nbsp; &nbsp; cards:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - key: cloudamqp\_vhosts\_list\_self&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type: ENTITIES\_LIST&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - key: vhost\_charts\_overview&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type: CHART\_GROUP&nbsp; &nbsp; chartsCards:&nbsp; &nbsp; &nbsp; - key: vhost\_charts\_overview&nbsp; &nbsp; &nbsp; &nbsp; mode: NORMAL&nbsp; &nbsp; &nbsp; &nbsp; numberOfVisibleCharts: 2&nbsp; &nbsp; &nbsp; &nbsp; displayName: Virtual Host Overview&nbsp; &nbsp; &nbsp; &nbsp; description: Overview of the CloudAMQP Virtual Host&nbsp; &nbsp; &nbsp; &nbsp; charts:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - displayName: Queues&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; visualizationType: GRAPH\_CHART&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; graphChartConfig:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; metrics:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - metricSelector: cloudamqp.vhost.queues&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; visualization:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; seriesType: AREA&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; themeColor: BLUE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - displayName: Exchanges&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; visualizationType: GRAPH\_CHART&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; graphChartConfig:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; metrics:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - metricSelector: cloudamqp.vhost.exchanges&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; visualization:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; displayName: Exchanges&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; seriesType: AREA&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; themeColor: ROYALBLUEValidation Error:{&nbsp; “code”: 400,&nbsp; “message”: “Extension validation error”,&nbsp; “constraintViolations”: [&nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; “path”: “$.screens[1].chartsCards[0]”,&nbsp; &nbsp; &nbsp; “message”: “$.screens[1].chartsCards[0].mode: is not defined in the schema and the schema does not allow additional properties”,&nbsp; &nbsp; &nbsp; “parameterLocation”: “PAYLOAD\_BODY”,&nbsp; &nbsp; &nbsp; “location”: null&nbsp; &nbsp; },&nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; “path”: “$.screens[1].chartsCards[0]”,&nbsp; &nbsp; &nbsp; “message”: “$.screens[1].chartsCards[0].description: is not defined in the schema and the schema does not allow additional properties”,&nbsp; &nbsp; &nbsp; “parameterLocation”: “PAYLOAD\_BODY”,&nbsp; &nbsp; &nbsp; “location”: null&nbsp; &nbsp; }&nbsp; ]}On referring the documentation, I found that&nbsp; **mode** is a required field and has been given the appropriate value.Thanks & Regards,Sahil

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [August 10, 2024, 1:15pm UTC](https://community.dynatrace.com/t/chartscards-validation-issue-in-extension-2-0/46706/2 "2024-08-10T13:15:01Z")

</div>

Hi&nbsp;[@guptasahil942](https://community.dynatrace.com/user/78222)

Did you find an answer for _**$.screens[1].chartsCards[0].mode: is not defined in the schema and the schema does not allow additional properties**_&nbsp;error ?

For me Load schemas of version 295 solved the issue

Yos
