{ type: 'object', properties: { '@context': { type: 'string', }, 'title': { type: 'string', }, 'category': { type: 'object', properties: { '@id': { type: 'string', enum: [ 'Anger', 'EmotionalExploration', 'EmotionalRegulation', 'EnjoyingSelf', 'FeelingHappier', 'Grief', 'GettingMoreHelpFromSignificantOthers', 'GettingProfessionalHelpInService', 'GettingProfessionalHelpOutsideOurService', 'ChallengingThoughts', 'ConfidenceSelfAcceptance', 'SelfExploration', 'SelfHelpSelfCare', 'SelfHelpSkillsForLife', 'Sexuality', 'GenderIdentity', 'Motivation', 'Bullying', 'FamilyRelationships', 'Friendships', 'Assertiveness', 'ChallengingOwnBehaviour', 'FittingIn', 'SpeakingUpCommunicatingBetter', 'ComingOut', 'SupportingOthers', 'CareerAspirational', 'EatingIssues', 'LearningDifficulties', 'ManagingDepressionOrLowMood', 'MedicationDrugs', 'OvercomingAnxiety', 'SchoolCollegeTraining', 'SelfHarm', 'SleepIssues', 'Smoking', 'SuicidalThoughts', 'KeepingSafe', ], }, '@type': { type: 'string', enum: [ 'GoalCategory', ], }, }, }, '@type': { type: 'string', enum: [ 'Goal', ], }, 'status': { type: 'object', properties: { '@id': { type: 'string', enum: [ 'Active', 'Archived', 'Complete', ], }, '@type': { type: 'string', enum: [ 'GoalStatus', ], }, }, }, 'reviewedStatus': { type: 'object', properties: { '@id': { type: 'string', enum: [ 'Approved', 'Rejected', 'RequiresReview', ], }, '@type': { type: 'string', enum: [ 'ReviewedStatus', ], }, }, }, 'score': { type: 'integer', minimum: 0, maximum: 10, }, }, anyOf: [ { required: ['status'] }, { required: ['reviewedStatus'] }, { required: ['score'] }, ], required: [ '@context', '@type', ], }