Skip to content

Digests sometimes don't conform to Schema #80

Description

@gjbunyea

Occasionally, the toolkit will output a digest that is unable to be ingested due to not matching the Schema. A known case of this is

image

According to the Schema, all headings should be of this structure

   {
      "children": [
        {
          "children": [
            {
              "text": "A Great Title"
            }
          ],
          "id": "3191676082",
          "type": "h1"
        }
      ],
      "id": "88205506",
      "type": "content"
    },

The above error comes from an ingestion of this course: https://svn.oli.cmu.edu/svn/content/editor/projects/echo-oli-cmu-edu/interactive-jtkk2d6p/branches/v_1_0-echo
Changing the error in the above image from 'title' to 'h1' allowed this course to be ingested.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions