I want to create a schema with a list field by using core service so I can select the keyword when I create a component. for this I create a "SingleLineTextFieldDefinitionData" type field but I did not find any method in SingleLineTextFieldDefinitionData class for the property of Values will be Selected from a List .
how I do this so I can select the category from the list and classify the component