Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/ml/update_model.json')
-rw-r--r--spec/fixtures/api/schemas/ml/update_model.json51
1 files changed, 51 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/ml/update_model.json b/spec/fixtures/api/schemas/ml/update_model.json
new file mode 100644
index 00000000000..6b7ced6845b
--- /dev/null
+++ b/spec/fixtures/api/schemas/ml/update_model.json
@@ -0,0 +1,51 @@
+{
+ "type": "object",
+ "required": [
+ "registered_model"
+ ],
+ "properties": {
+ "model": {
+ "type": "object",
+ "required": [
+ "name",
+ "description",
+ "user_id"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "integer"
+ },
+ "creation_timestamp": {
+ "type": "string"
+ },
+ "last_updated_timestamp": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "key",
+ "value"
+ ],
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}