{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codepipeline/refs/heads/main/json-structure/amazon-codepipeline-stage-state-structure.json",
  "name": "StageState",
  "description": "Represents information about the state of the stage.",
  "type": "object",
  "properties": {
    "stageName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StageName"
        },
        {
          "description": "The name of the stage."
        }
      ]
    },
    "inboundExecution": {
      "$ref": "#/components/schemas/StageExecution"
    },
    "inboundTransitionState": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TransitionState"
        },
        {
          "description": "The state of the inbound transition, which is either enabled or disabled."
        }
      ]
    },
    "actionStates": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ActionStateList"
        },
        {
          "description": "The state of the stage."
        }
      ]
    },
    "latestExecution": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StageExecution"
        },
        {
          "description": "Information about the latest execution in the stage, including its ID and status."
        }
      ]
    }
  }
}