{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/credo-ai/json-schema/credo-ai-entity-risk-classification-response-schema.json",
  "title": "EntityRiskClassificationResponse",
  "description": "A JSON-API document with a single [EntityRiskClassificationResource](#entityriskclassificationresource) resource",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/credo-ai-entities-api-openapi.yml#/components/schemas/EntityRiskClassificationResponse",
  "properties": {
    "data": {
      "$ref": "#/$defs/EntityRiskClassificationResource"
    },
    "included": {
      "description": "Included resources",
      "items": {
        "properties": {
          "id": {
            "description": "The JSON-API resource ID",
            "type": "string"
          },
          "type": {
            "description": "The JSON-API resource type",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "data"
  ],
  "type": "object",
  "$defs": {
    "EntityRiskClassificationResource": {
      "description": "",
      "properties": {
        "attributes": {
          "properties": {
            "calculated_risk_score": {
              "description": "",
              "type": "string"
            },
            "inserted_at": {
              "description": "",
              "type": "string"
            },
            "risk_classification_id": {
              "description": "",
              "type": "string"
            },
            "risk_classification_level": {
              "description": "",
              "type": "string"
            },
            "risk_classification_set_at": {
              "description": "",
              "type": "string"
            },
            "risk_classification_set_by": {
              "description": "",
              "type": "string"
            },
            "risk_classification_set_by_user_id": {
              "description": "",
              "type": "string"
            },
            "type": {
              "description": "",
              "type": "string"
            },
            "updated_at": {
              "description": "",
              "type": "string"
            }
          },
          "type": "object"
        },
        "id": {
          "description": "The JSON-API resource ID",
          "type": "string"
        },
        "relationships": {
          "properties": {},
          "type": "object"
        },
        "type": {
          "description": "The JSON-API resource type",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}