Fix custom property entity and entityReferenceList (#16145)

* fix validation error for entity and entityRef property types

* fix validation error for entity and entityRef property types

* fix validation error for entity and entityRef property types

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
This commit is contained in:
sonika-shah 2024-05-08 10:31:09 +05:30 committed by GitHub
parent 5181c79bbc
commit abdaea55e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,8 @@
"properties": {
"id": {
"description": "Unique identifier that identifies an entity instance.",
"$ref": "../basic.json#/definitions/uuid"
"type": "string",
"format": "uuid"
},
"type": {
"description": "Entity type/class name - Examples: `database`, `table`, `metrics`, `databaseService`, `dashboardService`...",
@ -25,8 +26,9 @@
"type": "string"
},
"description": {
"$comment": "@om-field-type",
"description": "Optional description of entity.",
"$ref": "../basic.json#/definitions/markdown"
"type": "string"
},
"displayName": {
"description": "Display Name that identifies this entity.",
@ -42,7 +44,8 @@
},
"href": {
"description": "Link to the entity resource.",
"$ref": "../basic.json#/definitions/href"
"type": "string",
"format": "uri"
}
}
},
@ -56,7 +59,8 @@
"properties": {
"id": {
"description": "Unique identifier that identifies an entity instance.",
"$ref": "../basic.json#/definitions/uuid"
"type": "string",
"format": "uuid"
},
"type": {
"description": "Entity type/class name - Examples: `database`, `table`, `metrics`, `databaseService`, `dashboardService`...",
@ -71,8 +75,9 @@
"type": "string"
},
"description": {
"$comment": "@om-field-type",
"description": "Optional description of entity.",
"$ref": "../basic.json#/definitions/markdown"
"type": "string"
},
"displayName": {
"description": "Display Name that identifies this entity.",
@ -88,11 +93,12 @@
},
"href": {
"description": "Link to the entity resource.",
"$ref": "../basic.json#/definitions/href"
"type": "string",
"format": "uri"
}
}
}
}
}
}
}
}