{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CriteriaEvaluationRelationResult",
  "title": "CriteriaEvaluationRelationResult",
  "type": "object",
  "properties": {
    "is_passing": {
      "description": "Whether or not the relation has passed the criteria evaluation.",
      "type": "boolean"
    },
    "relation": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ]
    },
    "details": {
      "$ref": "#/components/schemas/CriteriaEvaluationResultDetails"
    }
  },
  "required": [
    "is_passing",
    "relation",
    "details"
  ]
}