Worksome · Schema

Worksome Timesheet Registration

Payload format for submitting timesheet registrations to Worksome via the createCustomTimesheet GraphQL mutation using the 'default-json' schema. Accepts either a single object or an array of objects.

CompanyFreelancer Management SystemContingent WorkforceHuman ResourcesStaffingWorkforce CompliancePaymentsGraphQLWebhooksDenmark
View JSON Schema on GitHub

JSON Schema

worksome-timesheet-registration.json Raw ↑
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://docs.worksome.com/schemas/timesheet-registration.json",
    "title": "Worksome Timesheet Registration",
    "description": "Payload format for submitting timesheet registrations to Worksome via the createCustomTimesheet GraphQL mutation using the 'default-json' schema. Accepts either a single object or an array of objects.",
    "oneOf": [
        { "$ref": "#/$defs/registration" },
        {
            "type": "array",
            "items": { "$ref": "#/$defs/registration" }
        }
    ],
    "$defs": {
        "registration": {
            "type": "object",
            "required": ["hireId", "reportedDate", "hours", "externalId"],
            "properties": {
                "hireId": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Worksome Global ID of the hire. Obtain from the Worksome GraphQL API."
                },
                "reportedDate": {
                    "type": "string",
                    "format": "date",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Date of the registration in YYYY-MM-DD format."
                },
                "hours": {
                    "type": "number",
                    "minimum": 0,
                    "description": "Number of hours worked on the reported date."
                },
                "externalId": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Unique identifier from the external system. Used as the key for updates — sending the same externalId replaces the existing registration for that date."
                },
                "reference": {
                    "type": "string",
                    "description": "Free-text reference field (e.g., project code, cost centre, purchase order number)."
                },
                "isPayable": {
                    "type": "boolean",
                    "default": true,
                    "description": "Whether this registration is billable. Defaults to true."
                },
                "meta": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "Arbitrary key-value metadata to store with the registration."
                }
            },
            "additionalProperties": false
        }
    }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/worksome-timesheet-registration"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.