{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/axuall/json-schema/axuall-paginated-results-schema-task-set-schema-schema.json",
  "title": "PaginatedResultsSchema[TaskSetSchema]",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/axuall-tasks-api-openapi.yml#/components/schemas/PaginatedResultsSchema_TaskSetSchema_",
  "properties": {
    "total_results": {
      "type": "integer",
      "title": "Total Results",
      "description": "The total number of records available"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/TaskSetSchema"
      },
      "type": "array",
      "title": "Results",
      "description": "The list of records returned by the search criteria"
    }
  },
  "type": "object",
  "required": [
    "total_results",
    "results"
  ],
  "$defs": {
    "RelatedTaskSchema": {
      "properties": {
        "task_id": {
          "type": "string",
          "format": "uuid",
          "title": "Task Id"
        },
        "task_name": {
          "type": "string",
          "title": "Task Name"
        }
      },
      "type": "object",
      "required": [
        "task_id",
        "task_name"
      ],
      "title": "RelatedTaskSchema"
    },
    "TaskSetSchema": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "tasks": {
          "items": {
            "$ref": "#/$defs/RelatedTaskSchema"
          },
          "type": "array",
          "title": "Tasks"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name",
        "tasks"
      ],
      "title": "TaskSetSchema"
    }
  }
}