Sriharsha Chintalapani cecbf80a2d
Add Custom Propety Config to store format, enum values, entity types (#15302)
* Add Custom Propety Config to store format, enum values, entity types

* Fix import statements and remove unused code

* Add Custom Propety Config to store format, enum values, entity types

* Add support for enum field type in custom properties

* update name in customPropertyConfigTypeValueField

* add custom property config column in custom property table

* Update padding-left in block-editor.less

* Add enum value translation for multiple languages

* update placeholder of config

* fixed python sdk

* add enum type in property value

* add unit tests

* Add Custom Propety Config to store format, enum values, entity types

* update ui to handle the enum config and validation

* Fix enum value handling in EditCustomPropertyModal and PropertyValue

* Update CustomProperty.md with enum values and multi-select option

* add cypress test

* add cypress for multiselect enum value

* Add tests for enum props

* add cypress for editing the enum property

* Add validations to enum

* Fix dependency issue

---------

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
Co-authored-by: Onkar Ravgan <onkar.10r@gmail.com>
2024-02-29 14:36:24 +05:30

28 lines
1002 B
JSON

{
"$id": "https://open-metadata.org/schema/api/data/createCustomProperty.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreateCustomPropertyRequest",
"description": "Create Custom Property Model entity request",
"type": "object",
"properties": {
"name": {
"description": "Name that identifies this Custom Property model.",
"$ref": "../../type/basic.json#/definitions/entityName"
},
"description": {
"description": "Description of the Container instance.",
"$ref": "../../type/basic.json#/definitions/markdown"
},
"propertyType": {
"description": "Property Type.",
"$ref": "../../type/customProperty.json#/definitions/propertyType"
},
"customPropertyConfig": {
"description": "Config to define constraints around CustomProperty.",
"$ref": "../../type/customProperty.json#/definitions/customPropertyConfig"
}
},
"required": ["name", "propertyType"],
"additionalProperties": false
}