{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snowflake/main/json-schema/snowflake-add-version-streamlit-request-schema.json",
  "title": "AddVersionStreamlitRequest",
  "description": "Request body for adding a new version to a Streamlit from a source location.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snowflake-streamlit-api-openapi.yml#/components/schemas/AddVersionStreamlitRequest",
  "type": "object",
  "properties": {
    "source_location": {
      "type": "string",
      "description": "URI to the source location."
    },
    "version": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name/Alias for the new version."
        },
        "comment": {
          "type": "string"
        },
        "ifNotExists": {
          "type": "boolean"
        }
      },
      "required": [
        "name"
      ]
    }
  },
  "required": [
    "source_location"
  ]
}