AOR Name
← Back to Question Bank
Details
Sample version of the rendered form.
Form Data
What the form data looks like when it is submitted.
{ "firstName": "Sarah", "lastName": "Johnson"}CommonGrants Data
What the data looks like translated to the CommonGrants data model using the mapping-to-cg.
{ "contacts": { "otherContacts": { "authorizedRepresentative": { "name": { "firstName": "Sarah", "lastName": "Johnson" } } } }}JSON Schema
Provides the structure and data validation for this question.
$id: QuestionAorName.yamltype: objectunevaluatedProperties: not: {}examples: - firstName: Sarah lastName: Johnson - prefix: Dr. firstName: Jane middleName: Edward lastName: Doe suffix: Jr.description: The name of the Authorized Organization Representative (AOR)x-ui-schema: type: Group label: Authorized Organization Representative Name elements: - type: Control scope: '#/properties/prefix' label: Prefix - type: Control scope: '#/properties/firstName' label: First Name - type: Control scope: '#/properties/middleName' label: Middle Name - type: Control scope: '#/properties/lastName' label: Last Name - type: Control scope: '#/properties/suffix' label: Suffixx-mapping-to-cg: contacts: otherContacts: authorizedRepresentative: name: prefix: field: prefix firstName: field: firstName middleName: field: middleName lastName: field: lastName suffix: field: suffixx-mapping-from-cg: prefix: field: contacts.otherContacts.authorizedRepresentative.name.prefix firstName: field: contacts.otherContacts.authorizedRepresentative.name.firstName middleName: field: contacts.otherContacts.authorizedRepresentative.name.middleName lastName: field: contacts.otherContacts.authorizedRepresentative.name.lastName suffix: field: contacts.otherContacts.authorizedRepresentative.name.suffixx-entity: - authorizedRepresentativex-tags: - person - namerequired: - firstName - lastNameproperties: prefix: description: Honorific prefix $schema: https://json-schema.org/draft/2020-12/schema $id: NamePrefix.yaml type: string enum: - Mr. - Ms. - Mrs. - Dr. - Prof. firstName: type: string description: First or given name middleName: type: string description: Middle name lastName: type: string description: Last or family name suffix: description: Name suffix $schema: https://json-schema.org/draft/2020-12/schema $id: NameSuffix.yaml type: string enum: - Jr. - Sr. - II - III - IV - Ph.D. - M.D. - Esq.UI Schema
Describes how to present the question in the form UI.
{ "type": "Group", "label": "Authorized Organization Representative Name", "elements": [ { "type": "Control", "scope": "#/properties/prefix", "label": "Prefix" }, { "type": "Control", "scope": "#/properties/firstName", "label": "First Name" }, { "type": "Control", "scope": "#/properties/middleName", "label": "Middle Name" }, { "type": "Control", "scope": "#/properties/lastName", "label": "Last Name" }, { "type": "Control", "scope": "#/properties/suffix", "label": "Suffix" } ]}Mapping to CommonGrants
How to translate this question into the CommonGrants ProposalBase data model.
{ "contacts": { "otherContacts": { "authorizedRepresentative": { "name": { "prefix": { "field": "prefix" }, "firstName": { "field": "firstName" }, "middleName": { "field": "middleName" }, "lastName": { "field": "lastName" }, "suffix": { "field": "suffix" } } } } }}Mapping from CommonGrants
How to pre-fill this question with data from the ProposalBase data model.
{ "prefix": { "field": "contacts.otherContacts.authorizedRepresentative.name.prefix" }, "firstName": { "field": "contacts.otherContacts.authorizedRepresentative.name.firstName" }, "middleName": { "field": "contacts.otherContacts.authorizedRepresentative.name.middleName" }, "lastName": { "field": "contacts.otherContacts.authorizedRepresentative.name.lastName" }, "suffix": { "field": "contacts.otherContacts.authorizedRepresentative.name.suffix" }}