{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/proside-io/json-schema/proside-io-caddie-assignment-output-schema.json",
  "title": "CaddieAssignmentOutput",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/proside-io-openapi.json#/components/schemas/CaddieAssignmentOutput",
  "properties": {
    "assignment_id": {
      "type": "string",
      "format": "uuid",
      "title": "Assignment Id"
    },
    "organization_id": {
      "type": "string",
      "format": "uuid",
      "title": "Organization Id"
    },
    "facility_id": {
      "type": "string",
      "format": "uuid",
      "title": "Facility Id"
    },
    "reservation_id": {
      "type": "string",
      "format": "uuid",
      "title": "Reservation Id"
    },
    "program_version_id": {
      "type": "string",
      "format": "uuid",
      "title": "Program Version Id"
    },
    "caddie_profile_id": {
      "type": "string",
      "format": "uuid",
      "title": "Caddie Profile Id"
    },
    "service_type": {
      "type": "string",
      "title": "Service Type"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "group_number": {
      "type": "integer",
      "title": "Group Number"
    },
    "bag_count": {
      "type": "integer",
      "title": "Bag Count"
    },
    "cart_count": {
      "type": "integer",
      "title": "Cart Count"
    },
    "local_date": {
      "type": "string",
      "format": "date",
      "title": "Local Date"
    },
    "starts_at_local": {
      "type": "string",
      "format": "date-time",
      "title": "Starts At Local"
    },
    "ends_at_local": {
      "type": "string",
      "format": "date-time",
      "title": "Ends At Local"
    },
    "fee_minor": {
      "type": "integer",
      "title": "Fee Minor"
    },
    "currency": {
      "type": "string",
      "title": "Currency"
    },
    "fee_snapshot_version": {
      "type": "integer",
      "title": "Fee Snapshot Version"
    },
    "fee_snapshot": {
      "additionalProperties": true,
      "type": "object",
      "title": "Fee Snapshot"
    },
    "fee_policy_version_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fee Policy Version Id"
    },
    "fee_policy_snapshot": {
      "additionalProperties": true,
      "type": "object",
      "title": "Fee Policy Snapshot"
    },
    "fee_debtor_membership_account_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fee Debtor Membership Account Id"
    },
    "fee_intent_status": {
      "type": "string",
      "title": "Fee Intent Status"
    },
    "finance_transaction_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finance Transaction Id"
    },
    "finance_reversal_transaction_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finance Reversal Transaction Id"
    },
    "fee_posting_error_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fee Posting Error Code"
    },
    "fee_posting_error_detail": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fee Posting Error Detail"
    },
    "fee_posting_requested_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fee Posting Requested At"
    },
    "checked_in_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Checked In At"
    },
    "completed_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Completed At"
    },
    "version": {
      "type": "integer",
      "title": "Version"
    }
  },
  "type": "object",
  "required": [
    "assignment_id",
    "organization_id",
    "facility_id",
    "reservation_id",
    "program_version_id",
    "caddie_profile_id",
    "service_type",
    "status",
    "group_number",
    "bag_count",
    "cart_count",
    "local_date",
    "starts_at_local",
    "ends_at_local",
    "fee_minor",
    "currency",
    "fee_snapshot_version",
    "fee_snapshot",
    "fee_policy_version_id",
    "fee_policy_snapshot",
    "fee_debtor_membership_account_id",
    "fee_intent_status",
    "finance_transaction_id",
    "finance_reversal_transaction_id",
    "fee_posting_error_code",
    "fee_posting_error_detail",
    "fee_posting_requested_at",
    "checked_in_at",
    "completed_at",
    "version"
  ]
}