{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dumpstercontrols-io/json-schema/dumpstercontrols-io-junk-job-schema.json",
  "title": "JunkJob",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dumpstercontrols-io-openapi.json#/components/schemas/JunkJob",
  "type": "object",
  "properties": {
    "job_number": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "scheduled",
        "on_site",
        "loading",
        "to_landfill",
        "completed",
        "canceled"
      ]
    },
    "job_date": {
      "type": "string",
      "format": "date"
    },
    "time_window": {
      "type": "object",
      "properties": {
        "start": {
          "type": [
            "string",
            "null"
          ]
        },
        "end": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "address": {
      "type": "object",
      "properties": {
        "line1": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "type": [
            "string",
            "null"
          ]
        },
        "zip": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "price": {
      "type": [
        "number",
        "null"
      ],
      "description": "US dollars"
    },
    "payment_status": {
      "type": [
        "string",
        "null"
      ]
    },
    "load_fraction": {
      "type": "string"
    },
    "container_capacity_yd": {
      "type": [
        "number",
        "null"
      ]
    },
    "customer_ref": {
      "type": [
        "string",
        "null"
      ]
    },
    "completed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}