{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/allianz-future-cloud-platform/refs/heads/main/json-schema/platform-services-deploy-service-request-schema.json",
  "title": "DeployServiceRequest",
  "description": "Request body for triggering a service deployment",
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "description": "Version tag to deploy",
      "example": "2.6.0"
    },
    "image": {
      "type": "string",
      "description": "Container image with version tag",
      "example": "allianz/policy-service:2.6.0"
    },
    "strategy": {
      "type": "string",
      "description": "Deployment strategy",
      "enum": [
        "rolling",
        "blue_green",
        "canary"
      ],
      "default": "rolling",
      "example": "rolling"
    }
  },
  "required": [
    "version",
    "image"
  ]
}