{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gmapsleadfinder-com/json-schema/gmapsleadfinder-com-job-response-schema.json",
  "title": "JobResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gmapsleadfinder-com-openapi.yaml#/components/schemas/JobResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "jobType": {
      "type": "string"
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "keywordCount": {
      "type": "integer"
    },
    "currentKeywordIndex": {
      "type": "integer"
    },
    "rowCount": {
      "type": "integer"
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "finishedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "files": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/JobFile"
      }
    },
    "creditsRemaining": {
      "type": "number"
    }
  },
  "$defs": {
    "JobFile": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "keyword": {
          "type": "string"
        },
        "position": {
          "type": "integer"
        },
        "status": {
          "type": "string"
        },
        "pageCount": {
          "type": "integer"
        },
        "rowCount": {
          "type": "integer"
        },
        "enrichStatus": {
          "type": "string"
        },
        "error": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}