{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-secret-manager/json-schema/google-cloud-secret-manager-render-template-version-response-schema.json",
  "title": "RenderTemplateVersionResponse",
  "description": "Message describing response for `RenderTemplateVersion` method",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-secret-manager-parametermanager-projects-api-openapi.yml#/components/schemas/RenderTemplateVersionResponse",
  "properties": {
    "renderedPayload": {
      "type": "string",
      "format": "byte",
      "description": "Server generated rendered version of the user provided payload data (TemplateVersionPayload) which has all the variables resolved using the provided parameter version."
    },
    "templateFormat": {
      "enum": [
        "TEMPLATE_FORMAT_UNSPECIFIED",
        "TEMPLATE_FORMAT_YAML",
        "TEMPLATE_FORMAT_JSON"
      ],
      "description": "Format of the template version.",
      "type": "string"
    },
    "payload": {
      "$ref": "#/$defs/TemplateVersionPayload",
      "description": "Payload content of a TemplateVersion resource."
    },
    "templateVersion": {
      "description": "Resource identifier of a TemplateVersion in the format `projects/*/locations/*/templates/*/versions/*`.",
      "type": "string"
    },
    "parameterVersion": {
      "description": "The resource name of the ParameterVersion used to render the template version in the format `projects/*/locations/*/parameters/*/versions/*`.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "TemplateVersionPayload": {
      "type": "object",
      "description": "Message for storing a TemplateVersion resource's payload data",
      "properties": {
        "data": {
          "type": "string",
          "description": "Required. bytes data for storing payload.",
          "format": "byte"
        }
      }
    }
  }
}