{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/credo-ai/json-schema/credo-ai-entity-risk-scenario-update-request-schema.json",
  "title": "EntityRiskScenarioUpdateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/credo-ai-entity-risk-scenarios-api-openapi.yml#/components/schemas/EntityRiskScenarioUpdateRequest",
  "properties": {
    "data": {
      "description": "",
      "properties": {
        "attributes": {
          "properties": {
            "description": {
              "description": "risk scenario description",
              "type": "string"
            },
            "inherent_risk_impact": {
              "description": "inherent risk impact(1-5)",
              "type": "integer"
            },
            "inherent_risk_likelihood": {
              "description": "inherent risk likelihood(1-5)",
              "type": "integer"
            },
            "name": {
              "description": "risk scenario name",
              "type": "string"
            },
            "residual_risk_impact": {
              "description": "residual risk impact(1-5)",
              "type": "integer"
            },
            "residual_risk_likelihood": {
              "description": "residual risk likelihood(1-5)",
              "type": "integer"
            },
            "risk_type_ids": {
              "description": "risk type ids",
              "type": "array"
            }
          },
          "type": "object"
        },
        "id": {
          "description": "The JSON-API resource ID",
          "type": "string"
        },
        "type": {
          "description": "The JSON-API resource type",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}