{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-pipelines/json-schema/microsoft-azure-pipelines-log-schema.json",
  "title": "Log",
  "description": "A log entry from a pipeline run containing execution output from stages, jobs, or tasks.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-pipelines-logs-api-openapi.yml#/components/schemas/Log",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique numeric identifier of the log entry"
    },
    "createdOn": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the log was created"
    },
    "lastChangedOn": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the log was last updated"
    },
    "lineCount": {
      "type": "integer",
      "description": "Number of lines in the log"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "REST API URL to retrieve the log content"
    },
    "signedContent": {
      "type": "object",
      "description": "Signed URL for secure log download",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Signed download URL"
        },
        "signatureExpires": {
          "type": "string",
          "format": "date-time",
          "description": "Expiration time of the signed URL"
        }
      }
    }
  }
}