{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/fieldwire/main/json-schema/fieldwire-task-schema.json", "title": "Fieldwire Task", "description": "A construction task in Fieldwire — punch list item, RFI, inspection, or work assignment — including its custom attributes, status, assignment, and location on a floorplan.", "type": "object", "required": ["id", "project_id", "name", "created_at"], "properties": { "id": { "type": "integer", "format": "int64" }, "project_id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "description": { "type": ["string", "null"] }, "status_id": { "type": ["integer", "null"], "format": "int64" }, "priority": { "type": ["integer", "null"], "minimum": 0, "maximum": 3 }, "category": { "type": ["string", "null"] }, "floorplan_id": { "type": ["integer", "null"], "format": "int64" }, "location_id": { "type": ["integer", "null"], "format": "int64" }, "team_id": { "type": ["integer", "null"], "format": "int64" }, "owner_user_id": { "type": ["integer", "null"], "format": "int64" }, "creator_user_id": { "type": ["integer", "null"], "format": "int64" }, "due_at": { "type": ["string", "null"], "format": "date-time" }, "completed_at": { "type": ["string", "null"], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": ["string", "null"], "format": "date-time" }, "custom_attributes": { "type": ["object", "null"], "additionalProperties": true, "description": "Customer-defined task attributes bound to data types in the account." }, "check_items": { "type": "array", "maxItems": 500, "items": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "is_completed": { "type": "boolean" }, "position": { "type": "number" }, "completed_at": { "type": ["string", "null"], "format": "date-time" } } } } } }