{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fareeqy-com/json-schema/fareeqy-com-task-list-schema.json",
  "title": "TaskList",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fareeqy-com-openapi.yaml#/components/schemas/TaskList",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The task-list ref. A slug is still accepted anywhere this is passed back."
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Absolute address of the page a person opens in فريقي."
    },
    "title": {
      "type": "string"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ],
      "description": "Plain-text rendering of the rich-text notes."
    },
    "priority": {
      "$ref": "#/$defs/Priority"
    },
    "completed": {
      "type": "boolean"
    },
    "completed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "tasks_count": {
      "type": "integer"
    },
    "completed_tasks_count": {
      "type": "integer"
    },
    "project_slug": {
      "type": "string",
      "description": "The project ref. Named _slug for compatibility."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "Priority": {
      "type": [
        "string",
        "null"
      ],
      "description": "Task-list priority.",
      "enum": [
        "low",
        "medium",
        "high",
        "urgent",
        null
      ]
    }
  }
}