{ "type": "object", "properties": { "@type": { "type": "enum", ["Follow"], "default": "Follow" }, "resource": { "type": "object", "properties": { "@id": { "type": "string", "minLength": 1 }, "@type": { "type": "string", "enum": [ "Category", "Topic", "Article", "Discussion", "LiveDiscussion", "Comment" ] } }, "required": ["@id", "@type"] }, "follower": { "type": "object", "properties": { "@id": { "type": "string", "minLength": 1 }, "@type": { "type": "string", "enum": ["Worker", "ServiceUser"] } }, "required": ["@id", "@type"] } }, "required": ["@type", "@resourceType", "follower"] }