Code

A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents.

Definition

TypePattern
code^[^\\s]+(\\s[^\\s]+)\*$
{
  "<propertyKey>": "value"
}

Path

Code is a primitive datatype, therefore the only possible path correspond to it's property key when used in operator for search or resolution rules matchers.

// Profile
{
  "properties": {
    "countryCode": {
      "type": "code"
    }
  }
}

// Record
{
  "countryCode": "CA"
}

// Path
countryCode

Search