{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "represents a decision that an authorizer performed in the past",
  "description": "v2Decision schema from Aserto decision-logs API",
  "properties": {
    "annotations": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "id": {
      "type": "string"
    },
    "outcomes": {
      "additionalProperties": {
        "type": "boolean"
      },
      "type": "object"
    },
    "path": {
      "type": "string"
    },
    "policy": {
      "$ref": "#/components/schemas/v2DecisionPolicy"
    },
    "resource": {
      "type": "object"
    },
    "tenant_id": {
      "type": "string"
    },
    "timestamp": {
      "format": "date-time",
      "type": "string"
    },
    "user": {
      "$ref": "#/components/schemas/v2DecisionUser"
    }
  },
  "type": "object"
}