{
  "gifting": {
    "id": "gift-campaign-example",
    "scope": {
      "batchId": "GIFT-120",
      "insertRevision": "insert-3",
      "destinationRevision": "destination-2",
      "checkoutRevision": "checkout-1",
      "deviceScope": "campaign-test-phone",
      "accountScope": "intended-recipient-account"
    },
    "commitment": {
      "quantity": 120,
      "nowMinute": 0,
      "handoffDeadlineMinute": 1440,
      "budgetMinor": 60000
    },
    "observations": [
      {
        "id": "OBS-DECODE",
        "checkId": "decode",
        "outcomeId": "unreadable",
        "scope": {
          "batchId": "GIFT-120",
          "insertRevision": "insert-3",
          "destinationRevision": "destination-2",
          "checkoutRevision": "checkout-1",
          "deviceScope": "campaign-test-phone",
          "accountScope": "intended-recipient-account"
        },
        "observedAtMinute": 0,
        "source": "Fictional rehearsal record",
        "recordedBy": "campaign-owner-1",
        "originalText": "The printed code cannot be decoded on the declared test phone."
      },
      {
        "id": "OBS-PROOF",
        "checkId": "proof",
        "outcomeId": "wrong-target",
        "scope": {
          "batchId": "GIFT-120",
          "insertRevision": "insert-3",
          "destinationRevision": "destination-2",
          "checkoutRevision": "checkout-1",
          "deviceScope": "campaign-test-phone",
          "accountScope": "intended-recipient-account"
        },
        "observedAtMinute": 0,
        "source": "Fictional rehearsal record",
        "recordedBy": "campaign-owner-1",
        "originalText": "The approved source artwork contains the wrong destination."
      },
      {
        "id": "OBS-CHECKOUT",
        "checkId": "checkout",
        "outcomeId": "usable",
        "scope": {
          "batchId": "GIFT-120",
          "insertRevision": "insert-3",
          "destinationRevision": "destination-2",
          "checkoutRevision": "checkout-1",
          "deviceScope": "campaign-test-phone",
          "accountScope": "intended-recipient-account"
        },
        "observedAtMinute": 0,
        "source": "Fictional rehearsal record",
        "recordedBy": "campaign-owner-1",
        "originalText": "The intended account can complete the scoped checkout rehearsal."
      }
    ],
    "work": {
      "actorId": "campaign-owner-1",
      "people": [
        {
          "id": "campaign-owner-1",
          "name": "Fictional campaign owner",
          "role": "campaign-owner"
        }
      ],
      "quotes": [
        {
          "packageId": "rehearse-unchanged",
          "quantity": 120,
          "repairMinutes": 1,
          "repairCostMinor": 0
        },
        {
          "packageId": "reprint",
          "quantity": 120,
          "repairMinutes": 10,
          "repairCostMinor": 10000
        },
        {
          "packageId": "repair-journey",
          "quantity": 120,
          "repairMinutes": 15,
          "repairCostMinor": 18000
        },
        {
          "packageId": "replace-and-repair",
          "quantity": 120,
          "repairMinutes": 25,
          "repairCostMinor": 30000
        },
        {
          "packageId": "external-replace-and-repair",
          "quantity": 120,
          "repairMinutes": 10,
          "repairCostMinor": 40000
        }
      ],
      "rehearsalMinutes": 10,
      "handoffMinutes": 5,
      "resources": [
        {
          "id": "production-team",
          "capacity": 1,
          "availableFromMinute": 0,
          "availableThroughMinute": 1440
        }
      ],
      "permissions": [
        {
          "id": "PERMISSION-rehearse-unchanged",
          "packageId": "rehearse-unchanged",
          "actorId": "campaign-owner-1",
          "scope": {
            "batchId": "GIFT-120",
            "insertRevision": "insert-3",
            "destinationRevision": "destination-2",
            "checkoutRevision": "checkout-1",
            "deviceScope": "campaign-test-phone",
            "accountScope": "intended-recipient-account"
          },
          "validFromMinute": 0,
          "validThroughMinute": 1440,
          "source": "Fictional recorded campaign authorization"
        },
        {
          "id": "PERMISSION-reprint",
          "packageId": "reprint",
          "actorId": "campaign-owner-1",
          "scope": {
            "batchId": "GIFT-120",
            "insertRevision": "insert-3",
            "destinationRevision": "destination-2",
            "checkoutRevision": "checkout-1",
            "deviceScope": "campaign-test-phone",
            "accountScope": "intended-recipient-account"
          },
          "validFromMinute": 0,
          "validThroughMinute": 1440,
          "source": "Fictional recorded campaign authorization"
        },
        {
          "id": "PERMISSION-repair-journey",
          "packageId": "repair-journey",
          "actorId": "campaign-owner-1",
          "scope": {
            "batchId": "GIFT-120",
            "insertRevision": "insert-3",
            "destinationRevision": "destination-2",
            "checkoutRevision": "checkout-1",
            "deviceScope": "campaign-test-phone",
            "accountScope": "intended-recipient-account"
          },
          "validFromMinute": 0,
          "validThroughMinute": 1440,
          "source": "Fictional recorded campaign authorization"
        },
        {
          "id": "PERMISSION-replace-and-repair",
          "packageId": "replace-and-repair",
          "actorId": "campaign-owner-1",
          "scope": {
            "batchId": "GIFT-120",
            "insertRevision": "insert-3",
            "destinationRevision": "destination-2",
            "checkoutRevision": "checkout-1",
            "deviceScope": "campaign-test-phone",
            "accountScope": "intended-recipient-account"
          },
          "validFromMinute": 0,
          "validThroughMinute": 1440,
          "source": "Fictional recorded campaign authorization"
        },
        {
          "id": "PERMISSION-external",
          "packageId": "external-replace-and-repair",
          "actorId": "campaign-owner-1",
          "scope": {
            "batchId": "GIFT-120",
            "insertRevision": "insert-3",
            "destinationRevision": "destination-2",
            "checkoutRevision": "checkout-1",
            "deviceScope": "campaign-test-phone",
            "accountScope": "intended-recipient-account"
          },
          "validFromMinute": 0,
          "validThroughMinute": 1440,
          "source": "Fictional recorded campaign authorization"
        }
      ],
      "confirmations": [
        {
          "id": "ARTICLE-BOOKING-1",
          "packageId": "external-replace-and-repair",
          "scope": {
            "batchId": "GIFT-120",
            "insertRevision": "insert-3",
            "destinationRevision": "destination-2",
            "checkoutRevision": "checkout-1",
            "deviceScope": "campaign-test-phone",
            "accountScope": "intended-recipient-account"
          },
          "confirmed": true,
          "validFromMinute": 0,
          "validThroughMinute": 1440,
          "recordedAtMinute": 0,
          "source": "Fictional written production booking ARTICLE-BOOKING-1",
          "recordedBy": "vendor-coordinator"
        }
      ]
    }
  }
}
