diff --git a/.gitignore b/.gitignore index 1cb8268..9bc4823 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ node_modules/ dist/ +test/ *.zip diff --git a/app/components/samples/atlas.json b/app/components/samples/atlas.json new file mode 100644 index 0000000..e8b0410 --- /dev/null +++ b/app/components/samples/atlas.json @@ -0,0 +1,198 @@ +{ + "@context": { + "@vocab": "http://purl.kinexis.com:8888/ctx/cbe/v1/record_of_performance/" + }, + "@id": "http://purl.kinexis.com:8888/6675c410-1d03-0133-b54c-406c8f40a599", + "@type": "RecordOfPerformance", + "created_at": "2015-05-05T04:00:00.000Z", + "organization": { + "@id": "http://purl.kinexis.com:8888/organizations/7", + "@type": "Organization", + "legal_name": "Atlas University", + "website": "ili.imsglobal.org" + }, + "progress": [ + { + "@id": "http://purl.kinexis.com:8888/5ce4503a-c426-4deb-80e9-b374680a238a", + "@type": "Progress", + "completed": false, + "towards": { + "@id": "http://purl.kinexis.com:8888/programs/7", + "@type": "Program", + "degree_level": "Master of Science", + "title": "Nursing - Nursing Informatics" + } + }, + { + "@id": "http://purl.kinexis.com:8888/8a5dbb9c-0e1c-47a8-95b9-7ad6edb2eb0f", + "@type": "Progress", + "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Completed?version=1", + "@type": "AchievementLevel", + "level": "Completed" + }, + "date_completed": "2015-04-20T04:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/61", + "@type": "CourseSection", + "code": "MSN6414", + "title": "Data Management and Health Care Technology", + "description": "Learners in this course analyze the use of data and databases as key drivers in nursing informatics. Throughout the course, learners demonstrate competence in managing and interpreting data in such a way that enhances their roles and decision-making capabilities in today’s health care technology environments." + }, + "contexts": [ + { + "@id": "http://purl.kinexis.com:8888/programs/7", + "@type": "Program" + } + ] + }, + { + "@id": "http://purl.kinexis.com:8888/", + "@type": "Progress", + "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Basic?version=2", + "@type": "AchievementLevel", + "level": "Basic" + }, + "date_completed": "2015-04-20T04:00:00.000Z", + "towards": { + "@id":"http://example.com/competencies/5", + "@type": "Competency", + "code": "MSN6414", + "statement": "Integrate information technology to align with nursing practice.", + "children": [ + { + "@id": "http://purl.kinexis.com:8888/competencies/115", + "@type": "Competency", + "code": "MSN6414_1", + "statement": "Differentiate database standard terminologies used by different health information systems." + }, + { + "@id": "http://purl.kinexis.com:8888/competencies/115", + "@type": "Competency", + "code": "MSN6414_2", + "statement": "Apply data management techniques to decision making in nursing practice." + } + ] + }, + "contexts": [ + { + "@id": "http://purl.kinexis.com:8888/course_sections/61", + "@type": "CourseSection" + } + ] + }, + { + "@id": "http://purl.kinexis.com:8888/", + "@type": "Progress", + "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Basic?version=2", + "@type": "AchievementLevel", + "level": "Basic" + }, + "date_completed": "2015-04-20T04:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/115", + "@type": "Competency", + "code": "MSN6414_1", + "statement": "Differentiate database standard terminologies used by different health information systems.", + "parent": { + "@id":"http://example.com/competencies/5", + "@type": "Competency", + "code": "MSN6414", + "statement": "Integrate information technology to align with nursing practice." + } + }, + "contexts": [ + { + "@id": "http://purl.kinexis.com:8888/course_sections/61", + "@type": "CourseSection" + } + ] + },{ + "@id": "http://purl.kinexis.com:8888/", + "@type": "Progress", + "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Proficient?version=2", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "date_completed": "", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/115", + "@type": "Competency", + "code": "MSN6414_2", + "statement": "Apply data management techniques to decision making in nursing practice.", + "parent": { + "@id":"http://example.com/competencies/5", + "@type": "Competency", + "code": "MSN6414", + "statement": "Integrate information technology to align with nursing practice." + } + }, + "contexts": [ + { + "@id": "http://purl.kinexis.com:8888/course_sections/61", + "@type": "CourseSection" + } + ] + },{ + "@id": "http://purl.kinexis.com:8888/", + "@type": "Progress", + "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Completed?version=1", + "@type": "AchievementLevel", + "level": "Completed" + }, + "date_completed": "2015-04-20T04:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/63", + "@type": "CourseSection", + "code": "MSN6416", + "title": "Managing the Nursing Informatics Life Cycle." + }, + "contexts": [ + { + "@id": "http://purl.kinexis.com:8888/programs/7", + "@type": "Program" + } + ] + },{ + "@id": "http://purl.kinexis.com:8888/", + "@type": "Progress", + "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Completed?version=1", + "@type": "AchievementLevel", + "level": "Completed" + }, + "date_completed": "2015-04-20T04:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/64", + "@type": "CourseSection", + "code": "MSN6412", + "title": "Health Informatics Systems Planning, Analysis, Design, and Build for Nursing." + }, + "contexts": [ + { + "@id": "http://purl.kinexis.com:8888/programs/7", + "@type": "Program" + } + ] + } + ], + "user": { + "@id": "http://purl.kinexis.com:8888/users/14", + "@type": "Person", + "email": "tarne@hotmail.com", + "familyName": "Hafez", + "givenName": "Olivia", + "middleName": "R", + "sourced_id": 123456 + } +} diff --git a/app/components/samples/capella.json b/app/components/samples/capella.json new file mode 100644 index 0000000..e914465 --- /dev/null +++ b/app/components/samples/capella.json @@ -0,0 +1,654 @@ +{ + "@context": { + "@vocab": "http://purl.kinexis.com:8888/ctx/cbe/v1/record_of_performance/" + }, + "@id": "http://purl.kinexis.com:8888/1f7c2fb2-550e-4577-ae96-8b21a74e4ec7", + "@type": "RecordOfPerformance", + "created_at": "2014-03-03T00:00:00.000Z", + "instructional_text": "This transcript is official when downloaded directly from the Parchment Exchange website.To verify the validity of the transcript, go to exchange.parchment.com/d/, select the Tracking link in the header, and search for DID# T0QHL4G.", + "signatures": [{ + "label": "Deborah Bushway, CAO", + "data": "VGlmZiBjb250YWluaW5nICJEZWJvcmFoIEJ1c2h3YXksIFBoRCI=", + "type": "image/tiff" + }], + "organization": { + "@id": "http://purl.kinexis.com:8888/organizations/9", + "@type": "Organization", + "legal_name": "Capella University", + "website": "http://www.capella.edu/", + "logo": "http://www.capella.edu/content/dam/capella/Logos/logo_capellaheader_237x37_030915.png/jcr:content/renditions/cq5dam.web.1280.1280.png" + }, + "user": { + "@id": "http://purl.kinexis.com:8888/users/16", + "@type": "Person", + "email": "skenta@capella.edu", + "familyName": "Fish", + "givenName": "Gold", + "sourcedId": 78302397, + "role": "student", + "ext_address": "", + "ext_parchment_id": "11195885" + }, + "issued_to": { + "@id": "http://purl.kinexis.com:8888/organizations/932", + "legal_name": "Capella University Test 2", + "address": "225 South 6th Street 9th Floor\nMinneapolis, MN 55402", + "phone": "8882273552", + "collegeId": "caap" + }, + "ext_total_program_points": { + "pp_att": 10.5, + "ppe": 4.5 + }, + "progress": [ + { + "@id": "http://purl.kinexis.com:8888/d8dc562e-b54e-47f6-bb9e-32d66f7c6890", + "@type": "Progress", + "completed": false, + "towards": { + "@id": "http://purl.kinexis.com:8888/programs/9", + "@type": "Program", + "degree_level": "Master of Business Admin", + "title": "Master of Business Admin FP", + "plans": [{ + "@id": "http://purl.kinexis.com:8888/plans/17", + "@type": "Plan", + "label": "General Business Admin FP" + }] + } + },{ + "@id": "http://purl.kinexis.com:8888/a153b038-a572-446f-a497-acbe3b8b6c74", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/81", + "@type": "CourseSection", + "label": "MBA-FP 6004", + "title": "Foundational Skills for Business Leaders" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/9", + "@type": "Program" + }, { + "@id": "http://purl.kinexis.com:8888/plans/17", + "@type": "Plan" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/fcb73738-f60a-4991-b540-359151cea359", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/82", + "@type": "CourseSection", + "label": "MBA-FP 6006", + "title": "Leading Innovation in the Global Organization" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/9", + "@type": "Program" + }, { + "@id": "http://purl.kinexis.com:8888/plans/17", + "@type": "Plan" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/72517c86-f45a-49ef-a996-b2dde5dc7e3c", + "@type": "Progress", + "status": "Withdrawn", + "completed": false, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/84", + "@type": "CourseSection", + "label": "MBA-FP 6012", + "title": "Integrated Global Marketing" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/9", + "@type": "Program" + }, { + "@id": "http://purl.kinexis.com:8888/plans/17", + "@type": "Plan" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/cc3a1b2c-6434-43a7-8b56-70ac5ce78e89", + "@type": "Progress", + "status": "Repeated: Repeat - Included in Program", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/83", + "@type": "CourseSection", + "label": "MBA-FP 6008", + "title": "Global Economic Environment" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/9", + "@type": "Program" + }, { + "@id": "http://purl.kinexis.com:8888/plans/17", + "@type": "Plan" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/913", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/eec56fd9-f63c-4a6c-a26f-c8efd3d742b4", + "@type": "Progress", + "status": "Repeated: Repeat - Included in Program", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/85", + "@type": "CourseSection", + "label": "MBA-FP 6012", + "title": "Integrated Global Marketing" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/9", + "@type": "Program" + }, { + "@id": "http://purl.kinexis.com:8888/plans/17", + "@type": "Plan" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/913", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/56cdc914-bb98-4d51-a203-2b8079cec0ca", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/82", + "@type": "Competency", + "code": "FP-6004-1", + "statement": "Examine the use of critical, strategic, and ethical thinking in decision-making." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Mastered?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/81", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/deed274d-a0d5-4366-9896-05c9bf3d29a7", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/83", + "@type": "Competency", + "code": "FP-6004-2", + "statement": "Integrate the Internet, collaboration, and virtual environment strategies into general business management planning and decision-making." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Mastered?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/81", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/e2c5ad53-5574-4271-a2eb-1d2a0957e3ac", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/84", + "@type": "Competency", + "code": "FP-6004-3", + "statement": "Integrate business strategies into general business management planning and decision-making." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Mastered?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/81", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/f189216e-61b3-44bd-b08a-db902888b24e", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/85", + "@type": "Competency", + "code": "FP-6004-4", + "statement": "Analyze relevant global business concerns for the future." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Proficient?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/81", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/35d7b7b0-27d2-40ee-93f6-c40939abf959", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/86", + "@type": "Competency", + "code": "FP-6004-5", + "statement": "Communicate in a manner that is professional and consistent with expectations for members of the business professions." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Mastered?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/81", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/4eb0f1dd-97d1-41ee-b88a-02fda17b408d", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/87", + "@type": "Competency", + "code": "FP-6006-1", + "statement": "Analyze contemporary leadership models and practices from the perspective of innovation in a global environment." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Proficient?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/82", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/0e712068-8193-421f-8bf0-d7c65a48adf2", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/88", + "@type": "Competency", + "code": "FP-6006-2", + "statement": "Assess the behaviors that drive innovation and how leaders can use those behaviors to create innovative organizations." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Proficient?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/82", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/7f8f8c27-2bd0-4496-a8bb-f47d738bd51d", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/89", + "@type": "Competency", + "code": "FP-6006-3", + "statement": "Assess what leaders of innovation do to shape organizational culture and processes." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Mastered?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/82", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/e822c94b-6905-4ce7-a94a-7c6c5d1a6c80", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/90", + "@type": "Competency", + "code": "FP-6006-4", + "statement": "Communicate in a manner that is professional and consistent with expectations for members of the business professions." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Proficient?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/82", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Fall Quarter 2013", + "date_start": "2013-09-01T00:00:00.000Z", + "date_end": "2013-12-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/d708e36a-a5bd-4124-bde5-0dfad31b3dd1", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/96", + "@type": "Competency", + "code": "FP-6008-1", + "statement": "Apply the theories, models, and practices of economic theory to create value for the firm." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Mastered?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/83", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/f1dd7014-1e84-4f50-9731-a99a255e8037", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/97", + "@type": "Competency", + "code": "FP-6008-2", + "statement": "Assess the impact of ethical and regulatory considerations on economic decisions" + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Proficient?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/83", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/9f75b2ad-d786-4191-ab35-a2a91fa9896b", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/98", + "@type": "Competency", + "code": "FP-6008-3", + "statement": "Analyze the macroeconomic environment of corporate operations" + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Proficient?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/83", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/f7b69e13-1b26-4175-a07c-f15d44ef0d0b", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/99", + "@type": "Competency", + "code": "FP-6008-4", + "statement": "Analyze the microeconomic environment of corporate operations" + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Mastered?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/83", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/a71de38a-8579-4f45-8057-b7d66d4fb7c7", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/100", + "@type": "Competency", + "code": "FP-6008-5", + "statement": "Communicate in a manner that is professional and consistent with expectations for members of the business professions.ply collaborative techniques to the virtual environment." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Mastered?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/83", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/47e6a0aa-cfc9-4873-a015-cd6700ccfbd1", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/101", + "@type": "Competency", + "code": "FP-6012-1", + "statement": "Apply theories, models, and practices of marketing" + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Incomplete?version=1", + "@type": "AchievementLevel", + "level": "Incomplete" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/85", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/72c75a95-6de8-43ef-8b6e-00bbd2a0e842", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/102", + "@type": "Competency", + "code": "FP-6012-2", + "statement": "Integrate fundamental principles and applications of marketing to address business problems." + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Incomplete?version=1", + "@type": "AchievementLevel", + "level": "Incomplete" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/85", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/2fa6a2be-3237-45a2-8d16-9f181b70fad7", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/103", + "@type": "Competency", + "code": "FP-6012-3", + "statement": "Develop innovative and sustainable solutions to strategic marketing challenges" + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Incomplete?version=1", + "@type": "AchievementLevel", + "level": "Incomplete" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/85", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/84b78bbf-84f0-4095-8fa8-0ea91726c752", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/104", + "@type": "Competency", + "code": "FP-6012-4", + "statement": "Integrate marketing analyses into general business management planning and decision making" + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Incomplete?version=1", + "@type": "AchievementLevel", + "level": "Incomplete" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/85", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + }, { + "@id": "http://purl.kinexis.com:8888/43f66913-c9e6-4f6a-8054-f8ad21f45b97", + "@type": "Progress", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/105", + "@type": "Competency", + "code": "FP-6012-5", + "statement": "Communicate in a manner that is professional and consistent with expectations for members of the business professions" + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Incomplete?version=1", + "@type": "AchievementLevel", + "level": "Incomplete" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/course_section/85", + "@type": "CourseSection" + }, { + "@id": "http://purl.kinexis.com:8888/semesters/912", + "@type": "Semester", + "label": "Winter Quarter 2014", + "date_start": "2013-01-01T00:00:00.000Z", + "date_end": "2013-05-31T00:00:00.000Z" + }] + } + ] +} diff --git a/app/components/samples/lfcc.json b/app/components/samples/lfcc.json new file mode 100644 index 0000000..28e636e --- /dev/null +++ b/app/components/samples/lfcc.json @@ -0,0 +1,716 @@ +{ + "@context": { + "@vocab": "http://purl.kinexis.com:8888/ctx/cbe/v1/record_of_performance/" + }, + "@id": "http://purl.kinexis.com:8888/00a1bc5a-a677-446f-bc45-a8bc9891597c", + "@type": "RecordOfPerformance", + "created_at": "2016-04-06T04:41:00.000Z", + "organization": { + "@id": "http://purl.kinexis.com:8888/organizations/11", + "legal_name": "Lord Fairfax Community College", + "website": "http://www.lfcc.edu/", + "logo": "http://www.lfcc.edu/wp-content/themes/lfcc/media/images/lord-fairfax-community-college.png" + }, + "user": { + "@id": "http://purl.kinexis.com:8888/users/17", + "email": "tstudent@lfcc.edu", + "familyName": "Student", + "givenName": "Test", + "sourcedId": 1234567, + "role": "student" + }, + "progress": [ + { + "towards": { + "@id": "http://purl.kinexis.com:8888/programs/11", + "@type": "Program", + "code": "OSA.CERT", + "degree_level": "Certificate of Completion", + "title": "Certificate in Office Systems Assistant", + "ext_catalog": "15-16" + } + }, + { + "@id": "http://purl.kinexis.com:8888/587816a5-c81f-4c6b-bb26-65216f90430f", + "@type": "Achievement", + "status": "New Educational Activity Completed", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/301", + "@type": "Competency", + "statement": "Format documents using generally accepted business practices", + "domain": "Technical Skills", + "subdomain": "Document Production" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/245ee5ed-f7ea-4315-9823-fb2fb5532298", + "@type": "Achievement", + "status": "New Educational Activity Completed", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/302", + "@type": "Competency", + "statement": "Research and discuss records management need for maintaining records and recorded information", + "domain": "Technical Skills", + "subdomain": "Database and Records Management" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/fd49ee65-cf43-4d97-96aa-2b5e5b262734", + "@type": "Achievement", + "status": "New Educational Activity Completed", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/303", + "@type": "Competency", + "statement": "Develop skills in using the systems and procedures required in the information cycle", + "domain": "Technical Skills", + "subdomain": "Database and Records Management" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/4cfe11c2-f25f-4b56-b347-587dfce3cc58", + "@type": "Achievement", + "status": "New Educational Activity Completed", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/304", + "@type": "Competency", + "statement": "Apply the principles of filing as they apply to records management systems", + "domain": "Technical Skills", + "subdomain": "Database and Records Management" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/cbeb1e83-cf22-44bf-aa23-94d837f20646", + "@type": "Achievement", + "status": "New Educational Activity Completed", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/305", + "@type": "Competency", + "statement": "Apply problem solving skills to select appropriate technology involved in records management specialized functions", + "domain": "Technical Skills", + "subdomain": "Database and Records Management" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/a4a15455-212c-4760-97f9-4303feca1300", + "@type": "Achievement", + "status": "New Educational Activity Completed", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/306", + "@type": "Competency", + "statement": "Maintain high standards for quality work and responsiveness in providing office administrative services", + "domain": "Interpersonal Skills", + "subdomain": "Develop the knowledge, skills, and understanding to make informed academic, social, personal, career, and interpersonal decision" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/101348d8-070a-4aed-88b9-16944cbae01e", + "@type": "Achievement", + "status": "New Educational Activity Completed", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/307", + "@type": "Competency", + "statement": "Apply new technical and business information/knowledge to practical use on the job", + "domain": "Interpersonal Skills", + "subdomain": "Select career goals with thought and care, value work and the benefits it brings, and adjust to the inevitable changes in the working world." + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/043fd2e2-034f-4493-b0f1-76936840b328", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/308", + "@type": "Competency", + "statement": "Demonstrate proficiency in proofreading and editing skills, including grammar, spelling, sentence structure, and punctuation", + "domain": "Technical Skills", + "subdomain": "Proofreading and Editing Skills" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/939ef420-2cd6-4813-b20e-5dddfe4ea3df", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/309", + "@type": "Competency", + "statement": "Compose clearly written business correspondence using correct grammar, punctuation, and sentence construction", + "domain": "Technical Skills", + "subdomain": "Proofreading and Editing Skills" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/ff7752bf-8b9e-4673-8c3c-e102c805077b", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/310", + "@type": "Competency", + "statement": "Write business letters, reports, and memorandums following correct format and creating a good impression on the reader", + "domain": "Technical Skills", + "subdomain": "Proofreading and Editing Skills" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/39cf18dd-ba61-46fe-836f-9d63f7d091f9", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/311", + "@type": "Competency", + "statement": "Edit business manuscripts using the revision symbols used by professional editors", + "domain": "Technical Skills", + "subdomain": "Proofreading and Editing Skills" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/33afb9a9-6ac1-4936-9e00-bf580b9ea445", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/312", + "@type": "Competency", + "statement": "Display high standards of ethical conduct and behaviors", + "domain": "Interpersonal Skills", + "subdomain": "[Develop the knowledge, skills, and understanding to make informed academic, social, personal, career, and interpersonal decision" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/a97f095b-8027-4511-9d1c-a60e9b2d9fc9", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/313", + "@type": "Competency", + "statement": "Pursue appropriate learning activities contributing to lifelong professional growth", + "domain": "Interpersonal Skills", + "subdomain": "Develop the knowledge, skills, and understanding to make informed academic, social, personal, career, and interpersonal decision" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/5b514ac8-5921-46c3-a9c2-aa7a5a575885", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/314", + "@type": "Competency", + "statement": "Describe the environment of business in the United States", + "domain": "Office Administration Procedures & Theory/Business", + "subdomain": "Constantly Changing Workplace/Business" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/06012150-08b2-4946-a3d7-3954e9570c17", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/315", + "@type": "Competency", + "statement": "Identify the role of organization in the achievement of business goals", + "domain": "Office Administration Procedures & Theory/Business", + "subdomain": "Constantly Changing Workplace/Business" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/57ac286e-4087-49ab-89bb-4a4c1ea1efa7", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/316", + "@type": "Competency", + "statement": "Determine the role of automation in achieving a firm's objectives", + "domain": "Office Administration Procedures & Theory/Business", + "subdomain": "Constantly Changing Workplace/Business" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/20445fb7-dd33-4fe2-a6f6-19b681872eb4", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/317", + "@type": "Competency", + "statement": "Explore the fundamentals of small business", + "domain": "Office Administration Procedures & Theory/Business", + "subdomain": "Constantly Changing Workplace/Business" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/80b09db7-f4b2-4f4b-967f-411e4070d1b1", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/318", + "@type": "Competency", + "statement": "Explore the realm of international business", + "domain": "Office Administration Procedures & Theory/Business", + "subdomain": "Constantly Changing Workplace/Business" + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/23cdc1d4-d393-49c5-aa9c-8b11b63ebae2", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/319", + "@type": "Competency", + "statement": "College Composition I (ENG 111) Competencies", + "domain": "Other Program Requirements", + "subdomain": null + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/cd9aaeaf-ef35-48cb-8b2b-350e97cfc029", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/320", + "@type": "Competency", + "statement": "Approved Social/Behavioral Science Elective Competencies", + "domain": "Other Program Requirements", + "subdomain": null + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/ed56bd52-c1ba-4731-ae96-bd866a67e7a7", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/321", + "@type": "Competency", + "statement": "Introduction to Business (BUS 100) Competencies", + "domain": "Other Program Requirements", + "subdomain": null + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/48bc999c-9a9f-45da-a113-a5eb396acd33", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/322", + "@type": "Competency", + "statement": "Orientation to Virtual Assistance (SDV 101) Competencies", + "domain": "Other Program Requirements", + "subdomain": null + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/041b1c20-f56d-456e-97b2-f9dde3d0cb72", + "@type": "Achievement", + "status": "Prior Competency Verified", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/323", + "@type": "Competency", + "statement": "Introduction to Mathematics (MTH 120) Competencies", + "domain": "Other Program Requirements", + "subdomain": null + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/semesters/2154", + "@type": "Semester", + "label": "Fall 2015 (2154)", + "date_start": "2015-09-01T00:00:00.000Z", + "date_end": "2015-12-31T00:00:00.000Z" + }], + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Pass?version=1", + "@type": "AchievementLevel", + "level": "Mastered" + } + }, { + "@id": "http://purl.kinexis.com:8888/4b6205d3-52eb-456c-98f1-96ea14f6b9c4", + "@type": "Achievement", + "status": "New Educational Activity Verified Course Credit Equivalence", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/101", + "@type": "CourseSection", + "label": "AST 234", + "title": "Records and Database Management", + "credit": 3 + }, + "ext_total_competencies": 4 + }, { + "@id": "http://purl.kinexis.com:8888/3b9028d1-ef39-4909-8fd0-1c742f365ddd", + "@type": "Achievement", + "status": "New Educational Activity Verified Course Credit Equivalence", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/102", + "@type": "CourseSection", + "label": "AST 206", + "title": "Professional Development", + "credit": 3 + }, + "ext_total_competencies": 24 + }, { + "@id": "http://purl.kinexis.com:8888/f849e231-b0cf-4b48-bb15-237b0157da31", + "@type": "Achievement", + "status": "New Educational Activity Verified Course Credit Equivalence", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/103", + "@type": "CourseSection", + "label": "AST 102", + "title": "Keyboarding II", + "credit": 3 + }, + "ext_total_competencies": 1 + }, { + "@id": "http://purl.kinexis.com:8888/2745d502-556c-460f-ac41-0cf4bb64f14a", + "@type": "Achievement", + "status": "Prior Competency Verified Course Credit Equivalence", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/104", + "@type": "CourseSection", + "label": "SDV 101", + "title": "College Success Skills", + "credit": 1 + }, + "ext_total_competencies": 11 + }, { + "@id": "http://purl.kinexis.com:8888/6f4c8347-e155-40db-9068-23b95ab32d0b", + "@type": "Achievement", + "status": "Prior Competency Verified Course Credit Equivalence", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/105", + "@type": "CourseSection", + "label": "PSY 120", + "title": "Human Relations", + "credit": 3 + }, + "ext_total_competencies": 1 + }, { + "@id": "http://purl.kinexis.com:8888/976f5862-3329-4e91-9c91-abf64c1cd188", + "@type": "Achievement", + "status": "Prior Competency Verified Course Credit Equivalence", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/106", + "@type": "CourseSection", + "label": "MTH 120", + "title": "Introduction to Mathematics", + "credit": 3 + }, + "ext_total_competencies": 1 + }, { + "@id": "http://purl.kinexis.com:8888/f538840b-52b8-4745-bf6d-7b65351f448d", + "@type": "Achievement", + "status": "Prior Competency Verified Course Credit Equivalence", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/107", + "@type": "CourseSection", + "label": "ENG 111", + "title": "College Composition I", + "credit": 3 + }, + "ext_total_competencies": 2 + }, { + "@id": "http://purl.kinexis.com:8888/01648364-f6a9-4dad-bc72-2e6226a7e7b4", + "@type": "Achievement", + "status": "Prior Competency Verified Course Credit Equivalence", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/108", + "@type": "CourseSection", + "label": "BUS 100", + "title": "Introduction to Business", + "credit": 3 + }, + "ext_total_competencies": 7 + }, { + "@id": "http://purl.kinexis.com:8888/e739c727-2630-4552-a4a9-eb5caa8dc8d6", + "@type": "Achievement", + "status": "Prior Competency Verified Course Credit Equivalence", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/109", + "@type": "CourseSection", + "label": "AST 206", + "title": "Professional Development", + "credit": 3 + }, + "ext_total_competencies": 24 + }, { + "@id": "http://purl.kinexis.com:8888/5440fd48-a294-4ba9-99ec-fab2f535f64a", + "@type": "Achievement", + "status": "Prior Competency Verified Course Credit Equivalence", + "completed": true, + "towards": { + "@id": "http://purl.kinexis.com:8888/course_sections/110", + "@type": "CourseSection", + "label": "AST 107", + "title": "Editing and Proofreading Skills", + "credit": 3 + }, + "ext_total_competencies": 4 + }] +} diff --git a/app/components/samples/lipscomb.json b/app/components/samples/lipscomb.json new file mode 100644 index 0000000..68b2474 --- /dev/null +++ b/app/components/samples/lipscomb.json @@ -0,0 +1,642 @@ +{ + "@context": { + "@vocab": "http://purl.kinexis.com:8888/ctx/cbe/v1/record_of_performance/" + }, + "@id": "http://purl.kinexis.com:8888/6c82271e-fa68-403e-bc58-dd6a10bbf626", + "@type": "RecordOfPerformance", + "created_at": "2016-01-01T00:00:00.000Z", + "organization": { + "@id": "http://purl.kinexis.com:8888/organizations/10", + "legal_name": "Lipscomb University", + "website": "https://secure.lipscomb.edu/", + "logo": "https://secure.lipscomb.edu/images/logo.png" + }, + "user": { + "@id": "http://purl.kinexis.com:8888/users/17", + "email": "jparticipant@lipscomb.edu", + "familyName": "Participant", + "middleName": "A.", + "givenName": "Jordan", + "sourcedId": 82383481, + "role": "student" + }, + "ext_key_strengths": [{ + "@id": "http://purl.kinexis.com:8888/competencies/203", + "@type": "Competency", + "title": "Communicativeness", + "statement": "Effective performers create formal and informal venues for the team to share information, regularly solicit information from peers and external sources, actively include others in projects and decisions, use a variety of forums for sharing information for frequent and timely communication." + }, { + "@id": "http://purl.kinexis.com:8888/competencies/214", + "@type": "Competency", + "title": "Influence", + "statement": "Effective performers are visible and steady team leaders, present positive presence, are respected for technical expertise, communicate decisions and rationale in a respectful way and effectively adjust style to fit team needs." + }, { + "@id": "http://purl.kinexis.com:8888/competencies/219", + "@type": "Competency", + "title": "Drive/Energy", + "statement": "Effective performers demonstrate an understand of the importance of continuously modeling motivation, initiate important programs with passion and enthusiasm, maintain a high level of energy for sustained periods, look for high energy and enthusiasm in others and maintain a team environment that rewards high energy and enthusiasm." + }], + "ext_development_opportunities": [{ + "@id": "http://purl.kinexis.com:8888/competencies/204", + "@type": "Competency", + "title": "Presentation Skills", + "statement": "Effective performers deliver small group talks effectively in familiar settings, prepare in advance for presentations, organize presentations effectively, present talks with minimal difficulty, exhibit adequate presentation skills and use visuals and multi­media adequately." + }, { + "@id": "http://purl.kinexis.com:8888/competencies/211", + "@type": "Competency", + "title": "Team Player", + "statement": "Effective performers are able to articulate team goals and standards, readily collaborate with others, are always willing to listen to others' points of view, are committed participants on the team and are willing to compromise or delay own goals for the achievement of team goals." + }, { + "@id": "http://purl.kinexis.com:8888/competencies/220", + "@type": "Competency", + "title": "Initiative", + "statement": "Effective performers seek challenges beyond their job or assignment descriptions, encourage initiative in others, act without prompting, initiate action and reward and encourage others’ initiative." + }], + "progress": [ + { + "towards": { + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program", + "degree_level": "Bachelor of Professional Studies", + "title": "Organizational Leadership" + } + }, + { + "@id": "http://purl.kinexis.com:8888/4ea02d5c-a2d7-4c26-a109-ae2422bfc30a", + "@type": "Progress", "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/201", + "@type": "Competency", + "code": "", + "statement": "Communications", + "children": [{ + "@id": "http://purl.kinexis.com:8888/competencies/202", + "@type": "Competency" + }, { + "@id": "http://purl.kinexis.com:8888/competencies/203", + "@type": "Competency" + }, { + "@id": "http://purl.kinexis.com:8888/competencies/204", + "@type": "Competency" + }] + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }] + }, { + "@id": "http://purl.kinexis.com:8888/f755ee79-1f74-428c-b58b-75e2175694b3", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/202", + "@type": "Competency", + "statement": "Active Listening", + "ext_description": "Effective performers encourage speakers with appropriate responses, actively set aside distractors and summarize to ensure understanding.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/201", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.0 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [] + }, { + "@id": "http://purl.kinexis.com:8888/183b0a16-77bc-4dbe-a0f7-53e70967c040", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/203", + "@type": "Competency", + "statement": "Communicativeness", + "ext_description": "Effective performers create formal and informal venues for the team to share information, regularly solicit information from peers and external sources, actively include others in projects and decisions, use a variety of forums for sharing information for frequent and timely communication.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/201", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.25 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "Bw4MAAoGDwYGDAcJBAMDBw", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/203-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/Bw4MAAoGDwYGDAcJBAMDBw.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/07c226b9-65b2-47ce-a2cf-659c32cdd39b", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/204", + "@type": "Competency", + "statement": "Presentation Skills", + "ext_description": "Effective performers deliver small group talks effectively in familiar settings, prepare in advance for presentations, organize presentations effectively, present talks with minimal difficulty, exhibit adequate presentation skills and use visuals and multi­media adequately.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/201", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Elementary?version=1", + "@type": "AchievementLevel", + "level": "Basic", + "ext_continuum_increment": 0.75 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "AwIABgIFDQUKAgQPBA4JDg", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/204-elementary.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/AwIABgIFDQUKAgQPBA4JDg.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/4ef0c27a-6314-41b3-930d-74a2d0c144ab", + "@type": "Progress", "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/205", + "@type": "Competency", + "statement": "Conceptual", + "children": [{ + "@id": "http://purl.kinexis.com:8888/competencies/206", + "@type": "Competency" + }] + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }] + }, { + "@id": "http://purl.kinexis.com:8888/3612312b-ad12-47ed-9896-62c3cd1f9cfe", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/206", + "@type": "Competency", + "statement": "Problem Solving & Decision Making", + "ext_description": "Effective performers analyze and anticipate unintended consequences to make decisions, form and lead informal problem­solving teams, actively solicit opinions and input from others, coach team in creative problem­-solving, step back from an issue to see the big picture and surface and solve problems in a timely manner.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/205", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.0 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "CQgOAw8GAgMKAgkLBAsICQ", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/206-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/CQgOAw8GAgMKAgkLBAsICQ.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/e9f1a4c3-e04a-4576-993b-37101484be2a", + "@type": "Progress", "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Elementary?version=1", + "@type": "AchievementLevel", + "level": "Basic" + }, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/207", + "@type": "Competency", + "statement": "Interpersonal", + "children": [{ + "@id": "http://purl.kinexis.com:8888/competencies/208", + "@type": "Competency" + }, { + "@id": "http://purl.kinexis.com:8888/competencies/209", + "@type": "Competency" + }, { + "@id": "http://purl.kinexis.com:8888/competencies/210", + "@type": "Competency" + }, { + "@id": "http://purl.kinexis.com:8888/competencies/211", + "@type": "Competency" + }] + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }] + }, { + "@id": "http://purl.kinexis.com:8888/a230ab95-216b-4ae3-a11c-485ca58e8cc8", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/208", + "@type": "Competency", + "statement": "Assertiveness", + "ext_description": "Effective performers demonstrate the confidence to direct others, maintain own convictions in actions and decisions, are willing to take an unpopular stand or question group consensus, can express forceful opinions without alienating others, encourages others to express their opinions and ideas and help build confidence among team members.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/207", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.0 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "AAMODAIKCwwICgsFBAAJDg", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/208-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/AAMODAIKCwwICgsFBAAJDg.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/94ac92c6-0898-4f03-b83e-0cccd67f4452", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/209", + "@type": "Competency", + "statement": "Conflict Management", + "ext_description": "Effective performers exhibit a collaborative approach, offer opposing ideas in a negotiable manner, listen to both sides, are comfortable working with others with conflicting opinions, successfully mediate conflict, promote healthy conflict and provide opportunities for differing opinions to be heard and debated.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/207", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.0 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "DAAFCA8DBA4KCw0PBAUBDQ", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/209-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/DAAFCA8DBA4KCw0PBAUBDQ.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/8b47a5ff-28c0-4633-843a-e01089041a72", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/210", + "@type": "Competency", + "statement": "Relationship Building", + "ext_description": "Effective performers value relationship and work to maintain them, work effectively across organizations, truly value people, expand network beyond immediate area and recognize opportunities in the network to achieve objectives.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/207", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.0 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "BgYHCwQCBg8HDAIKBAQIBw", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/210-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/BgYHCwQCBg8HDAIKBAQIBw.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/1ecda2a5-6958-4599-af33-4f9a1b58a11e", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/211", + "@type": "Competency", + "statement": "Team Player", + "ext_description": "Effective performers are able to articulate team goals and standards, readily collaborate with others, are always willing to listen to others' points of view, are committed participants on the team and are willing to compromise or delay own goals for the achievement of team goals.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/207", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Elementary?version=1", + "@type": "AchievementLevel", + "level": "Basic", + "ext_continuum_increment": 0.75 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "DggGAQcHBQkHCwELBAgKBA", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/211-elementary.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/DggGAQcHBQkHCwELBAgKBA.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/b11cace2-30d3-422f-b738-1c4e289d2338", + "@type": "Progress", "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/212", + "@type": "Competency", + "statement": "Leadership", + "children": [{ + "@id": "http://purl.kinexis.com:8888/competencies/213", + "@type": "Competency" + }, { + "@id": "http://purl.kinexis.com:8888/competencies/214", + "@type": "Competency" + }] + } + }, { + "@id": "http://purl.kinexis.com:8888/1cec55a7-1909-4a42-9745-77a3886dfad9", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/213", + "@type": "Competency", + "statement": "Change Mastery", + "ext_description": "Effective performers are seen by the team as change agents, understand the leadership responsibility in publicly supporting needed change, skillfully manage the human side of functional change and employ basic change techniques.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/212", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.0 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "DggMCA8JAAINCwYLBAwDCA", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/213-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/DggMCA8JAAINCwYLBAwDCA.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/d3a7b6e2-2445-4e36-a2d8-2eea60c1865d", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/214", + "@type": "Competency", + "statement": "Influence", + "ext_description": "Effective performers are visible and steady team leaders, present positive presence, are respected for technical expertise, communicate decisions and rationale in a respectful way and effectively adjust style to fit team needs.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/212", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.25 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "AQUJBQYPAAUKBQ8IBAwDCg", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/214-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/AQUJBQYPAAUKBQ8IBAwDCg.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/b6172f66-9441-439d-a32e-6595bbac00c8", + "@type": "Progress", "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/215", + "@type": "Competency", + "statement": "Management", + "children": [{ + "@id": "http://purl.kinexis.com:8888/competencies/216", + "@type": "Competency" + }] + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }] + }, { + "@id": "http://purl.kinexis.com:8888/c91eec6b-64ad-4c0f-af58-37bc5b21d173", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/216", + "@type": "Competency", + "statement": "Organizing and Planning", + "ext_description": "Effective performers establish and communicate team priorities, train and develop others, constantly reassess the situation to ensure correct priorities, maximize time, hold efficient meetings, monitor and prioritize assignments and communicate changing goals or priorities to the team.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/215", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.0 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "DQYEDAsCCQAOAAQLBAwNAQ", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/216-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/DQYEDAsCCQAOAAQLBAwNAQ.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/70dd86ac-6f39-425b-93bd-9dd92de6b356", + "@type": "Progress", "completed": true, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient" + }, + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/217", + "@type": "Competency", + "statement": "Personal", + "children": [{ + "@id": "http://purl.kinexis.com:8888/competencies/218", + "@type": "Competency" + }, { + "@id": "http://purl.kinexis.com:8888/competencies/219", + "@type": "Competency" + }, { + "@id": "http://purl.kinexis.com:8888/competencies/220", + "@type": "Competency" + }, { + "@id": "http://purl.kinexis.com:8888/competencies/221", + "@type": "Competency" + }] + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }] + }, { + "@id": "http://purl.kinexis.com:8888/4160603b-e923-4db2-a278-27a235a1f735", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/218", + "@type": "Competency", + "statement": "Composure", + "ext_description": "Effective performers understand the need to demonstrate appropriate emotions in positions of responsibility, are reliable calm, cool and collected, demonstrate ability and comfort in adapting to change and do not appear distressed when challenged.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/217", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.0 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [] + }, { + "@id": "http://purl.kinexis.com:8888/2152dd0c-3b20-47c9-b9ff-21f1754ca800", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/219", + "@type": "Competency", + "statement": "Drive/Energy", + "ext_description": "Effective performers demonstrate an understand of the importance of continuously modeling motivation, initiate important programs with passion and enthusiasm, maintain a high level of energy for sustained periods, look for high energy and enthusiasm in others and maintain a team environment that rewards high energy and enthusiasm.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/217", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.25 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "DwEIBA4BDAMICwABBAEPDQ", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/219-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/DwEIBA4BDAMICwABBAEPDQ.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/695edb02-6e30-4ae0-a179-3fdaf4a72196", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/220", + "@type": "Competency", + "statement": "Initiative", + "ext_description": "Effective performers seek challenges beyond their job or assignment descriptions, encourage initiative in others, act without prompting, initiate action and reward and encourage others’ initiative.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/217", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.0 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "BwsECQ8KDgkNAgwGBAABBw", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/220-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/BwsECQ8KDgkNAgwGBAABBw.png" + }] + }, { + "@id": "http://purl.kinexis.com:8888/55b443ee-76b6-4a11-820c-bdfc7dc72e1d", + "@type": "Progress", "completed": true, + "date_completed": "2015-05-20T00:00:00.000Z", + "towards": { + "@id": "http://purl.kinexis.com:8888/competencies/221", + "@type": "Competency", + "statement": "Results Orientation", + "ext_description": "Effective performers set an aggressive schedule for delivery of action items, apply an appropriate sense of urgency and priority, tenaciously stick with a project until the goal is reached, enjoy healthy competition, translate an organization’s goals into team goals, provide frequent feedback to team members, delegate, communicate a sense of urgency to the team, accepts responsibility and listens and delivers on commitments.", + "parent": { + "@id": "http://purl.kinexis.com:8888/competencies/217", + "@type": "Competency" + } + }, + "achievement_level": { + "@id": "http://purl.kinexis.com:8888/achievementLevels/Applied?version=1", + "@type": "AchievementLevel", + "level": "Proficient", + "ext_continuum_increment": 0.0 + }, + "contexts": [{ + "@id": "http://purl.kinexis.com:8888/programs/10", + "@type": "Program" + }], + "assertions": [{ + "uid": "DgkCBQsECAgFCwMEBAsDAg", + "badge": "http://purl.kinexis.com:8888/badge/badge-class/221-applied.json", + "image": "http://purl.kinexis.com:8888/badge/badge-image/DgkCBQsECAgFCwMEBAsDAg.png" + }] + }] +} diff --git a/app/components/transcript/outcome/outcome.html b/app/components/transcript/outcome/outcome.html index b127f54..8c1365a 100644 --- a/app/components/transcript/outcome/outcome.html +++ b/app/components/transcript/outcome/outcome.html @@ -8,7 +8,9 @@ {{percentage}}% -
diff --git a/app/components/transcript/outcome/outcome.js b/app/components/transcript/outcome/outcome.js index 56f09b9..295c4ac 100644 --- a/app/components/transcript/outcome/outcome.js +++ b/app/components/transcript/outcome/outcome.js @@ -31,6 +31,7 @@ export default ['transcriptService', function(transcriptService){ */ scope.percentage = Math.round(percentage*100); scope.courseMatchesOutcome = transcriptService.courseMatchesOutcome; + scope.showDetails = scope.outcome.competencies.length > 0; } }; }]; diff --git a/app/components/transcript/transcript.html b/app/components/transcript/transcript.html index 9dcf113..6624c8a 100644 --- a/app/components/transcript/transcript.html +++ b/app/components/transcript/transcript.html @@ -12,7 +12,9 @@
- +
{{transcript.user.givenName}} {{transcript.user.familyName}}
Status as of: {{transcript.created_at}}
diff --git a/app/components/transcript/transcript.js b/app/components/transcript/transcript.js index 10e79c3..89a263d 100644 --- a/app/components/transcript/transcript.js +++ b/app/components/transcript/transcript.js @@ -2,7 +2,7 @@ import request from 'superagent'; import template from './transcript.html'; -import domain_logo from '../../images/Atlas.png'; +import atlas_logo from '../../images/Atlas.png'; import moment from "moment"; import _ from 'lodash'; @@ -13,12 +13,33 @@ export default ['$http', 'transcriptService', '$stateParams', function($http, tr templateUrl:template, link: function(scope, element){ - scope.domain_logo_secondary = domain_logo; + scope.domain_logo_secondary = atlas_logo; scope.transcriptLoading = true; + function logo(transcript, url) { + + if (!url) { + // TODO: hack for demo + const isAtlas = transcript.user.givenName === 'Olivia'; + return isAtlas ? atlas_logo : null; + } else if (!url.startsWith("http")) { + const host = window.lo_api_config && window.lo_api_config.root + return host ? host + url : null; + } else { + return url; + } + + scope.domain_logo_secondary = transcript.organization.logo; + } + transcriptService.getTranscriptForUser($stateParams.userId) .then(transcript => { + + scope.domain_logo_secondary = logo(transcript, transcript.organization.logo); + + console.log("Logo: "+scope.domain_logo_secondary); + scope.transcriptLoading = false; console.log('got:', transcript) scope.transcript = transcript; diff --git a/app/components/transcript/transcriptService.js b/app/components/transcript/transcriptService.js index 1019daa..cbbef6c 100644 --- a/app/components/transcript/transcriptService.js +++ b/app/components/transcript/transcriptService.js @@ -4,6 +4,13 @@ import _ from 'lodash'; import moment from 'moment'; //import mockTranscript from './mockTranscript'; +// const samplesDir = "file?name=[path][name].[ext]!../samples"; + +import atlas from "file?name=[path][name].[ext]!../samples/atlas.json"; +import capella from "file?name=[path][name].[ext]!../samples/capella.json"; +import lfcc from "file?name=[path][name].[ext]!../samples/lfcc.json"; +import lipscomb from "file?name=[path][name].[ext]!../samples/lipscomb.json"; + export default ['$http', '$q', function($http, $q){ //the 'levels' of competencies @@ -15,11 +22,36 @@ export default ['$http', '$q', function($http, $q){ return levels; }; + this.getTranscriptUrl = function(user) { + // + // Extract sample query param, and match against whitelist of samples. + // If match, return sample json. + // Else, use transcript api. + // + const matches = window.location.href.match(/sample=([^&]*)/); + const sample = !!matches && matches.length === 2 ? matches[1] : null; + + switch (sample) { + case 'atlas': return atlas; + case 'capella': return capella; + case 'lfcc': return lfcc; + case 'lipscomb': return lipscomb; + } + + return window.lo_api_config ? + window.lo_api_config.root + `/api/v2/users/${user}/transcript`: + `/api/v2/users/${user}/transcript`; + }; + this.getTranscriptForUser = function(user){ + //todo: pull this out to siome sort of filter - const url = window.lo_api_config ? - window.lo_api_config.root + `/api/v2/users/${user}/transcript`: - `/api/v2/users/${user}/transcript`; + const url = this.getTranscriptUrl(user); + + // DEBUG: + + console.dir("Fetching: "+url); + console.dir(window.location); return $http.get(url) .then(res => { @@ -64,6 +96,9 @@ export default ['$http', '$q', function($http, $q){ .filter(target => target['@type'] === 'Program'); transcript.hierarchy = this.buildHierarchy(transcript.progress); + + transcript.organization = extendedTranscript.organization; + return transcript; }; diff --git a/app/styles/main.scss b/app/styles/main.scss index 1a3767d..d260609 100644 --- a/app/styles/main.scss +++ b/app/styles/main.scss @@ -223,7 +223,8 @@ body { } .logo{ - height: 4.5em; + height: auto; + max-height: 5em; *{ height: 100%;