{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aurinko/json-schema/aurinko-task-create-schema.json",
  "title": "TaskCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aurinko-tasks-api-openapi.yml#/components/schemas/TaskCreate",
  "type": "object",
  "properties": {
    "title": {
      "type": "string"
    },
    "parentId": {
      "type": "string"
    },
    "previousId": {
      "type": "string"
    },
    "notes": {
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/TaskStatus"
    },
    "importance": {
      "$ref": "#/$defs/TaskImportance"
    },
    "due": {
      "type": "string",
      "format": "date-time"
    },
    "startDateTime": {
      "type": "string",
      "format": "date-time"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "TaskImportance": {
      "type": "string",
      "enum": [
        "low",
        "normal",
        "high"
      ]
    },
    "TaskStatus": {
      "type": "string",
      "enum": [
        "notStarted",
        "inProgress",
        "completed",
        "waitingOnOthers",
        "deferred"
      ]
    }
  }
}