diff options
Diffstat (limited to 'spec/fixtures/api/schemas/ml/get_latest_versions.json')
-rw-r--r-- | spec/fixtures/api/schemas/ml/get_latest_versions.json | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/ml/get_latest_versions.json b/spec/fixtures/api/schemas/ml/get_latest_versions.json new file mode 100644 index 00000000000..cb2308fa637 --- /dev/null +++ b/spec/fixtures/api/schemas/ml/get_latest_versions.json @@ -0,0 +1,80 @@ +{ + "type": "object", + "required": [ + "model_versions" + ], + "properties": { + "model_versions": { + "type": "array", + "items": [ + { + "type": "object", + "required": [ + "name", + "version", + "creation_timestamp", + "last_updated_timestamp", + "user_id", + "current_stage", + "description", + "source", + "run_id", + "status", + "status_message", + "metadata", + "run_link", + "aliases" + ], + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + }, + "creation_timestamp": { + "type": "integer" + }, + "last_updated_timestamp": { + "type": "integer" + }, + "user_id": { + "type": "null" + }, + "current_stage": { + "type": "string" + }, + "description": { + "type": "string" + }, + "source": { + "type": "string" + }, + "run_id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "status_message": { + "type": "string" + }, + "metadata": { + "type": "array", + "items": { + } + }, + "run_link": { + "type": "string" + }, + "aliases": { + "type": "array", + "items": { + } + } + } + } + ] + } + } +} |