Type in attributes

By Profession Dictionary I meant document with collection of resources:

{
  "data": [
    {
      "type": "profession",
      "id": "1",
      "attributes": {
        "name": "Carpenter",
      }
    },
    {
      "type": "profession",
      "id": "2",
      "attributes": {
        "name": "Tailor"
      }
    }
  ]
}

Thank you so much for all your feedback. I’ve revised all my decisions about API design and clearly see that filter[relationship] parameters will simplify it and will prevent duplicated endpoints, ease code maintaining and decrease amount of tests need to be done.

/jobs?filter[profession]={professionId} just replaced /professions/{professionId]/jobs and now I have only 1 endpoint. Same for another similar cases.