Creating Property Definitions

This documentation focuses on defining Properties using the Northpass API, but you may also define Properties in the Northpass application as well.

Property Names

All Properties must have a name. The name must be unique, cannot contain whitespaces, and cannot be a reserved property.

Example Property Names

Property NameIs Valid?
my_property_nameYes
MyPropertyNameYes
my-property-nameYes
My Property NameNo

Reserved Properties
Northpass provides a set of default Properties that are reserved and always available to you. You will not be able to define a Property using any of the names below. They are:

NamespaceProperty Name
Schoolid
Schoolname
Courseid
Coursename
Personid
Personfirst_name
Personlast_name
Personemail
Personsso_uid
Personphone_number
Personpreferred_locale

Data Types

Properties support various data types. Take note as some data types are only supported by Conditional Properties.

Data TypeDescriptionSupported By
stringA text based value with a limit up to 255 characters. This will escape HTML.Any Property Type
booleanOnly supports true and false.Any Property Type
integerA positive or negative whole number.Any Property Type
floatA positive or negative number that supports decimals.Any Property Type
htmlNative HTML that can be used in course activities and templates to personalize experiences.Conditional Properties Only

What’s Next

Now that you know how to create Property definitions, keep learning about how to set Property values.