Template Assets
The template assets contain all the extraneous data related to articulation that are displayed on template agreements (Major and General Education). The “All” agreements use an array of Published Agreement Template Assets and other agreements uses the Template Asset directly.
- Published Agreement Template Asset
- Template Asset
- Template General Text
- Template General Title
- Template Requirement Title
- Template Group
- Template Group Item
- Template Group Item Section Header
- Template Group Item Section
- Sample
- Extended Fields
- Template Group Section Row
- Template Group Section Cell
- Template Group Section Course Cell
- Template Group Section Series Cell
- Template Group Section Requirement Cell
- Template Group Section General Education Cell
- Template Group Section CSUGE Cell
- Template Group Section CSUAI Cell
- Template Group Section IGETC Cell
- Transferability Model
Published Agreement Template Asset
This model represents a template asset for “All” Agreements. This model is used to represent the individual agreements that make up the “All” agreement.
Sample
{
"name": "Actuarial Science, B.S.",
"templateAssets": []
}
Fields
- name (string)
- The name of the agreement (usually a major or a GE)
- template assets (Template Asset)
- The template assets on the agreement.
Template Asset
The base template asset model in which other types of template assets are derived.
Sample
{
"type": "GeneralTitle",
"position": 0,
"area": "General",
...
}
Base Fields
- type (enum)
- The type of asset from [GeneralTitle, GeneralText, RequirementGroup, RequirementTitle]
- position (number)
- The position this template asset should appear on the agreement
- area (enum)
- The area on an Articulation Template from [General, Requirements]
Certain elements are only allowed to be placed in some areas
Template General Text
The template asset is general text. This model extends Template Asset.
Sample
{
"type": "GeneralText",
"content": "<p>Please visit the department's website to learn more about this major: <a href=\"http://www.anth.ucsb.edu\" rel=\"noopener noreferrer\" target=\"_blank\">www.anth.ucsb.edu</a></p><p><br></p><p><strong>PREPARATION FOR THE MAJOR</strong></p><ul><li>Anthropology 2 and 3 and 5</li><li>Anthropology 9 or PSTAT 5A or PSTAT 5LS</li></ul><p><br></p><p><em>(Transfer applicants do not need to complete all Preparation for the Major in order to be admitted, but should complete as much as possible before transferring so they will be prepared to progress in the major at UCSB.)</em></p>",
...
}
Extended Fields
- content (string)
- HTML content for the Requirement Title section
Template General Title
The template asset is a general title. This model extends Template Asset.
Sample
{
"type": "GeneralTitle",
"content": "ANTHROPOLOGY, B.A.",
...
}
Extended Fields
- content (string)
- The general title itself
Template Requirement Title
The template asset is a requirement title. This model extends Template Asset.
Sample
{
"type": "RequirementTitle",
"content": "PREPARATION FOR THE MAJOR",
...
}
Extended Fields
- content (string)
- The requirement title itself
Template Group
The template asset is a requirement group. This model extends Template Asset.
Sample
{
"type": "RequirementGroup",
"hideSectionLetters": false,
"sections": [],
"attributes": [],
"showConjunctionBetweenSections": false,
"instruction": {
"type": "Conjunction",
"conjunction": "And",
"id": "7dc01e2b-0444-470e-184f-08dba898cc31",
"selectionType": "Complete"
},
"advisements": [],
...
}
Extended Fields
- hideSectionLetters (boolean)
- If true, section letters will be hidden for this group
- sections (Array of Template Group Item)
- The sections and section headers which is polymorphic to the group item type
- attributes (Array of Attribute)
- The attributes associated to this requirement group
- showConjunctionBetweenSections (boolean)
- If true, conjunctions will be shown between sections
- instruction (Instruction)
- The instruction, if any, to be shown at the top of the group
- advisements (Array of Advisement)
- The advisements, or sub-instructions, associated to the requirement group
Template Group Item
The base model for template group items. Other template group items are derived from this model.
Sample
{
"type": "Section",
"position": 1,
"attributes": []
}
Base Fields
- type (enum)
- The type of template group item from [Section,SectionHeader]
- position (number)
- The position that this template group item should appear in the group
- attributes (Array of Attribute)
- The attributes associated to this template group item
Template Group Item Section Header
This type of group item is SectionHeader
and extends Template Group Item.
Sample
{
"type": "SectionHeader",
"content": "VISUAL OR PERFORMING ARTS COURSES",
...
}
Extended Fields
- content (string)
- The section header text itself
Template Group Item Section
This type of group item is Section
and extends Template Group Item.
Sample
{
"type": "Section",
"rows": [],
"advisements": [],
...
}
Extended Fields
- rows (Array of Template Group Section Row)
- The section rows which belong to this template group item
- advisements (Array of Advisement)
- The advisements associated with this template group item
Template Group Section Row
This model represents the section row on a template group.
Sample
{
"position": 0,
"cells": [],
"attributes": []
}
Fields
- position (number)
- The position that this section row should appear in the template row item section
- cells (Array of Template Group Section Cell)
- The cells associated to this section row which is polymorphic to the type of cell it is
- attributes (Array of Attribute)
- The attributes associated to this section row
Template Group Section Cell
This is the base model for Template Group Section Cells. The other cell types derive from this model.
Sample
{
"type": "Course",
"id": "ff11200e-32a1-46bb-8a8d-08dba897c33b",
"position": 0,
"attributes": [],
...
}
Base Fields
- type
- The type of cell from [Course, Series, Requirement, GeneralEducation, CSUGE, CSUAI, IGETC]
- position (number)
- The position this cell should appear on the section row
- attributes (Array of Attribute)
- The attributes associated to this cell
Template Group Section Course Cell
This type of cell is a Course
. This model extends Template Group Section Cell.
Sample
{
"type": "Course",
"course": {
"courseIdentifierParentId": 286382,
"courseTitle": "Visual Literacy",
"courseNumber": "1A",
"prefix": "ART",
"prefixParentId": 6130,
"prefixDescription": "Art",
"departmentParentId": 1135,
"department": "Art",
"begin": "F2016",
"end": "",
"minUnits": 5.0,
"maxUnits": 5.0
},
"visibleCrossListedCourses": [],
"requisites": [],
"courseAttributes": [],
...
}
Extended Fields
- course (Course)
- The course object of this cell
- visibleCrossListedCourses(Array of Course Cell Cross Listed)
- The cross listed courses for this course
- requisites (Array of Course Cell Requisite)
- The pre-requisite and co-requisite courses associated with this course
- courseAttributes (Array of Attribute)
- The attributes associated to the course in this cell
Template Group Section Series Cell
This type of cell is a Series
. This model extends Template Group Section Cell.
Sample
{
"type": "Series",
"series": {},
"requisites": [],
"visibleCrossListedCourses": [],
"seriesAttributes": [],
"courseAttributes": [
{
"seriesCourseId": "a5dc7088-693c-4996-b93c-ee3dd2373048",
"position": 0,
"content": "Or equivalent"
}
],
...
}
Extended Fields
- series (Series)
- Details about the series
- requisites (Array of Series Cell Requisite)
- PreRequisites and CoRequisites which belong to a course in the series
- visibleCrossListedCourses (Array of Series Cell Cross Listed Course)
- The array of cross listed courses which belong to a course in the series
- seriesAttributes(Array of Attribute)
- The array of attributes that apply to the series as a whole
- courseAttributes (Array of Series Attribute Course)
- An array of attributes apply to a specific course on the series
Template Group Section Requirement Cell
This type of cell is a Requirement
. This model extends Template Group Section Cell.
Sample
{
"type": "Requirement",
"requirement": {
"name": "Course work equivalent to sixth quarter (fourth semester) of study in a single language other than English (at the college level)"
},
"requirementAttributes": [],
...
}
Extended Fields
- requirement (Requirement)
- The requirement in this cell
- requirementAttributes (Array of Attribute)
- The attributes associated with this requirement
Template Group Section General Education Cell
This type of cell is a GeneralEducation
. This model extends Template Group Section Cell.
Sample
{
"type": "GeneralEducation",
"generalEducationArea": {
"code": "EUR",
"name": "European Traditions Requirement",
"courses": []
},
"generalEducationAreaAttributes": [],
...
}
Extended Fields
- generalEducationArea (GeneralEducationArea)
- Details about the receiving general education area in this cell
- generalEducationAreaAttributes (Array of Attribute)
- The attributes associated with this general education area
Template Group Section CSUGE Cell
This type of cell is a CSUGE
. This model extends Template Group Section Cell.
Sample
{
"type": "CSUGE",
"csuge": {
"areaType": "CSUGE",
"name": "Written Communication",
"code": "A2"
},
...
}
Extended Fields
- csuge (Transferability)
- The CSUGE transferability model
Template Group Section CSUAI Cell
This type of cell is a CSUAI
. This model extends Template Group Section Cell.
Sample
{
"type": "CSUAI",
"csuai": {
"areaType": "CSUAI",
"name": "American History",
"code": "US1"
},
...
}
Extended Fields
- csuai (Transferability)
- The CSUAI transferability model
Template Group Section IGETC Cell
This type of cell is a IGETC
. This model extends Template Group Section Cell.
Sample
{
"type": "IGETC",
"igetc": {
"areaType": "IGETC",
"name": "Math",
"code": "2A"
},
...
}
Extended Fields
- igetc (Transferability)
- The IGETC transferability model
Transferability Model
This model contains the details of a transferability object such as CSUGE, CSUAI, and IGETC.
Sample
{
"areaType": "CSUGE",
"name": "Written Communication",
"code": "A2"
}
Fields
- areaType (enum)
- The type of transferability area from [CSUGE, CSUAI, IGETC]
- name (string)
- The name of the transferability
- code (string)
- The transferability code or short name