{ type: 'object', properties: { '@context': { type: 'string', }, '@type': { type: 'string', enum: [ 'Goal', ], }, 'title': { type: 'string', }, 'serviceUserId': { type: 'string', }, 'applicationId': { type: 'string', }, 'score': { type: 'integer', minimum: 0, maximum: 10, }, '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', ], }, }, }, }, required: [ '@context', '@type', 'serviceUserId', 'applicationId', ], }