{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-sitewise/json-schema/amazon-iot-sitewise-describe-action-response-schema.json",
  "title": "DescribeActionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-sitewise-actions-api-openapi.yml#/components/schemas/DescribeActionResponse",
  "type": "object",
  "properties": {
    "actionId": {
      "type": "string",
      "description": "The ID of the action."
    },
    "targetResource": {
      "$ref": "#/$defs/TargetResource"
    },
    "actionDefinitionId": {
      "type": "string",
      "description": "The ID of the action definition."
    },
    "actionPayload": {
      "$ref": "#/$defs/ActionPayload"
    },
    "executionTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time the action was executed."
    },
    "resolveTo": {
      "$ref": "#/$defs/ResolveTo"
    }
  },
  "required": [
    "actionId",
    "targetResource",
    "actionDefinitionId",
    "actionPayload",
    "executionTime"
  ],
  "$defs": {
    "ActionPayload": {
      "type": "object",
      "properties": {
        "stringValue": {
          "type": "string",
          "description": "The payload of the action in a JSON string."
        }
      },
      "required": [
        "stringValue"
      ]
    },
    "ResolveTo": {
      "type": "object",
      "properties": {
        "assetId": {
          "type": "string",
          "description": "The ID of the asset that the resource resolves to."
        }
      },
      "required": [
        "assetId"
      ]
    },
    "TargetResource": {
      "type": "object",
      "properties": {
        "assetId": {
          "type": "string",
          "description": "The ID of the asset, in UUID format."
        },
        "computationModelId": {
          "type": "string",
          "description": "The ID of the computation model."
        }
      }
    }
  }
}