{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assignar/json-schema/assignar-tasks-schema.json",
  "title": "Tasks",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assignar-tasks-api-openapi.yml#/components/schemas/Tasks",
  "type": "array",
  "items": {
    "$ref": "#/$defs/Task"
  },
  "$defs": {
    "Task": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "readOnly": true
        },
        "name": {
          "type": "string"
        },
        "external_id": {
          "type": "string"
        },
        "active": {
          "type": "boolean"
        },
        "modified_by": {
          "type": "string",
          "readOnly": true
        },
        "modified_time": {
          "type": "string",
          "readOnly": true
        },
        "req_machines": {
          "type": "boolean"
        },
        "pay_level": {
          "type": "string"
        },
        "payroll_acc": {
          "type": "string"
        },
        "charge_code_id": {
          "type": "integer",
          "description": "See Invoices - Charge Code"
        },
        "supervisor": {
          "type": "boolean"
        },
        "integration_id": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "name"
      ]
    }
  }
}