{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/outsystems/main/json-schema/outsystems-publish-operation-request-schema.json",
  "title": "PublishOperationRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/outsystems-publish-operations-api-openapi.yml#/components/schemas/PublishOperationRequest",
  "type": "object",
  "properties": {
    "operation": {
      "allOf": [
        {
          "$ref": "#/$defs/PublishOperationsType"
        }
      ],
      "description": "Operation to be executed.\nMandatory: Publish."
    },
    "assetKey": {
      "type": "string",
      "description": "Unique asset identifier.",
      "format": "uuid"
    },
    "revision": {
      "type": "integer",
      "description": "Asset Revision.",
      "format": "int32"
    },
    "environmentKey": {
      "type": "string",
      "description": "Unique environment identifier.\nOptional for the hotfix scenario.",
      "format": "uuid"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "PublishOperationsType": {
      "enum": [
        "Publish"
      ],
      "type": "string"
    }
  }
}