This guide provides step-by-step instructions for testing the validation and classification processes within the SPLICE Catalog. This is basically a two-step workflow that contributors use to add content to the catalog:
- Using the
/uploadendpoint – Submit content to the system. - Uploading sample data – Upload catalog types with provided in sample-data.
The /upload endpoint is where to submit catalog data for validation and classification. Go to http://localhost:3000/upload/
Refer to the Sample Data section for JSON sample data for:
- SLCItemCatalog – Smart Learning Catalog items.
- SLCToolsCatalog – Tool-specific catalog items.
The steps outlined in steps 3 to 5 — validation, classification, and feedback — are automatically triggered once the data is uploaded.
Once data is uploaded, the system performs comprehensive checks to ensure integrity and accuracy of data.
- The system validates metadata fields, ensuring:
- Presence of required fields.
- Correct data types and formats.
- Validity of URLs.
- If validation errors are found, they will be displayed in the review dashboard.
The process also includes a classifcation process attempts to categorize based on the keywords of contained in the content against the ontology in the catalog.
- Validated items are matched against the ontology.
- Keywords and metadata fields are mapped to predefined ontology classes.
- Items are either classified under relevant categories or marked as "Unclassified" if no match is found.
- Access the review dashboard at http://localhost:3000/review-dashboard.
- Review validation issues and categorized items.




