$demo['properties'][$name]=$ir->ask("Please set the {$property['title']} value. ({$property['description']})",NULL,function($value)use($name,$required){
if(in_array($name,$required)&&!$value){
thrownew\Exception($this->t('This property is required. Please set a value.'));
}
// @TODO: Check for type validation. (bool, number, string, attributes).