{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hostfully/json-schema/hostfully-jobs-api-response-wrapper-job-api3-1-dto-schema.json",
  "title": "JobsApiResponseWrapperJobApi3_1Dto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hostfully-jobs-api-openapi.yml#/components/schemas/JobsApiResponseWrapperJobApi3_1Dto",
  "type": "object",
  "properties": {
    "jobs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/JobApi3_1Dto"
      }
    },
    "_metadata": {
      "$ref": "#/$defs/Api3ResponseMetadata"
    }
  },
  "$defs": {
    "Api3ResponseMetadata": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "format": "int32"
        },
        "totalCount": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "JobApi3_1Dto": {
      "type": "object",
      "properties": {
        "uid": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "NEW",
            "SCHEDULED",
            "DONE",
            "CANCELLED"
          ]
        },
        "propertyUid": {
          "type": "string"
        },
        "serviceUid": {
          "type": "string"
        },
        "leadUid": {
          "type": "string"
        },
        "startZonedDateTime": {
          "type": "string",
          "format": "date-time"
        },
        "endZonedDateTime": {
          "type": "string",
          "format": "date-time"
        },
        "startLocalDateTime": {
          "type": "string"
        },
        "endLocalDateTime": {
          "type": "string"
        },
        "notes": {
          "type": "string"
        },
        "modified": {
          "type": "string"
        },
        "unitUid": {
          "type": "string"
        },
        "acceptedLocalDateTime": {
          "type": "string"
        },
        "statusUpdateUtcDateTime": {
          "type": "string"
        }
      }
    }
  }
}