{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sewerai/main/json-schema/sewerai-project-task-schema.json",
  "title": "ProjectTask",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sewerai-project-tasks-api-openapi.yml#/components/schemas/ProjectTask",
  "required": [
    "task_type",
    "explicit_assignees"
  ],
  "type": "object",
  "properties": {
    "url": {
      "title": "Url",
      "type": "string",
      "format": "uri",
      "readOnly": true
    },
    "sid": {
      "title": "Sid",
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "task_type": {
      "title": "Task type",
      "type": "string",
      "maxLength": 128,
      "minLength": 1
    },
    "task_details": {
      "title": "Task details",
      "type": "object"
    },
    "task_priority": {
      "title": "Task priority",
      "type": "integer",
      "maximum": 2147483647,
      "minimum": -2147483648
    },
    "status": {
      "title": "Status",
      "type": "string",
      "readOnly": true
    },
    "project": {
      "title": "Project",
      "type": "string",
      "format": "uri",
      "readOnly": true
    },
    "project_name": {
      "title": "Project name",
      "type": "string",
      "readOnly": true,
      "minLength": 1
    },
    "explicit_assignees": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "uniqueItems": true
    },
    "instructions": {
      "title": "Instructions",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 1024
    },
    "created": {
      "title": "Created",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated": {
      "title": "Updated",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "created_by": {
      "title": "Created by",
      "type": "string",
      "format": "uri",
      "readOnly": true
    },
    "updated_by": {
      "title": "Updated by",
      "type": "string",
      "format": "uri",
      "readOnly": true
    }
  }
}