{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/source-code-api-task-locator-structure.json",
  "name": "TaskLocator",
  "description": "Locator for an asynchronous task",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the task",
      "example": "12345"
    },
    "links": {
      "type": "object",
      "description": "Related links for the task",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "status": "/cms/v3/source-code/extract/async/tasks/12345/status"
      }
    }
  },
  "required": [
    "id"
  ]
}