Skip to content

Instantly share code, notes, and snippets.

@hisashiyamaguchi
Created October 22, 2020 01:04
Show Gist options
  • Save hisashiyamaguchi/86374c59a3150fde9d95c03408be9df2 to your computer and use it in GitHub Desktop.
Save hisashiyamaguchi/86374c59a3150fde9d95c03408be9df2 to your computer and use it in GitHub Desktop.
[
{
"length": 100,
"case-sensitive": false,
"name": "Business_Group",
"type": "string"
},
{
"name": "accountDataRequestTime",
"type": "dateTime"
},
{
"name": "accountDeleteRequestTime",
"type": "dateTime"
},
{
"name": "birthday",
"features": [
"query"
],
"type": "date",
"description": "End-User's birthday. Returned by the `birthdate` claim."
},
{
"name": "clients",
"attr_defs": [
{
"length": null,
"case-sensitive": true,
"constraints": [
"locally-unique",
"required"
],
"name": "clientId",
"features": [
"primary-key"
],
"type": "string"
},
{
"name": "firstLogin",
"type": "dateTime"
},
{
"name": "lastLogin",
"type": "dateTime"
},
{
"length": 1000,
"case-sensitive": false,
"name": "name",
"type": "string"
}
],
"type": "plural"
},
{
"name": "consents",
"attr_defs": [
{
"name": "marketing",
"attr_defs": [
{
"length": 32,
"case-sensitive": true,
"name": "clientId",
"type": "string",
"description": "Client ID used to modify the consent."
},
{
"length": 100,
"case-sensitive": true,
"name": "context",
"type": "string",
"description": "Context in which the consent was changed."
},
{
"name": "granted",
"type": "boolean",
"description": "Whether or not the consent is granted."
},
{
"length": 8,
"case-sensitive": true,
"name": "type",
"type": "string",
"description": "Type of consent, 'implicit' or 'explicit'."
},
{
"name": "updated",
"type": "dateTime",
"description": "Date and time of the last change to the consent."
}
],
"type": "object"
}
],
"type": "object"
},
{
"name": "deactivateAccount",
"type": "dateTime",
"description": "Time when the account was deactivated."
},
{
"name": "display",
"type": "json",
"description": "Placeholder for public data. Referenced as 'public_display' in the flow."
},
{
"length": 1000,
"case-sensitive": false,
"name": "displayName",
"features": [
"query"
],
"type": "string",
"description": "Shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. Returned by the `preferred_username` claim."
},
{
"length": 256,
"case-sensitive": false,
"constraints": [
"unique"
],
"name": "email",
"features": [
"query",
"reverse-query"
],
"type": "string",
"description": "End-User's preferred e-mail address. Returned by the `email` claim."
},
{
"name": "emailVerified",
"type": "dateTime",
"description": "Time when the email address was verified. Returned as boolean by the `email_verified` claim."
},
{
"length": 1000,
"case-sensitive": false,
"name": "externalId",
"type": "string"
},
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "familyName",
"features": [
"query"
],
"type": "string",
"description": "Surname(s) or last name(s) of the End-User. Returned by the `family_name` claim."
},
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "fullName",
"features": [
"query"
],
"type": "string",
"description": "End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences. Returned by the `name` claim."
},
{
"length": 100,
"case-sensitive": false,
"name": "gender",
"type": "string",
"description": "End-User's gender. Returned by the `gender` claim."
},
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "givenName",
"features": [
"query"
],
"type": "string",
"description": "Given name(s) or first name(s) of the End-User. Returned by the `given_name` claim."
},
{
"name": "lastLogin",
"type": "dateTime",
"description": "Time of the last authentication."
},
{
"name": "legalAcceptances",
"attr_defs": [
{
"length": 32,
"case-sensitive": true,
"name": "clientId",
"type": "string"
},
{
"name": "dateAccepted",
"type": "dateTime"
},
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"locally-unique",
"required"
],
"name": "legalAcceptanceId",
"features": [
"primary-key"
],
"type": "string"
}
],
"type": "plural"
},
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "middleName",
"type": "string",
"description": "Middle name(s) of the End-User. Returned by the `middle_name` claim."
},
{
"length": 256,
"case-sensitive": false,
"constraints": [
"unique"
],
"name": "mobileNumber",
"features": [
"query"
],
"type": "string"
},
{
"name": "mobileNumberVerified",
"type": "dateTime"
},
{
"name": "password",
"type": "password-bcrypt",
"description": "End-User's password."
},
{
"name": "photos",
"attr_defs": [
{
"length": null,
"case-sensitive": true,
"name": "type",
"type": "string"
},
{
"length": null,
"case-sensitive": true,
"name": "value",
"type": "string"
}
],
"type": "plural",
"description": "Primary user profile photos."
},
{
"name": "primaryAddress",
"attr_defs": [
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "address1",
"type": "string"
},
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "address2",
"type": "string"
},
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "city",
"type": "string"
},
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "company",
"type": "string"
},
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "country",
"type": "string"
},
{
"length": 100,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "phone",
"features": [
"query"
],
"type": "string"
},
{
"length": 100,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "stateAbbreviation",
"type": "string"
},
{
"length": 100,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "zip",
"type": "string"
},
{
"length": 100,
"case-sensitive": false,
"constraints": [
"unicode-printable"
],
"name": "zipPlus4",
"type": "string"
}
],
"type": "object",
"description": "End-User's preferred postal address. Returned by the `address` claim."
},
{
"name": "profiles",
"attr_defs": [
{
"length": 1000,
"case-sensitive": false,
"name": "domain",
"type": "string"
},
{
"length": 1000,
"case-sensitive": false,
"constraints": [
"required",
"unique"
],
"name": "identifier",
"type": "string",
"description": "Profile provider unique identifier"
},
{
"length": null,
"case-sensitive": true,
"name": "photo",
"type": "string",
"description": "URL of a photo of this contact."
},
{
"length": null,
"case-sensitive": true,
"name": "providerSpecifier",
"type": "string",
"description": "Internal text field for identifying the provider in a unique and normalized manner."
}
],
"type": "plural"
},
{
"name": "roles",
"attr_defs": [
{
"length": 1000,
"case-sensitive": true,
"name": "display",
"type": "string",
"description": "A human-readable name, primarily used for display purposes."
},
{
"length": 256,
"case-sensitive": false,
"constraints": [
"locally-unique",
"required"
],
"name": "value",
"features": [
"primary-key"
],
"type": "string",
"description": "The value of a role."
}
],
"type": "plural",
"description": "A list of roles for the User that collectively represent who the User is, e.g., 'Student', 'Faculty'."
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment