{
  "name": "Watership DITA content model",
  "version": "0.1.0",
  "license": "CC-BY-4.0",
  "source": "dita/content-model.ditamap",
  "sourceGlob": "dita/**/*.{dita,ditamap}",
  "sourceFiles": [
    "dita/content-model.ditamap",
    "dita/examples/book-a-study-room.dita",
    "dita/examples/booking-statuses.dita",
    "dita/examples/free-room-shows-booked.dita",
    "dita/examples/hold.dita",
    "dita/examples/how-holds-work.dita",
    "dita/examples/room-schedule.dita",
    "dita/examples/set-up-a-room.dita",
    "dita/family.ditamap",
    "dita/keys.ditamap",
    "dita/rules.ditamap",
    "dita/topics/choosing-a-type.dita",
    "dita/topics/diataxis-comparison.dita",
    "dita/topics/element-reference.dita",
    "dita/topics/examples.dita",
    "dita/topics/linking.dita",
    "dita/topics/overview.dita",
    "dita/topics/specialization.dita",
    "dita/topics/types.dita",
    "dita/types/type-concept.dita",
    "dita/types/type-glossary-entry.dita",
    "dita/types/type-interface-guide.dita",
    "dita/types/type-reference.dita",
    "dita/types/type-task.dita",
    "dita/types/type-troubleshooting.dita",
    "dita/types/type-tutorial.dita"
  ],
  "sourceHash": "3a873faecf60a81e529cfc51f9bde68d1f1747f7ce32337ba9b25e0740296b21",
  "types": [
    {
      "id": "concept",
      "name": "Concept",
      "group": "core",
      "purpose": "Explains an idea, how something works, or why. The reader wants to understand.",
      "base": "topic",
      "ditaElement": "concept",
      "specialization": null,
      "requiredParts": [
        {
          "name": "Title",
          "element": "title",
          "description": "A noun phrase naming the idea, or “How” and what works: “How holds work”."
        },
        {
          "name": "Purpose",
          "element": "shortdesc",
          "description": "The idea in one or two sentences, so a reader who stops there still has it."
        },
        {
          "name": "Explanation",
          "element": "conbody",
          "description": "The explanation: paragraphs, examples, diagrams, and sections with titles."
        }
      ],
      "rules": [
        {
          "id": "type-concept-define-first",
          "url": "https://watership.ca/style-guide/documentation-types/#type-concept-define-first"
        },
        {
          "id": "type-concept-one-idea",
          "url": "https://watership.ca/style-guide/documentation-types/#type-concept-one-idea"
        },
        {
          "id": "type-concept-why",
          "url": "https://watership.ca/style-guide/documentation-types/#type-concept-why"
        },
        {
          "id": "type-concept-no-steps",
          "url": "https://watership.ca/style-guide/documentation-types/#type-concept-no-steps"
        },
        {
          "id": "type-concept-stand-alone",
          "url": "https://watership.ca/style-guide/documentation-types/#type-concept-stand-alone"
        }
      ],
      "example": {
        "id": "how-holds-work",
        "title": "How holds and check-in work",
        "source": "dita/examples/how-holds-work.dita"
      },
      "source": "dita/types/type-concept.dita"
    },
    {
      "id": "task",
      "name": "Task",
      "group": "core",
      "purpose": "Gives the steps to complete one specific goal. The reader knows what they want to do.",
      "base": "topic",
      "ditaElement": "task",
      "specialization": null,
      "requiredParts": [
        {
          "name": "Title",
          "element": "title",
          "description": "The goal, starting with a verb: “Book a study room”."
        },
        {
          "name": "Purpose",
          "element": "shortdesc",
          "description": "What the task achieves, and when a reader would do it."
        },
        {
          "name": "Steps",
          "element": "steps",
          "description": "The numbered steps, in the order the reader does them."
        },
        {
          "name": "Action",
          "element": "cmd",
          "description": "In each step, the one action the reader takes."
        }
      ],
      "rules": [
        {
          "id": "type-task-one-goal",
          "url": "https://watership.ca/style-guide/documentation-types/#type-task-one-goal"
        },
        {
          "id": "proc-one-action-per-step",
          "url": "https://watership.ca/style-guide/procedures/#proc-one-action-per-step"
        },
        {
          "id": "proc-condition-and-optional",
          "url": "https://watership.ca/style-guide/procedures/#proc-condition-and-optional"
        },
        {
          "id": "ui-bold-labels",
          "url": "https://watership.ca/style-guide/ui-elements/#ui-bold-labels"
        },
        {
          "id": "type-task-link-context",
          "url": "https://watership.ca/style-guide/documentation-types/#type-task-link-context"
        },
        {
          "id": "proc-result-in-step",
          "url": "https://watership.ca/style-guide/procedures/#proc-result-in-step"
        },
        {
          "id": "proc-verify-end",
          "url": "https://watership.ca/style-guide/procedures/#proc-verify-end"
        }
      ],
      "example": {
        "id": "book-a-study-room",
        "title": "Book a study room",
        "source": "dita/examples/book-a-study-room.dita"
      },
      "source": "dita/types/type-task.dita"
    },
    {
      "id": "reference",
      "name": "Reference",
      "group": "core",
      "purpose": "Holds facts for lookup, organized like the thing it describes: an API, a set of options, error codes. It’s austere.",
      "base": "topic",
      "ditaElement": "reference",
      "specialization": null,
      "requiredParts": [
        {
          "name": "Title",
          "element": "title",
          "description": "The name of the thing described: “Booking statuses”."
        },
        {
          "name": "Purpose",
          "element": "shortdesc",
          "description": "What the reference covers, in one sentence."
        },
        {
          "name": "Entries",
          "element": "refbody",
          "description": "The facts, as tables, property lists, or titled sections."
        }
      ],
      "rules": [
        {
          "id": "type-ref-mirror-thing",
          "url": "https://watership.ca/style-guide/documentation-types/#type-ref-mirror-thing"
        },
        {
          "id": "type-ref-same-shape",
          "url": "https://watership.ca/style-guide/documentation-types/#type-ref-same-shape"
        },
        {
          "id": "type-ref-austere",
          "url": "https://watership.ca/style-guide/documentation-types/#type-ref-austere"
        },
        {
          "id": "type-ref-complete",
          "url": "https://watership.ca/style-guide/documentation-types/#type-ref-complete"
        }
      ],
      "example": {
        "id": "booking-statuses",
        "title": "Booking statuses",
        "source": "dita/examples/booking-statuses.dita"
      },
      "source": "dita/types/type-reference.dita"
    },
    {
      "id": "interface-guide",
      "name": "Interface guide",
      "group": "core",
      "purpose": "Describes one screen or panel: what is on it and what each element does. It’s a specialization of reference.",
      "base": "reference",
      "ditaElement": "interfaceGuide",
      "specialization": {
        "ancestry": [
          "topic",
          "reference",
          "interfaceGuide"
        ],
        "doctype": "-//WATERSHIP//DTD DITA Interface Guide//EN",
        "elements": [
          {
            "name": "interfaceGuide",
            "class": "- topic/topic reference/reference interfaceGuide/interfaceGuide"
          },
          {
            "name": "screenName",
            "class": "- topic/title reference/title interfaceGuide/screenName"
          },
          {
            "name": "screenPurpose",
            "class": "- topic/shortdesc reference/shortdesc interfaceGuide/screenPurpose"
          },
          {
            "name": "igBody",
            "class": "- topic/body reference/refbody interfaceGuide/igBody"
          },
          {
            "name": "screenAccess",
            "class": "- topic/section reference/section interfaceGuide/screenAccess"
          },
          {
            "name": "screenRegion",
            "class": "- topic/section reference/section interfaceGuide/screenRegion"
          },
          {
            "name": "uiElements",
            "class": "- topic/dl reference/dl interfaceGuide/uiElements"
          },
          {
            "name": "uiElement",
            "class": "- topic/dlentry reference/dlentry interfaceGuide/uiElement"
          },
          {
            "name": "uiLabel",
            "class": "- topic/dt reference/dt interfaceGuide/uiLabel"
          },
          {
            "name": "uiAction",
            "class": "- topic/dd reference/dd interfaceGuide/uiAction"
          },
          {
            "name": "uiDefault",
            "class": "- topic/dd reference/dd interfaceGuide/uiDefault"
          },
          {
            "name": "uiEffect",
            "class": "- topic/dd reference/dd interfaceGuide/uiEffect"
          },
          {
            "name": "uiPermissions",
            "class": "- topic/dd reference/dd interfaceGuide/uiPermissions"
          },
          {
            "name": "relatedTasks",
            "class": "- topic/section reference/section interfaceGuide/relatedTasks"
          }
        ]
      },
      "requiredParts": [
        {
          "name": "Screen name",
          "element": "screenName",
          "description": "The name of the screen exactly as the product shows it."
        },
        {
          "name": "Purpose",
          "element": "screenPurpose",
          "description": "A first sentence that says what the screen is for and how to get there."
        },
        {
          "name": "Region",
          "element": "screenRegion",
          "description": "One region of the screen, titled, in the order the screen reads."
        },
        {
          "name": "Element",
          "element": "uiElement",
          "description": "One element in a region, in the order the region reads."
        },
        {
          "name": "Label",
          "element": "uiLabel",
          "description": "The element’s label exactly as shown, capitals and punctuation included."
        },
        {
          "name": "What it does",
          "element": "uiAction",
          "description": "What the element does or shows."
        },
        {
          "name": "Related tasks",
          "element": "relatedTasks",
          "description": "Links to the tasks that use the screen."
        }
      ],
      "rules": [
        {
          "id": "type-ui-one-screen",
          "url": "https://watership.ca/style-guide/documentation-types/#type-ui-one-screen"
        },
        {
          "id": "type-ui-exact-name",
          "url": "https://watership.ca/style-guide/documentation-types/#type-ui-exact-name"
        },
        {
          "id": "type-ui-purpose-and-path",
          "url": "https://watership.ca/style-guide/documentation-types/#type-ui-purpose-and-path"
        },
        {
          "id": "type-ui-screen-order",
          "url": "https://watership.ca/style-guide/documentation-types/#type-ui-screen-order"
        },
        {
          "id": "type-ui-element-entry",
          "url": "https://watership.ca/style-guide/documentation-types/#type-ui-element-entry"
        },
        {
          "id": "type-ui-link-tasks",
          "url": "https://watership.ca/style-guide/documentation-types/#type-ui-link-tasks"
        }
      ],
      "example": {
        "id": "room-schedule",
        "title": "Room schedule",
        "source": "dita/examples/room-schedule.dita"
      },
      "source": "dita/types/type-interface-guide.dita"
    },
    {
      "id": "tutorial",
      "name": "Tutorial",
      "group": "core",
      "purpose": "A guided lesson in which the learner does something real and succeeds. It’s a specialization of task.",
      "base": "task",
      "ditaElement": "tutorial",
      "specialization": {
        "ancestry": [
          "topic",
          "task",
          "tutorial"
        ],
        "doctype": "-//WATERSHIP//DTD DITA Tutorial//EN",
        "elements": [
          {
            "name": "tutorial",
            "class": "- topic/topic task/task tutorial/tutorial"
          },
          {
            "name": "tutorialBody",
            "class": "- topic/body task/taskbody tutorial/tutorialBody"
          },
          {
            "name": "outcome",
            "class": "- topic/section task/context tutorial/outcome"
          },
          {
            "name": "prerequisites",
            "class": "- topic/section task/prereq tutorial/prerequisites"
          },
          {
            "name": "lessonSteps",
            "class": "- topic/ol task/steps tutorial/lessonSteps"
          },
          {
            "name": "lessonStep",
            "class": "- topic/li task/step tutorial/lessonStep"
          },
          {
            "name": "visibleResult",
            "class": "- topic/itemgroup task/stepresult tutorial/visibleResult"
          },
          {
            "name": "whatYouBuilt",
            "class": "- topic/section task/result tutorial/whatYouBuilt"
          },
          {
            "name": "nextSteps",
            "class": "- topic/section task/postreq tutorial/nextSteps"
          }
        ]
      },
      "requiredParts": [
        {
          "name": "Title",
          "element": "title",
          "description": "What the learner will build, starting with a verb."
        },
        {
          "name": "Purpose",
          "element": "shortdesc",
          "description": "One sentence on what the learner will build and learn."
        },
        {
          "name": "Outcome",
          "element": "outcome",
          "description": "What the learner will have at the end, concrete enough that they can tell when they’re done, and how long it takes."
        },
        {
          "name": "Steps",
          "element": "lessonSteps",
          "description": "The numbered steps, one path, no choices."
        },
        {
          "name": "Action",
          "element": "cmd",
          "description": "In each step, the one action the learner takes."
        },
        {
          "name": "Visible result",
          "element": "visibleResult",
          "description": "In each step, what the learner sees when the step has worked."
        },
        {
          "name": "What you built",
          "element": "whatYouBuilt",
          "description": "A close that names what the learner made and what it showed them."
        }
      ],
      "rules": [
        {
          "id": "type-tut-real-result",
          "url": "https://watership.ca/style-guide/documentation-types/#type-tut-real-result"
        },
        {
          "id": "type-tut-visible-result",
          "url": "https://watership.ca/style-guide/documentation-types/#type-tut-visible-result"
        },
        {
          "id": "type-tut-minimal-explanation",
          "url": "https://watership.ca/style-guide/documentation-types/#type-tut-minimal-explanation"
        },
        {
          "id": "type-tut-one-path",
          "url": "https://watership.ca/style-guide/documentation-types/#type-tut-one-path"
        },
        {
          "id": "type-tut-tested",
          "url": "https://watership.ca/style-guide/documentation-types/#type-tut-tested"
        },
        {
          "id": "type-tut-name-what-you-built",
          "url": "https://watership.ca/style-guide/documentation-types/#type-tut-name-what-you-built"
        }
      ],
      "example": {
        "id": "set-up-a-room",
        "title": "Set up a room and take a booking",
        "source": "dita/examples/set-up-a-room.dita"
      },
      "source": "dita/types/type-tutorial.dita"
    },
    {
      "id": "glossary-entry",
      "name": "Glossary entry",
      "group": "supporting",
      "purpose": "Defines one term as the product or organization uses it. It’s a supporting type, inherited from DITA.",
      "base": "concept",
      "ditaElement": "glossentry",
      "specialization": null,
      "requiredParts": [
        {
          "name": "Term",
          "element": "glossterm",
          "description": "The term, in lowercase unless it’s a proper noun."
        },
        {
          "name": "Definition",
          "element": "glossdef",
          "description": "What the term means here, as a phrase that could stand in for it."
        }
      ],
      "rules": [
        {
          "id": "type-glossary-entry",
          "url": "https://watership.ca/style-guide/documentation-types/#type-glossary-entry"
        },
        {
          "id": "type-glossary-forms-not-to-use",
          "url": "https://watership.ca/style-guide/documentation-types/#type-glossary-forms-not-to-use"
        }
      ],
      "example": {
        "id": "hold",
        "title": "hold",
        "source": "dita/examples/hold.dita"
      },
      "source": "dita/types/type-glossary-entry.dita"
    },
    {
      "id": "troubleshooting",
      "name": "Troubleshooting",
      "group": "supporting",
      "purpose": "Takes a reader from a symptom to a fix: what they see, what causes it, and what to do. It’s a supporting type, inherited from DITA.",
      "base": "topic",
      "ditaElement": "troubleshooting",
      "specialization": null,
      "requiredParts": [
        {
          "name": "Title",
          "element": "title",
          "description": "The symptom, in the reader’s words: “A free room shows as booked”."
        },
        {
          "name": "Purpose",
          "element": "shortdesc",
          "description": "Who sees the problem and what the page helps them do."
        },
        {
          "name": "Condition",
          "element": "condition",
          "description": "The symptom in detail, so the reader can confirm it’s their problem."
        },
        {
          "name": "Solution",
          "element": "troubleSolution",
          "description": "One per cause, most likely first."
        },
        {
          "name": "Cause",
          "element": "cause",
          "description": "In each solution, the cause and how to tell it applies."
        },
        {
          "name": "Remedy",
          "element": "remedy",
          "description": "In each solution, the steps that fix it."
        }
      ],
      "rules": [
        {
          "id": "type-troubleshooting",
          "url": "https://watership.ca/style-guide/documentation-types/#type-troubleshooting"
        },
        {
          "id": "type-trouble-cause-test",
          "url": "https://watership.ca/style-guide/documentation-types/#type-trouble-cause-test"
        },
        {
          "id": "type-trouble-if-nothing-worked",
          "url": "https://watership.ca/style-guide/documentation-types/#type-trouble-if-nothing-worked"
        }
      ],
      "example": {
        "id": "free-room-shows-booked",
        "title": "A free room shows as booked",
        "source": "dita/examples/free-room-shows-booked.dita"
      },
      "source": "dita/types/type-troubleshooting.dita"
    }
  ]
}
