The current schema defines a document in a one-to-one relationship with a resource from the topics Domain. We need to refactor that to be 1:1 with person, with an array of resources.
A curriculum ID should match a person ID, so we can remove the person ID property
Add topic ID to the resource object.
Here are the files that you'll need to change
[x] schemas/curriculum-1.0.0.json - copy this file to version 2.0.0, this is where you'll make the majority of your changes
[x] config/curriculum.json - update the version to match
[x] data/curriculum.json - create some meaningful test data.
The current schema defines a document in a one-to-one relationship with a resource from the topics Domain. We need to refactor that to be 1:1 with person, with an array of resources.
A curriculum ID should match a person ID, so we can remove the person ID property
Add topic ID to the resource object.
Here are the files that you'll need to change