{
  "schema": "kapi.works.bundle/1",
  "files": {
    "kapi-works.json": {
      "$schema": "https://docs.kapiworks.com/schemas/package-2.json",
      "schema": "kapi.works.package/2",
      "sdk": "2.0",
      "id": "walkthrough",
      "kind": "course",
      "courseType": "walkthrough",
      "title": "course.title",
      "summary": "course.summary",
      "languages": {
        "default": "en-GB",
        "files": {
          "en-GB": "words/en-GB.json"
        }
      },
      "view": {
        "player": "course",
        "line": "1.0"
      },
      "context": {
        "company.name": "required",
        "contacts.people-team": "optional"
      },
      "media": [
        {
          "id": "book-leave-form",
          "file": "media/book-leave-form.png",
          "kind": "image",
          "alt": "common.alt.book-leave-form"
        },
        {
          "id": "my-leave-list",
          "file": "media/my-leave-list.png",
          "kind": "image",
          "alt": "common.alt.my-leave-list"
        }
      ],
      "sources": [
        {
          "title": "Sample guide: booking leave in the leave portal",
          "sha256": "sha256:cbc75322a0c115bb59b0fea6d02ed82af63d05aa394118052fb807de35ebc134"
        }
      ]
    },
    "content.json": {
      "$schema": "https://docs.kapiworks.com/schemas/content-2.json",
      "schema": "kapi.works.content/2",
      "lessons": [
        {
          "id": "book-leave",
          "title": "book-leave.title",
          "minutes": 4,
          "pages": [
            {
              "id": "book-leave-steps",
              "title": "book-leave-steps.title",
              "blocks": [
                {
                  "type": "text",
                  "text": "book-leave-steps.lead",
                  "style": "lead"
                },
                {
                  "type": "steps",
                  "items": [
                    "book-leave-steps.step-1",
                    "book-leave-steps.step-2",
                    "book-leave-steps.step-3",
                    "book-leave-steps.step-4",
                    "book-leave-steps.step-5"
                  ]
                },
                {
                  "type": "image",
                  "media": "book-leave-form"
                },
                {
                  "type": "callout",
                  "tone": "note",
                  "text": "book-leave-steps.try"
                }
              ]
            },
            {
              "id": "book-leave-check",
              "title": "book-leave-check.title",
              "blocks": [
                {
                  "type": "question",
                  "question": "book-leave-order"
                },
                {
                  "type": "text",
                  "text": "book-leave-check.after"
                }
              ]
            }
          ]
        },
        {
          "id": "cancel-leave",
          "title": "cancel-leave.title",
          "minutes": 3,
          "pages": [
            {
              "id": "cancel-leave-steps",
              "title": "cancel-leave-steps.title",
              "blocks": [
                {
                  "type": "text",
                  "text": "cancel-leave-steps.lead",
                  "style": "lead"
                },
                {
                  "type": "steps",
                  "items": [
                    "cancel-leave-steps.step-1",
                    "cancel-leave-steps.step-2",
                    "cancel-leave-steps.step-3"
                  ]
                },
                {
                  "type": "image",
                  "media": "my-leave-list"
                },
                {
                  "type": "callout",
                  "tone": "note",
                  "text": "cancel-leave-steps.try"
                }
              ]
            },
            {
              "id": "cancel-leave-check",
              "title": "cancel-leave-check.title",
              "blocks": [
                {
                  "type": "question",
                  "question": "cancel-close"
                },
                {
                  "type": "contact",
                  "contact": "people-team"
                }
              ]
            }
          ]
        }
      ]
    },
    "questions.json": {
      "$schema": "https://docs.kapiworks.com/schemas/questions-2.json",
      "schema": "kapi.works.questions/2",
      "questions": [
        {
          "id": "book-leave-order",
          "kind": "order",
          "prompt": "book-leave-order.prompt",
          "situation": "book-leave-order.situation",
          "explanation": "book-leave-order.why",
          "items": [
            {
              "id": "send",
              "text": "book-leave-order.send"
            },
            {
              "id": "dates",
              "text": "book-leave-order.dates"
            },
            {
              "id": "open",
              "text": "book-leave-order.open"
            },
            {
              "id": "check",
              "text": "book-leave-order.check"
            }
          ],
          "answer": [
            "open",
            "dates",
            "check",
            "send"
          ]
        },
        {
          "id": "cancel-close",
          "kind": "choice",
          "prompt": "cancel-close.prompt",
          "situation": "cancel-close.situation",
          "explanation": "cancel-close.why",
          "answer": "manager",
          "choices": [
            {
              "id": "portal",
              "text": "cancel-close.portal",
              "feedback": "cancel-close.portal.why"
            },
            {
              "id": "manager",
              "text": "cancel-close.manager",
              "feedback": "cancel-close.manager.why"
            }
          ]
        }
      ]
    },
    "support.json": {
      "schema": "kapi.works.support/1",
      "items": [
        {
          "for": "book-leave-order",
          "source": "sha256:cbc75322a0c115bb59b0fea6d02ed82af63d05aa394118052fb807de35ebc134",
          "quote": "1. Open the leave portal and choose Book leave. 2. Pick your first day and your last day. 3. Check the number of days the portal works out. 4. Add a note for your manager if you want to. 5. Choose Send request."
        },
        {
          "for": "cancel-close",
          "source": "sha256:cbc75322a0c115bb59b0fea6d02ed82af63d05aa394118052fb807de35ebc134",
          "quote": "You can cancel leave yourself in the portal until 2 days before it starts. Closer to the day, ask your manager to cancel it for you."
        }
      ]
    },
    "words/en-GB.json": {
      "$schema": "https://docs.kapiworks.com/schemas/words-1.json",
      "course.title": "Booking leave in the leave portal",
      "course.summary": "How to ask for leave at {company.name}, and how to cancel it, step by step.",
      "course.closing": "You've finished this walkthrough.",
      "common.alt.book-leave-form": "The Book leave form in the leave portal: first day 8 June, last day 10 June, 3 days, a note box and the Send request button, marked 1 to 5.",
      "common.alt.my-leave-list": "The My leave page in the leave portal: a request for 8 June to 10 June, approved, with its Cancel request button, marked 1 to 3.",
      "common.contact-missing.people-team": "Ask your manager who looks after leave.",
      "book-leave.title": "Asking for leave",
      "book-leave-steps.title": "Book your leave",
      "book-leave-steps.lead": "You ask for leave in the leave portal. Your manager sees your request straight away.",
      "book-leave-steps.step-1": "Open the leave portal and choose **Book leave**.",
      "book-leave-steps.step-2": "Pick your first day and your last day.",
      "book-leave-steps.step-3": "Check the number of days the portal works out.",
      "book-leave-steps.step-4": "Add a note for your manager if you want to.",
      "book-leave-steps.step-5": "Choose **Send request**.",
      "book-leave-steps.try": "**Try it now:** open the leave portal and find **Book leave**. You don't need to send anything.",
      "book-leave-check.title": "Check your steps",
      "book-leave-check.after": "Your manager answers in the portal, and you get an email when they do.",
      "cancel-leave.title": "Cancelling leave",
      "cancel-leave-steps.title": "Cancel a request",
      "cancel-leave-steps.lead": "Plans change. You can cancel leave yourself until 2 days before it starts.",
      "cancel-leave-steps.step-1": "Open the leave portal and choose **My leave**.",
      "cancel-leave-steps.step-2": "Find the request you want to cancel.",
      "cancel-leave-steps.step-3": "Choose **Cancel request**, then **Yes, cancel it**.",
      "cancel-leave-steps.try": "**Try it now:** open **My leave** and find your next request. Don't cancel it.",
      "cancel-leave-check.title": "Close to the day",
      "book-leave-order.situation": "You want three days off in June.",
      "book-leave-order.prompt": "Put the steps in order.",
      "book-leave-order.why": "You open the form, pick your dates and check the days before you send the request.",
      "book-leave-order.send": "Choose Send request",
      "book-leave-order.dates": "Pick your first and last day",
      "book-leave-order.open": "Open the portal and choose Book leave",
      "book-leave-order.check": "Check the number of days",
      "cancel-close.situation": "Your leave starts tomorrow, and your plans have changed.",
      "cancel-close.prompt": "How do you cancel it?",
      "cancel-close.why": "You can cancel in the portal only until 2 days before your leave. After that, your manager does it.",
      "cancel-close.manager": "Ask your manager to cancel it for you",
      "cancel-close.manager.why": "Your manager can still cancel it.",
      "cancel-close.portal": "Choose Cancel request in My leave",
      "cancel-close.portal.why": "The portal lets you cancel only until 2 days before your leave starts."
    }
  }
}