{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/credo-ai/json-schema/credo-ai-tasks-response-schema.json",
  "title": "TasksResponse",
  "description": "A collection of [TaskResource](#taskresource)",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/credo-ai-entity-control-assignments-api-openapi.yml#/components/schemas/TasksResponse",
  "properties": {
    "data": {
      "description": "Content with [TaskResource](#taskresource) objects",
      "items": {
        "$ref": "#/$defs/TaskResource"
      },
      "type": "array"
    }
  },
  "required": [
    "data"
  ],
  "type": "object",
  "$defs": {
    "TaskResource": {
      "description": "",
      "properties": {
        "attributes": {
          "properties": {
            "assigner_id": {
              "description": "",
              "type": "string"
            },
            "completed_at": {
              "description": "",
              "type": "string"
            },
            "due_date": {
              "description": "",
              "type": "string"
            },
            "entity_id": {
              "description": "",
              "type": "string"
            },
            "entity_questionnaire_section_id": {
              "description": "",
              "type": "string"
            },
            "entity_review_id": {
              "description": "",
              "type": "string"
            },
            "inserted_at": {
              "description": "",
              "type": "string"
            },
            "model_id": {
              "description": "",
              "type": "string"
            },
            "status": {
              "description": "",
              "type": "string"
            },
            "sub_status": {
              "description": "",
              "type": "string"
            },
            "team_ids": {
              "description": "",
              "type": "string"
            },
            "timezone": {
              "description": "",
              "type": "string"
            },
            "type": {
              "description": "",
              "type": "string"
            },
            "updated_at": {
              "description": "",
              "type": "string"
            },
            "use_case_control_id": {
              "description": "",
              "type": "string"
            },
            "use_case_id": {
              "description": "",
              "type": "string"
            },
            "use_case_review_id": {
              "description": "",
              "type": "string"
            },
            "user_ids": {
              "description": "",
              "type": "string"
            },
            "vendor_id": {
              "description": "",
              "type": "string"
            }
          },
          "type": "object"
        },
        "id": {
          "description": "The JSON-API resource ID",
          "type": "string"
        },
        "relationships": {
          "properties": {
            "assigner": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related assigner resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related assigner resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "entity_questionnaire_section": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related entity_questionnaire_section resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related entity_questionnaire_section resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "model": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related model resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related model resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "teams": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related teams resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related teams resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "use_case": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related use_case resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related use_case resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "use_case_control": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related use_case_control resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related use_case_control resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "use_case_review": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related use_case_review resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related use_case_review resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "users": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related users resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related users resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "vendor": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related vendor resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related vendor resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "type": {
          "description": "The JSON-API resource type",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}