{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-personalize/json-schema/amazon-personalize-create-solution-version-request-schema.json",
  "title": "CreateSolutionVersionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-personalize-solution-version-api-openapi.yml#/components/schemas/CreateSolutionVersionRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the solution version."
    },
    "solutionArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the solution containing the training configuration information."
    },
    "trainingMode": {
      "type": "string",
      "enum": [
        "FULL",
        "UPDATE",
        "AUTOTRAIN"
      ],
      "description": "The scope of training to be performed when creating the solution version. The default is FULL. This creates a completely new model based on the entirety of the training data from the datasets in your dataset group. If you use User-Personalization, you can specify a training mode of UPDATE. This updates the model to consider new items for recommendations. It is not a full retraining. You should still complete a full retraining weekly. If you specify UPDATE, Amazon Personalize will stop automatic updates for the solution version. To resume updates, create a new solution with training mode set to"
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tags to apply to the solution version."
    }
  },
  "required": [
    "solutionArn"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "tagKey": {
          "type": "string",
          "description": "One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values."
        },
        "tagValue": {
          "type": "string",
          "description": "The optional part of a key-value pair that makes up a tag. A value acts as a descriptor within a tag category (key)."
        }
      },
      "required": [
        "tagKey",
        "tagValue"
      ]
    }
  }
}