-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sbJson 2.0 contacts #64
Comments
Just a note that the |
I'm thinking no scanning will be necessary if a unique contact is created for each occurrence in sbJson. I find a contact, I create one, and each has a unique ID so it can find its way back. Otherwise we are making too many guesses about what contact to use in any situation. |
When going from mdJSON to sbJSON, you'll have to put all the unique contacts into the sbJSON |
OK, you're talking about the |
Exactly. |
Not sure why |
Nope. Might be related to agreement #s? |
Mapping of sbJson contacts to mdTranslator internal data structure:
Definition: The contacts of an item. This is an collection of basic typed contact objects, which have the fields: type, name, highlighted.
Mapping...
[schema][contacts][n].contactId
Map to contacts name
[schema][contacts][n].name
view mdTools
Map to contacts contactType
[schema][contacts][n].contactType
view mdTools
Map to contacts isOrganization
[schema][contacts][n].isOrganization
view mdTools
Map to contacts phones
[schema][contacts][n].[phones][n].phoneNumber
view mdTools
[schema][contacts][n].[phones][n][phoneServiceTypes][n]
view mdTools
Map to contacts hoursOfService
[schema][contacts][n].hoursOfService
view mdTools
Map to contacts contactInstructions
[schema][contacts][n].contactInstructions
view mdTools
Map to contacts eMailList
[schema][contacts][n][eMailList][n]
view mdTools
Map to contacts positionName
[schema][contacts][n].positionName
view mdTools
Map to new contact
[schema][contacts][n+1].contactId
[schema][contacts][n+1].name
[schema][contacts][n+1].isOrganization = true
view mdTools
[schema][contacts][n].[logos][n].graphicName
view mdTools
[schema][contacts][n].[logos][n].[graphicURI][n].uri
view mdTools
Map to contacts logos
[schema][contacts][n].[logos][n].graphicName
view mdTools
[schema][contacts][n].[logos][n].[graphicURI][n].uri
view mdTools
Not Mapped...
Mapping to mdTranslator
Translation to mdJson
The text was updated successfully, but these errors were encountered: