{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-list-notebook-runs-output-schema.json",
  "title": "ListNotebookRunsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datazone-notebook-runs-api-openapi.yml#/components/schemas/ListNotebookRunsOutput",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NotebookRunSummary"
      },
      "description": "The results of the ListNotebookRuns action."
    },
    "nextToken": {
      "type": "string",
      "description": "When the number of notebook runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of notebook runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListNotebookRuns to list the next set of notebook runs."
    }
  },
  "$defs": {
    "NotebookRunSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The identifier of the notebook run."
        },
        "domainId": {
          "type": "string",
          "description": "The identifier of the Amazon SageMaker Unified Studio domain."
        },
        "owningProjectId": {
          "type": "string",
          "description": "The identifier of the project that owns the notebook run."
        },
        "notebookId": {
          "type": "string",
          "description": "The identifier of the notebook."
        },
        "scheduleId": {
          "type": "string",
          "description": "The identifier of the schedule associated with the notebook run."
        },
        "status": {
          "type": "string",
          "enum": [
            "QUEUED",
            "STARTING",
            "RUNNING",
            "STOPPING",
            "STOPPED",
            "SUCCEEDED",
            "FAILED"
          ],
          "description": "The status of the notebook run."
        },
        "triggerSource": {
          "$ref": "#/$defs/TriggerSource"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of when the notebook run was created."
        },
        "createdBy": {
          "type": "string",
          "description": "The identifier of the user who created the notebook run."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of when the notebook run was last updated."
        },
        "updatedBy": {
          "type": "string",
          "description": "The identifier of the user who last updated the notebook run."
        },
        "startedAt": {
          "type": "string",
          "description": "The timestamp of when the notebook run started executing."
        },
        "completedAt": {
          "type": "string",
          "description": "The timestamp of when the notebook run completed."
        }
      },
      "required": [
        "id",
        "domainId",
        "owningProjectId",
        "notebookId",
        "status"
      ]
    },
    "TriggerSource": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "MANUAL",
            "SCHEDULED",
            "WORKFLOW"
          ],
          "description": "The type of the trigger source. Valid values are MANUAL, SCHEDULED, and WORKFLOW."
        },
        "name": {
          "type": "string",
          "description": "The name of the trigger source."
        }
      }
    }
  }
}