This problem's driving me crazy second day in a row. So, the problem: I'm trying to use "memberOf" property for "organization", and google structured data tool say that there is error:
Error: Page contains property "memberOf" which is not part of the schema.
At the same time schema.org says, that this is a property of "organization":
If I change "organization" to "programMembership", no more errors, all good. The problem is that I need to use organization.
The code I'm trying to run on Google tester:
<div itemscope itemtype="http://schema.org/Organization">
<div itemprop="name">
NAME
<div itemprop="memberOf" itemscope itemtype="http://schema.org/Organization">
<div itemprop="name">
NAME2
</div>
</div>
</div>
</div>