{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-project-version-action-request-schema.json",
  "title": "ProjectVersionActionRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-project-versions-api-openapi.yml#/components/schemas/ProjectVersionActionRequest",
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "Action to perform",
      "enum": [
        "commit",
        "COPY_CURRENT_STATE",
        "COPY_FROM_PARTIAL",
        "SEND_FOR_TRAINING",
        "SEND_FOR_PREDICTION"
      ]
    },
    "values": {
      "type": "object",
      "description": "Action-specific parameters"
    }
  }
}