* fix invalid json schemas.
This commit is contained in:
+46
-49
@@ -513,8 +513,12 @@ $lang->ai->formSchema['story']['change'] = $lang->ai->formSchema['story']['creat
|
||||
|
||||
$lang->ai->formSchema['story']['batchcreate'] = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->title = 'Stories';
|
||||
$lang->ai->formSchema['story']['batchcreate']->type = 'array';
|
||||
$lang->ai->formSchema['story']['batchcreate']->items = $lang->ai->formSchema['story']['create'];
|
||||
$lang->ai->formSchema['story']['batchcreate']->type = 'object';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->type = 'array';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->description = 'Stories';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->items = $lang->ai->formSchema['story']['create'];
|
||||
|
||||
$lang->ai->formSchema['productplan']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['productplan']['create']->title = 'Product Plan';
|
||||
@@ -567,8 +571,12 @@ $lang->ai->formSchema['task']['edit'] = $lang->ai->formSchema['task']['create'];
|
||||
|
||||
$lang->ai->formSchema['task']['batchcreate'] = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->title = 'Tasks';
|
||||
$lang->ai->formSchema['task']['batchcreate']->type = 'array';
|
||||
$lang->ai->formSchema['task']['batchcreate']->items = $lang->ai->formSchema['task']['create'];
|
||||
$lang->ai->formSchema['task']['batchcreate']->type = 'object';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->type = 'array';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->description = 'Tasks';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->items = $lang->ai->formSchema['task']['create'];
|
||||
|
||||
$lang->ai->formSchema['bug']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['bug']['create']->title = 'Bug';
|
||||
@@ -641,21 +649,6 @@ $lang->ai->formSchema['testreport']['create']->properties->report->description =
|
||||
$lang->ai->formSchema['testreport']['create']->required = array('begin', 'end', 'title', 'report');
|
||||
$lang->ai->formSchema['execution']['testreport'] = $lang->ai->formSchema['testreport']['create'];
|
||||
|
||||
$lang->ai->formSchema['story']['change'] = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->title = 'Story';
|
||||
$lang->ai->formSchema['story']['change']->type = 'object';
|
||||
$lang->ai->formSchema['story']['change']->properties = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->title = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->spec = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->verify = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->title->type = 'string';
|
||||
$lang->ai->formSchema['story']['change']->properties->title->description = 'Title of the story';
|
||||
$lang->ai->formSchema['story']['change']->properties->spec->type = 'string';
|
||||
$lang->ai->formSchema['story']['change']->properties->spec->description = 'Description of the story';
|
||||
$lang->ai->formSchema['story']['change']->properties->verify->type = 'string';
|
||||
$lang->ai->formSchema['story']['change']->properties->verify->description = 'Acceptance criteria of the story';
|
||||
$lang->ai->formSchema['story']['change']->required = array('title', 'spec', 'verify');
|
||||
|
||||
$lang->ai->formSchema['doc']['edit'] = new stdclass();
|
||||
$lang->ai->formSchema['doc']['edit']->title = 'Document';
|
||||
$lang->ai->formSchema['doc']['edit']->type = 'object';
|
||||
@@ -668,40 +661,44 @@ $lang->ai->formSchema['doc']['edit']->properties->content->type = 'string
|
||||
$lang->ai->formSchema['doc']['edit']->properties->content->description = 'Content of the document';
|
||||
$lang->ai->formSchema['doc']['edit']->required = array('title', 'content');
|
||||
|
||||
$lang->ai->formSchema['tree']['browse'] = new stdclass(); // TODO: This might not work.
|
||||
$lang->ai->formSchema['tree']['browse'] = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->title = 'Modules';
|
||||
$lang->ai->formSchema['tree']['browse']->type = 'array';
|
||||
$lang->ai->formSchema['tree']['browse']->items = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->items->type = 'object';
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties->{'modules[]'} = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties->{'modules[]'}->type = 'string';
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties->{'modules[]'}->description = 'Name of module';
|
||||
$lang->ai->formSchema['tree']['browse']->items->required = array('modules[]');
|
||||
$lang->ai->formSchema['tree']['browse']->type = 'object';
|
||||
$lang->ai->formSchema['tree']['browse']->properties = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->type = 'array';
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->title = 'Modules';
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->items = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->items->type = 'string';
|
||||
$lang->ai->formSchema['tree']['browse']->required = array('modules');
|
||||
|
||||
$lang->ai->formSchema['programplan']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->title = 'Program Plan';
|
||||
$lang->ai->formSchema['programplan']['create']->type = 'array';
|
||||
$lang->ai->formSchema['programplan']['create']->items = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name->description = 'Name of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->description = 'Attribute of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other');
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone->type = 'boolean';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone->description = 'Is milestone?';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin->description = 'Begin date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end->description = 'End date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->required = array('name', 'attribute', 'milestone', 'begin', 'end');
|
||||
$lang->ai->formSchema['programplan']['create']->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->type = 'array';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->title = 'Plans';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->description = 'Name of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->description = 'Attribute of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other');
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->type = 'boolean';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->description = 'Is milestone?';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->description = 'Begin date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->description = 'End date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->required = array('stages');
|
||||
|
||||
$lang->ai->promptMenu = new stdclass();
|
||||
$lang->ai->promptMenu->dropdownTitle = 'AI';
|
||||
|
||||
+46
-49
@@ -513,8 +513,12 @@ $lang->ai->formSchema['story']['change'] = $lang->ai->formSchema['story']['creat
|
||||
|
||||
$lang->ai->formSchema['story']['batchcreate'] = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->title = 'Stories';
|
||||
$lang->ai->formSchema['story']['batchcreate']->type = 'array';
|
||||
$lang->ai->formSchema['story']['batchcreate']->items = $lang->ai->formSchema['story']['create'];
|
||||
$lang->ai->formSchema['story']['batchcreate']->type = 'object';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->type = 'array';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->description = 'Stories';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->items = $lang->ai->formSchema['story']['create'];
|
||||
|
||||
$lang->ai->formSchema['productplan']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['productplan']['create']->title = 'Product Plan';
|
||||
@@ -567,8 +571,12 @@ $lang->ai->formSchema['task']['edit'] = $lang->ai->formSchema['task']['create'];
|
||||
|
||||
$lang->ai->formSchema['task']['batchcreate'] = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->title = 'Tasks';
|
||||
$lang->ai->formSchema['task']['batchcreate']->type = 'array';
|
||||
$lang->ai->formSchema['task']['batchcreate']->items = $lang->ai->formSchema['task']['create'];
|
||||
$lang->ai->formSchema['task']['batchcreate']->type = 'object';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->type = 'array';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->description = 'Tasks';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->items = $lang->ai->formSchema['task']['create'];
|
||||
|
||||
$lang->ai->formSchema['bug']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['bug']['create']->title = 'Bug';
|
||||
@@ -641,21 +649,6 @@ $lang->ai->formSchema['testreport']['create']->properties->report->description =
|
||||
$lang->ai->formSchema['testreport']['create']->required = array('begin', 'end', 'title', 'report');
|
||||
$lang->ai->formSchema['execution']['testreport'] = $lang->ai->formSchema['testreport']['create'];
|
||||
|
||||
$lang->ai->formSchema['story']['change'] = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->title = 'Story';
|
||||
$lang->ai->formSchema['story']['change']->type = 'object';
|
||||
$lang->ai->formSchema['story']['change']->properties = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->title = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->spec = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->verify = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->title->type = 'string';
|
||||
$lang->ai->formSchema['story']['change']->properties->title->description = 'Title of the story';
|
||||
$lang->ai->formSchema['story']['change']->properties->spec->type = 'string';
|
||||
$lang->ai->formSchema['story']['change']->properties->spec->description = 'Description of the story';
|
||||
$lang->ai->formSchema['story']['change']->properties->verify->type = 'string';
|
||||
$lang->ai->formSchema['story']['change']->properties->verify->description = 'Acceptance criteria of the story';
|
||||
$lang->ai->formSchema['story']['change']->required = array('title', 'spec', 'verify');
|
||||
|
||||
$lang->ai->formSchema['doc']['edit'] = new stdclass();
|
||||
$lang->ai->formSchema['doc']['edit']->title = 'Document';
|
||||
$lang->ai->formSchema['doc']['edit']->type = 'object';
|
||||
@@ -668,40 +661,44 @@ $lang->ai->formSchema['doc']['edit']->properties->content->type = 'string
|
||||
$lang->ai->formSchema['doc']['edit']->properties->content->description = 'Content of the document';
|
||||
$lang->ai->formSchema['doc']['edit']->required = array('title', 'content');
|
||||
|
||||
$lang->ai->formSchema['tree']['browse'] = new stdclass(); // TODO: This might not work.
|
||||
$lang->ai->formSchema['tree']['browse'] = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->title = 'Modules';
|
||||
$lang->ai->formSchema['tree']['browse']->type = 'array';
|
||||
$lang->ai->formSchema['tree']['browse']->items = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->items->type = 'object';
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties->{'modules[]'} = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties->{'modules[]'}->type = 'string';
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties->{'modules[]'}->description = 'Name of module';
|
||||
$lang->ai->formSchema['tree']['browse']->items->required = array('modules[]');
|
||||
$lang->ai->formSchema['tree']['browse']->type = 'object';
|
||||
$lang->ai->formSchema['tree']['browse']->properties = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->type = 'array';
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->title = 'Modules';
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->items = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->items->type = 'string';
|
||||
$lang->ai->formSchema['tree']['browse']->required = array('modules');
|
||||
|
||||
$lang->ai->formSchema['programplan']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->title = 'Program Plan';
|
||||
$lang->ai->formSchema['programplan']['create']->type = 'array';
|
||||
$lang->ai->formSchema['programplan']['create']->items = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name->description = 'Name of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->description = 'Attribute of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other');
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone->type = 'boolean';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone->description = 'Is milestone?';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin->description = 'Begin date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end->description = 'End date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->required = array('name', 'attribute', 'milestone', 'begin', 'end');
|
||||
$lang->ai->formSchema['programplan']['create']->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->type = 'array';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->title = 'Plans';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->description = 'Name of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->description = 'Attribute of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other');
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->type = 'boolean';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->description = 'Is milestone?';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->description = 'Begin date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->description = 'End date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->required = array('stages');
|
||||
|
||||
$lang->ai->promptMenu = new stdclass();
|
||||
$lang->ai->promptMenu->dropdownTitle = 'AI';
|
||||
|
||||
+46
-49
@@ -513,8 +513,12 @@ $lang->ai->formSchema['story']['change'] = $lang->ai->formSchema['story']['creat
|
||||
|
||||
$lang->ai->formSchema['story']['batchcreate'] = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->title = 'Stories';
|
||||
$lang->ai->formSchema['story']['batchcreate']->type = 'array';
|
||||
$lang->ai->formSchema['story']['batchcreate']->items = $lang->ai->formSchema['story']['create'];
|
||||
$lang->ai->formSchema['story']['batchcreate']->type = 'object';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->type = 'array';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->description = 'Stories';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->items = $lang->ai->formSchema['story']['create'];
|
||||
|
||||
$lang->ai->formSchema['productplan']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['productplan']['create']->title = 'Product Plan';
|
||||
@@ -567,8 +571,12 @@ $lang->ai->formSchema['task']['edit'] = $lang->ai->formSchema['task']['create'];
|
||||
|
||||
$lang->ai->formSchema['task']['batchcreate'] = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->title = 'Tasks';
|
||||
$lang->ai->formSchema['task']['batchcreate']->type = 'array';
|
||||
$lang->ai->formSchema['task']['batchcreate']->items = $lang->ai->formSchema['task']['create'];
|
||||
$lang->ai->formSchema['task']['batchcreate']->type = 'object';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->type = 'array';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->description = 'Tasks';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->items = $lang->ai->formSchema['task']['create'];
|
||||
|
||||
$lang->ai->formSchema['bug']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['bug']['create']->title = 'Bug';
|
||||
@@ -641,21 +649,6 @@ $lang->ai->formSchema['testreport']['create']->properties->report->description =
|
||||
$lang->ai->formSchema['testreport']['create']->required = array('begin', 'end', 'title', 'report');
|
||||
$lang->ai->formSchema['execution']['testreport'] = $lang->ai->formSchema['testreport']['create'];
|
||||
|
||||
$lang->ai->formSchema['story']['change'] = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->title = 'Story';
|
||||
$lang->ai->formSchema['story']['change']->type = 'object';
|
||||
$lang->ai->formSchema['story']['change']->properties = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->title = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->spec = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->verify = new stdclass();
|
||||
$lang->ai->formSchema['story']['change']->properties->title->type = 'string';
|
||||
$lang->ai->formSchema['story']['change']->properties->title->description = 'Title of the story';
|
||||
$lang->ai->formSchema['story']['change']->properties->spec->type = 'string';
|
||||
$lang->ai->formSchema['story']['change']->properties->spec->description = 'Description of the story';
|
||||
$lang->ai->formSchema['story']['change']->properties->verify->type = 'string';
|
||||
$lang->ai->formSchema['story']['change']->properties->verify->description = 'Acceptance criteria of the story';
|
||||
$lang->ai->formSchema['story']['change']->required = array('title', 'spec', 'verify');
|
||||
|
||||
$lang->ai->formSchema['doc']['edit'] = new stdclass();
|
||||
$lang->ai->formSchema['doc']['edit']->title = 'Document';
|
||||
$lang->ai->formSchema['doc']['edit']->type = 'object';
|
||||
@@ -668,40 +661,44 @@ $lang->ai->formSchema['doc']['edit']->properties->content->type = 'string
|
||||
$lang->ai->formSchema['doc']['edit']->properties->content->description = 'Content of the document';
|
||||
$lang->ai->formSchema['doc']['edit']->required = array('title', 'content');
|
||||
|
||||
$lang->ai->formSchema['tree']['browse'] = new stdclass(); // TODO: This might not work.
|
||||
$lang->ai->formSchema['tree']['browse'] = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->title = 'Modules';
|
||||
$lang->ai->formSchema['tree']['browse']->type = 'array';
|
||||
$lang->ai->formSchema['tree']['browse']->items = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->items->type = 'object';
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties->{'modules[]'} = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties->{'modules[]'}->type = 'string';
|
||||
$lang->ai->formSchema['tree']['browse']->items->properties->{'modules[]'}->description = 'Name of module';
|
||||
$lang->ai->formSchema['tree']['browse']->items->required = array('modules[]');
|
||||
$lang->ai->formSchema['tree']['browse']->type = 'object';
|
||||
$lang->ai->formSchema['tree']['browse']->properties = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->type = 'array';
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->title = 'Modules';
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->items = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->items->type = 'string';
|
||||
$lang->ai->formSchema['tree']['browse']->required = array('modules');
|
||||
|
||||
$lang->ai->formSchema['programplan']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->title = 'Program Plan';
|
||||
$lang->ai->formSchema['programplan']['create']->type = 'array';
|
||||
$lang->ai->formSchema['programplan']['create']->items = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name->description = 'Name of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->description = 'Attribute of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other');
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone->type = 'boolean';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone->description = 'Is milestone?';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin->description = 'Begin date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end->description = 'End date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->items->required = array('name', 'attribute', 'milestone', 'begin', 'end');
|
||||
$lang->ai->formSchema['programplan']['create']->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->type = 'array';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->title = 'Plans';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->description = 'Name of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->description = 'Attribute of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other');
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->type = 'boolean';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->description = 'Is milestone?';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->description = 'Begin date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->description = 'End date of stage';
|
||||
$lang->ai->formSchema['programplan']['create']->required = array('stages');
|
||||
|
||||
$lang->ai->promptMenu = new stdclass();
|
||||
$lang->ai->promptMenu->dropdownTitle = 'AI';
|
||||
|
||||
+47
-31
@@ -513,8 +513,12 @@ $lang->ai->formSchema['story']['change'] = $lang->ai->formSchema['story']['creat
|
||||
|
||||
$lang->ai->formSchema['story']['batchcreate'] = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->title = '批量创建需求';
|
||||
$lang->ai->formSchema['story']['batchcreate']->type = 'array';
|
||||
$lang->ai->formSchema['story']['batchcreate']->items = $lang->ai->formSchema['story']['create'];
|
||||
$lang->ai->formSchema['story']['batchcreate']->type = 'object';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories = new stdclass();
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->type = 'array';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->description = '需求列表';
|
||||
$lang->ai->formSchema['story']['batchcreate']->properties->stories->items = $lang->ai->formSchema['story']['create'];
|
||||
|
||||
$lang->ai->formSchema['productplan']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['productplan']['create']->title = '产品计划';
|
||||
@@ -567,8 +571,12 @@ $lang->ai->formSchema['task']['edit'] = $lang->ai->formSchema['task']['create'];
|
||||
|
||||
$lang->ai->formSchema['task']['batchcreate'] = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->title = '批量创建任务';
|
||||
$lang->ai->formSchema['task']['batchcreate']->type = 'array';
|
||||
$lang->ai->formSchema['task']['batchcreate']->items = $lang->ai->formSchema['task']['create'];
|
||||
$lang->ai->formSchema['task']['batchcreate']->type = 'object';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks = new stdclass();
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->type = 'array';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->description = '任务列表';
|
||||
$lang->ai->formSchema['task']['batchcreate']->properties->tasks->items = $lang->ai->formSchema['task']['create'];
|
||||
|
||||
$lang->ai->formSchema['bug']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['bug']['create']->title = 'Bug';
|
||||
@@ -653,36 +661,44 @@ $lang->ai->formSchema['doc']['edit']->properties->content->type = 'string
|
||||
$lang->ai->formSchema['doc']['edit']->properties->content->description = '文档的正文';
|
||||
$lang->ai->formSchema['doc']['edit']->required = array('title', 'content');
|
||||
|
||||
$lang->ai->formSchema['tree']['browse'] = new stdclass(); // TODO: This might not work.
|
||||
$lang->ai->formSchema['tree']['browse'] = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->title = '模块';
|
||||
$lang->ai->formSchema['tree']['browse']->type = 'array';
|
||||
$lang->ai->formSchema['tree']['browse']->items = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->items->type = 'string';
|
||||
$lang->ai->formSchema['tree']['browse']->items->description = '模块的名称';
|
||||
$lang->ai->formSchema['tree']['browse']->type = 'object';
|
||||
$lang->ai->formSchema['tree']['browse']->properties = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->type = 'array';
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->title = '模块';
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->items = new stdclass();
|
||||
$lang->ai->formSchema['tree']['browse']->properties->modules->items->type = 'string';
|
||||
$lang->ai->formSchema['tree']['browse']->required = array('modules');
|
||||
|
||||
$lang->ai->formSchema['programplan']['create'] = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->title = '阶段';
|
||||
$lang->ai->formSchema['programplan']['create']->type = 'array';
|
||||
$lang->ai->formSchema['programplan']['create']->items = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->name->description = '阶段名称';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->description = '阶段类型';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->attribute->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other');
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone->type = 'boolean';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->milestone->description = '是否为里程碑';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->begin->description = '阶段开始时间';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->items->properties->end->description = '阶段结束时间';
|
||||
$lang->ai->formSchema['programplan']['create']->items->required = array('name', 'attribute', 'milestone', 'begin', 'end');
|
||||
$lang->ai->formSchema['programplan']['create']->title = '计划阶段';
|
||||
$lang->ai->formSchema['programplan']['create']->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->type = 'array';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->title = '阶段列表';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->type = 'object';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end = new stdclass();
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->description = '阶段名称';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->type = 'string';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->description = '阶段类型';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other');
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->type = 'boolean';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->description = '是否为里程碑';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->description = '阶段开始时间';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->type = 'date';
|
||||
$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->description = '阶段结束时间';
|
||||
$lang->ai->formSchema['programplan']['create']->required = array('stages');
|
||||
|
||||
$lang->ai->promptMenu = new stdclass();
|
||||
$lang->ai->promptMenu->dropdownTitle = 'AI';
|
||||
|
||||
Reference in New Issue
Block a user