I read the definition of 義務 because I found the word 義務教育:
人が人として,あるいは立場上,身分上当然しなければならないこと
I understand the definition as "Thing that a person has to do" but I can't find the meanings of 立場上 and 身分上, so my understanding is excluding those parts. What is the 上 meaning in these words? Is it the 上-definition:
Noun, Noun which may take the genitive case particle 'no', Adverb (fukushi), Noun, used as a suffix: 1. above; up; over; elder (e.g. daughter)(jisho)
But then I don't understand how the sentence makes sense.