Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
xps upload
  • Loading branch information
khazelton committed Apr 10, 2020
1 parent 24b75c1 commit 885e634
Show file tree
Hide file tree
Showing 17 changed files with 1,734 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.adoc
@@ -0,0 +1,36 @@
= Internet2 Trust and Identity Schema

:Email: hazelton@internet2.edu
:Date: 2020-04-08
:Revision: 04
:SelfLink: https://github.internet2.edu/TIER/schema
:Editor: Keith Hazelton
:Email: hazelton@internet2.edu

[NOTE]
====
Revision: {Revision} +
{Date} +
Self-link: {SelfLink} +
Editor: {Editor}, {Email}
====

==== Person Schema

Draft Minimal Registry Person Schema from InCommon Trusted Access Platform link:schema/minimalRegistryPerson.json[(json)] +
SOR-Registry Core Person Schema link:https://spaces.at.internet2.edu/display/cifer/SOR-Registry+Core+Schema+Specification[(wiki)]


==== Colorado School of Mines Banner-derived Person Schema and examples

Example Banner Person Data Example in SPML link:schema/bannerSoMschema.adoc[(adoc)] +
Example Banner Person Data Example simplified link:schema/bannerSoMattributes.adoc[(adoc)] +
Example Banner Person Data Example in yaml link:schema/bannerSoMattributes.yaml[(yaml)] +
Example Banner Person Data Example in json link:schema/bannerSoMattributes.json[(json)] +
Derived JSON Schema for Banner Person Instances link:schema/bannerSoMjsonSchema.json[(json)]

==== References link:references.adoc[(adoc)]

==== Issues link:issues.adoc[(adoc)]


63 changes: 63 additions & 0 deletions attributes/attributeClasses.adoc
@@ -0,0 +1,63 @@
Attribute Classes

AccessibilityProfile +
Account +
Address +
Affiliation +
Age +
Anniversary +
Application +
Assurance +
BirthPlace +
Birthdate +
Certification +
Citizenship +
Clearance +
Contact +
Country +
Course +
DN +
Date +
DeathDate +
Description +
Email +
EmailMetadata +
Entitlement +
Ethnicity +
Format +
Gender +
Group +
HostName +
Identifier +
Jurisdiction +
Language +
Link +
Locale +
Location +
Manager +
Name +
Note +
Operational +
Organization +
Password +
Phone +
Photo +
PhysicalCharacteristic +
Pointer +
Position +
Preference +
Presence +
Privacy +
Profile +
Relationship +
Residency +
Role +
Salutation +
Search +
StateOrProvince +
StatusMessage +
SuperiorNode +
Tag +
Timezone +
URL +
VitalEvent +
13 changes: 13 additions & 0 deletions data/person1.json
@@ -0,0 +1,13 @@
{
"name": {
"lastName": "Johnson",
"firstName": "Joe"
},
"birthDate": "1965-08-10",
"username": "jjohnson",
"institutionalId": "34-765554",
"email": {
"emailAddress": "jjohnson@goo.edu",
"emailType": "primary"
}
}
21 changes: 21 additions & 0 deletions data/person2.json
@@ -0,0 +1,21 @@
{
"name": {
"lastName": "Jansen",
"firstName": "Jo"
},
"birthDate": "1955-12-10",
"username": "jjansen",
"institutionalId": "34-546877",
"identifier": [
{"id": "357A225",
"source": "SIS"
},
{
"id": "jansen121",
"source": "HR"
} ],
"email": {
"emailAddress": "jjansen@goo.edu",
"emailType": "primary"
}
}
4 changes: 4 additions & 0 deletions issues.adoc
@@ -0,0 +1,4 @@
Current Issues
--------------
- Create db schema to carry Banner person instances
- Choose approach for ConnID connector that inputs person JSON and provisions to LDAP
21 changes: 21 additions & 0 deletions references.adoc
@@ -0,0 +1,21 @@
References
====
This Repository
=====
* link:README.adoc[]
* link:attributes/attributeClasses.adoc[Attribute Classes that can be used to categorize individual attributes]
External Links
=====
* https://json-schema.org/[Latest JSON Schema Specification link]
* https://spacetelescope.github.io/understanding-json-schema/UnderstandingJSONSchema.pdf[Understanding JSON Schema]; Good intro but somewhat dated: Refers to Draft 4, current is Draft 7
* Phil Sturgeon’s https://philsturgeon.uk/api/2018/04/13/openapi-and-json-schema-divergence-solved/[two-part article] on
the convergence between http://json-schema.org/[JSON Schema] and https://www.openapis.org/[OAI 3]
* A little https://github.com/wework/json-schema-to-openapi-schema[NodeJS package] to convert JSON Schema to OpenAPI Schema Objects
* https://blog.readme.io/an-example-filled-guide-to-swagger-3-2/[A Visual Guide to What's New in OAI 3.0]; A good starting point
* https://editor.swagger.io/[Swagger Editor]
* https://app.swaggerhub.com/home[SWAGGERhub]: A good place to work collaboratively on schema; take the rendered server-side javacript and remove the Swagger branding
* Community-maintained https://github.com/OpenAPITools/openapi-generator/releases/tag/v3.0.0[Codegen packages] for OAI 3 API specifications; On Twitter as https://twitter.com/oas_generator[]
* link:schema/card.schema.json[]
* link:schema/card.schema.yml[]
* link:schema/gaborMinimalPersonSchema.yml[] +
109 changes: 109 additions & 0 deletions schema/bannerSoMattributes.adoc
@@ -0,0 +1,109 @@
=== bannerSoMattributes.adoc

- - -
_2020-04-08 10:10 attribute list

FROM bannerSchema.adoc

body

addRequest

executionMode: ?
requestID: ?
returnData: ?
targetID: ?

psoID
ID: ALPHA
targetID: ?
containerID/

containerID
ID: ?
targetID: ?
containerID/

data:

UDCIdentity
UDCIdentifier: E286607965E09B09BC1183030991013099

PersonIdentity
PUBLISHER_NAME: Banner
action: UPDATE

PersonName
FormattedName: given family
GivenName
FamilyName
Affix type:formOfAddress: Mr.
Affix type:qualification: Sr.

Gender: Mmmm

Birthdate
BirthDay: 1
BirthMonth: 1
BirthYear: 1997

PersonIdentity/

InstitutionalRoles

institutionalrole
role: UGRAD
context: INTCOMP
institutionalrole/

institutionalrole
role: INTACCEPT
context: INTCOMP
institutionalrole/

Institutional Roles/

Extension

Attribute
name: CWID
value: 1075463499

Attribute
name: PIDM
value: 44396499

Attribute
name: PIDM
value: 44396499

Attribute
name: APDC_CODE||'|'||APDC_DATE||'|'||TERM_CODE_ENTRY||'|'||LEVL_CODE||'|'||APPL_NO
value: CC|2015-07-28 14:32:49|202080|UG|1

Attribute
name: GOBTPAC_USER
value: GLEE

Attribute
name: GOBTPAC_USER
value: GLEE

Extension/

UDCIdentity/

data/

capabilityData
capabilityURI: ?
mustUnderstand: ?

addRequest/

body/



- - -
_2020-04-08 10:10 references and links_
94 changes: 94 additions & 0 deletions schema/bannerSoMattributes.json
@@ -0,0 +1,94 @@
{
"addRequest": {
"executionMode": "x",
"requestID": "x",
"returnData": "x",
"targetID": "x",
"psoID": {
"ID": "ALPHA",
"targetID": "x",
"psoContainerID": null
},
"containerID": {
"ID": "x",
"targetID": "x"
},
"data": {
"UDCIdentity": {
"UDCIdentifier": "E286607965E09B09BC1183030991013099"
},
"PersonIdentity": {
"PUBLISHER_NAME": "Banner",
"action": "UPDATE",
"PersonName": {
"FormattedName": "given family",
"GivenName": "x",
"FamilyName": "x",
"Affix typeFormOfAddress": "Mr.",
"Affix typeQualification": "Sr."
},
"Gender": "M",
"Birthdate": {
"BirthDay": 1,
"BirthMonth": 1,
"BirthYear": 1997
}
},
"InstitutionalRoles": [
{
"institutionalrole": {
"role": "UGRAD",
"context": "INTCOMP"
}
},
{
"institutionalrole": null,
"role": "INTACCEPT",
"context": "INTCOMP"
}
],
"Extension": [
{
"Attribute": {
"name": "CWID",
"value": 1075463499
}
},
{
"Attribute": {
"name": "PIDM",
"value": 44396499
}
},
{
"Attribute": {
"name": "PIDM",
"value": 44396499
}
},
{
"Attribute": {
"name": "APDC_CODE||'|'||APDC_DATE||'|'||TERM_CODE_ENTRY||'|'||LEVL_CODE||'|'||APPL_NO",
"value": "CC|2015-07-28 14:32:49|202080|UG|1"
}
},
{
"Attribute": {
"name": "GOBTPAC_USER",
"value": "GLEE"
}
},
{
"Attribute": {
"name": "GOBTPAC_USER",
"value": "GLEE"
}
}
]
},
"capabilityData": {
"capabilityURI": "x",
"mustUnderstand": "x"
}
}
}

0 comments on commit 885e634

Please sign in to comment.