Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

  1. When an asset is created as part of a sourcing project

  2. When an asset is created independent of a sourcing project

PRD: https://project-sunbird.atlassian.net/wiki/spaces/SingleSource/pages/2830565388/Population+of+metadata+for+an+asset+-+a+generalized+approach#Configuration

  1. An asset created under a sourcing project

    1. Create a Project of the type “Seek assets for Target Collections”

    2. Create a Project of the type “Seek assets for NON-Target Collections”

Configurations:

  1. Set of framework types to be used for any sourcing project

    1. For All Channels - System Level -> For channel show K-12 & TPD framework types while creating project.

      {
        "request": {
          "rootOrgId": "*",
          "type": "project",
          "subType": "framworktype",
          "action": "*",
          "value": [
            "TPD",
            "K-12"
          ]
        }
      }
    2. Channel (TN) level → Show only K-12 framework types while creating project.

      {
        "request": {
          "rootOrgId": "*",
          "type": "project",
          "subType": "framworktype",
          "action": "*",
          "value": [
            "K-12"
          ]
        }
      }

2. Framework form configuration for each framework type

a. For all channels → K-12 framework type → show Board, Medium, GradeLevel, Subject and Topic

{
  "request": {
    "rootOrgId": "*",
    "framework": '*',
    "type": "K-12",
    "subType": "framworkCategories",
    "action": "*"
    "DATA": [
        Board, // List, singleSelect
        Medium, // List, multiSelect
        GradeLevel,  // List, multiSelect
        Subject, // List, multiSelect
        Topic // List TopicTree
    ]
  }
}

b. For all channels → TPD framework type → show Medium, GradeLevel, Subject

{
  "request": {
    "rootOrgId": "*",
    "framework": '*',
    "type": "TPD",
    "subType": "framworkCategories",
    "action": "*",
    "DATA": [
        Medium, // List, multiSelect
        GradeLevel,  // List, multiSelect
        Subject, // List, multiSelect
    ]
  }
}

c. For TN Channel → K-12 framework type → show Board, Medium, GradeLevel, Subject

{
  "request": {
    "rootOrgId": "*",
    "framework": '*',
    "type": "K-12",
    "subType": "framworkCategories",
    "action": "*",
    "DATA": [
        Board, // List, singleSelect
        Medium, // List, multiSelect
        GradeLevel,  // List, multiSelect
        Subject, // List, multiSelect
    ]
  }
}

{
  "request": {
    "rootOrgId": "*",
    "framework": '*',
    "frameworkType": "K-12",
    "sourcingType": "project/NonProject",
    "object": "*",
    "type": "framworkCategories",
    "subType": "*",
    "action": "*"
    "DATA": [
        Board, // List, singleSelect
        Medium, // List, multiSelect
        GradeLevel,  // List, multiSelect
        Subject, // List, multiSelect
        Topic // List TopicTree
    ]
  }
}

2. Asset created independently (not in a sourcing project)

Configurations:

  1. For all channels & all primaryCategories

Channel -> *
ObjectType -> Content
primaryCategory -> *
outputType/ configType - nonProjectFrameworkCategory
DATA => {
    K-12 Form: edit{
        Board, List, singleSelect
        GradeLevel,  List, multiSelect
        Medium, List, multiSelect,
        Subject,  List, multiSelect,
    },
    K-12 Form: review{ 
        Board, List, singleSelect, ReadOnly
        GradeLevel,  List, multiSelect, ReadOnly
        Medium, List, multiSelect, ReadOnly,
        Subject,  List, multiSelect, ReadOnly
    }
    K-12 Form: search{
        Board, List, multiSelect
        GradeLevel,  List, multiSelect
        Medium, List, multiSelect,
        Subject,  List, multiSelect
    },
    K-12 Form: publish{ 
        Board, List, singleSelect, ReadOnly
        GradeLevel,  List, multiSelect, ReadOnly
        Medium, List, multiSelect, ReadOnly
        Subject,  List, multiSelect, ReadOnly
    }
    TPD Form: edit{
        Board, List, singleSelect
        GradeLevel,  List, multiSelect
        Medium, List, multiSelect,
    },
    TPD Form: review{ 
        Board, List, singleSelect, ReadOnly
        GradeLevel,  List, multiSelect, ReadOnly
        Medium, List, multiSelect, ReadOnly,
    }
    TPD Form: search{
        Board, List, multiSelect
        GradeLevel,  List, multiSelect
        Medium, List, multiSelect
    },
    TPD Form: publish{ 
        Board, List, singleSelect, ReadOnly
        GradeLevel,  List, multiSelect, ReadOnly
        Medium, List, multiSelect, ReadOnly,
    }
}

2. For all channels & specific primaryCategory

Channel -> *
ObjectType -> Content
primaryCategory -> etextBook
outputType/ configType - nonProjectFrameworkCategory
DATA => {
    K-12 Form: edit{
        Board, List, singleSelect
        GradeLevel,  List, multiSelect
        Medium, List, multiSelect,
        Subject,  List, multiSelect,
        Topic, List, TopicTree
    },
    K-12 Form: review{ 
        Board, List, singleSelect, ReadOnly
        GradeLevel,  List, multiSelect, ReadOnly
        Medium, List, multiSelect, ReadOnly,
        Subject,  List, multiSelect, ReadOnly,
        Topic, List, TopicTree, ReadOnly
    }
    K-12 Form: search{
        Board, List, multiSelect
        GradeLevel,  List, multiSelect
        Medium, List, multiSelect,
        Subject,  List, multiSelect,
        Topic, List, TopicTree
    },
    K-12 Form: publish{ 
        Board, List, singleSelect, ReadOnly
        GradeLevel,  List, multiSelect, ReadOnly
        Medium, List, multiSelect, ReadOnly
        Subject,  List, multiSelect, ReadOnly
        Topic, List, TopicTree, ReadOnly
    }
    TPD Form: edit{
        Board, List, singleSelect
        GradeLevel,  List, multiSelect
        Medium, List, multiSelect,
    },
    TPD Form: review{ 
        Board, List, singleSelect, ReadOnly
        GradeLevel,  List, multiSelect, ReadOnly
        Medium, List, multiSelect, ReadOnly,
    }
    TPD Form: search{
        Board, List, multiSelect
        GradeLevel,  List, multiSelect
        Medium, List, multiSelect
    },
    TPD Form: publish{ 
        Board, List, singleSelect, ReadOnly
        GradeLevel,  List, multiSelect, ReadOnly
        Medium, List, multiSelect, ReadOnly,
    }
}
  • No labels