{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SavedModel",
  "title": "SavedModel",
  "type": "object",
  "properties": {
    "projectKey": {
      "type": "string",
      "description": "Project key"
    },
    "id": {
      "type": "string",
      "description": "Saved model identifier"
    },
    "name": {
      "type": "string",
      "description": "Saved model name"
    },
    "type": {
      "type": "string",
      "description": "Model type"
    },
    "activeVersion": {
      "type": "string",
      "description": "Identifier of the active model version"
    },
    "versions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ModelVersion"
      }
    }
  }
}