
eedm.constituent-persons.v7.0.constituent-persons.json Maven / Gradle / Ivy
{
"title" : "Constituent Persons",
"description" : "An individual who is of interest to an advancement system, may or may not be part of the standard persons entity.",
"type" : "object",
"properties" : {
"metadata" : {
"$ref" : "resource:/eedm/metadata.json"
},
"id" : {
"title" : "ID",
"description" : "A global identifier of a constituent person.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
},
"person" : {
"title" : "Person",
"description" : "An optional reference to link a constituent person to the common persons entity.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Person.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/persons/{id}",
"targetSchema" : {
"$ref" : "persons.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"names" : {
"title" : "Names",
"description" : "The names associated with a person, specified by type (for example, \"legal\" or \"birth\").",
"type" : "object",
"properties" : {
"personalNames" : {
"title" : "Personal Names",
"description" : "The names commonly used by the constituent.",
"type" : "array",
"minItems" : 1,
"items" : {
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "The type of a person's name being defined. For example, a 'Primary' name.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Type.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/constituent-name-types/{id}",
"targetSchema" : {
"$ref" : "constituent-name-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"preference" : {
"title" : "Name Preference",
"description" : "Indicates the preferred name for the person. Only one name should be preferred per person.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "primary" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"fullName" : {
"title" : "Full Name",
"description" : "The person's full name.",
"type" : "string",
"minLength" : 1
},
"title" : {
"title" : "Title",
"description" : "The person's title. For example, \"Mr.\", \"Mrs.\", or \"Dr.\".",
"type" : "string"
},
"firstName" : {
"title" : "First Name",
"description" : "The person's first, or given, name.",
"type" : "string"
},
"middleName" : {
"title" : "Middle Name",
"description" : "The person's middle name.",
"type" : "string"
},
"lastNamePrefix" : {
"title" : "Last Name Prefix",
"description" : "The article or preposition portion of a person's last name. For example, \"De la\", \"Van\", or \"Van der Von\".",
"type" : "string"
},
"lastName" : {
"title" : "Last Name",
"description" : "The person's last, or family, name.",
"type" : "string"
},
"pedigree" : {
"title" : "Pedigree/Suffix",
"description" : "The person's pedigree. For example, \"Jr.\" or \"Sr.\".",
"type" : "string"
},
"professionalAbbreviations" : {
"title" : "Professional Abbreviation",
"description" : "A post-nominal professional abbreviation, reflecting an earned degree or honor. For example, \"M.D.\" or \"Ph.D.\".",
"type" : "array",
"items" : {
"type" : "string"
}
}
},
"additionalProperties" : false,
"required" : [ "fullName" ]
}
},
"surnames" : {
"title" : "Surnames",
"description" : "The surnames/family names of the constituent.",
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "The type of the surname.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Type.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/surname-types/{id}",
"targetSchema" : {
"$ref" : "surname-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
},
"surname" : {
"title" : "Surname",
"description" : "The surname of the constituent.",
"type" : "string",
"minLength" : 1
}
},
"additionalProperties" : false,
"required" : [ "type", "surname" ]
}
},
"formattedNames" : {
"title" : "Formatted Names",
"description" : "The formatted names associated with the constituent.",
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "The type of the formatted name.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Type.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/formatted-name-types/{id}",
"targetSchema" : {
"$ref" : "formatted-name-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
},
"forUseBy" : {
"title" : "For Use By",
"description" : "The person for which the formatted name is always used when addressing the constituent person.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the For Use By.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/constituent-persons/{id}",
"targetSchema" : {
"$ref" : "constituent-persons.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
},
"name" : {
"title" : "Name",
"description" : "A formatted name for the constituent.",
"type" : "string",
"minLength" : 1
}
},
"additionalProperties" : false,
"required" : [ "type", "name" ]
}
},
"institutionalSuffixes" : {
"title" : "Institutional Suffixes",
"description" : "The suffixes that institutions may use when addressing a constituent.",
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "The type of institutional suffix.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Type.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/institutional-suffix-types/{id}",
"targetSchema" : {
"$ref" : "institutional-suffix-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
},
"suffix" : {
"title" : "Suffix",
"description" : "A institutional suffix that may be applied to the constituent.",
"type" : "string",
"minLength" : 1
}
},
"additionalProperties" : false,
"required" : [ "type", "suffix" ]
}
}
},
"additionalProperties" : false,
"required" : [ "personalNames" ]
},
"status" : {
"title" : "Status",
"description" : "The status of the person.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Status.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/advancement-statuses/{id}",
"targetSchema" : {
"$ref" : "advancement-statuses.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"birth" : {
"title" : "Birth",
"description" : "Information about the constituent's birth",
"type" : "object",
"properties" : {
"bornOn" : {
"title" : "Date of Birth",
"description" : "The date when a person was born.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"year" : {
"title" : "Year",
"description" : "The year portion of a date.",
"type" : "string"
},
"month" : {
"title" : "Month",
"description" : "The month part of the date.",
"type" : "string"
},
"day" : {
"title" : "Day",
"description" : "The day portion of a date.",
"type" : "string"
}
},
"additionalProperties" : false
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"location" : {
"title" : "Location",
"description" : "The location where the constituent was born.",
"type" : "string"
}
},
"additionalProperties" : false
},
"death" : {
"title" : "Death",
"description" : "Information about the constituent's death.",
"type" : "object",
"properties" : {
"diedOn" : {
"title" : "Date of Death",
"description" : "The date when the constituent died.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"year" : {
"title" : "Year",
"description" : "The year portion of a date.",
"type" : "string"
},
"month" : {
"title" : "Month",
"description" : "The month part of the date.",
"type" : "string"
},
"day" : {
"title" : "Day",
"description" : "The day portion of the date.",
"type" : "string"
}
},
"additionalProperties" : false
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"location" : {
"title" : "Location",
"description" : "The location where the constituent died.",
"type" : "string"
}
},
"additionalProperties" : false
},
"affiliation" : {
"title" : "Affiliation",
"description" : "The constituents relationship to the institution.",
"type" : "array",
"minItems" : 1,
"items" : {
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "The type of the affiliation of the constituent to the institution.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Type.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/constituent-types/{id}",
"targetSchema" : {
"$ref" : "constituent-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
},
"preference" : {
"title" : "Preference",
"description" : "The preference of this affiliation over all others for this constituent.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "primary" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"classYear" : {
"title" : "Class Year",
"description" : "The preferred class year for this affiliation.",
"oneOf" : [ {
"type" : "string",
"format" : "year",
"pattern" : "^([1-9][0-9]*)?[0-9]{4}$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"institutionUnit" : {
"title" : "Institution Unit",
"description" : "The preferred institution unit (e.g., a department of the educational institution) for this affiliation",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Institution Unit.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/educational-institution-units/{id}",
"targetSchema" : {
"$ref" : "educational-institution-units.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"startOn" : {
"title" : "Start On",
"description" : "The first date when this affiliation is valid.",
"oneOf" : [ {
"type" : "string",
"format" : "date-time",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[0-1][0-9]):[0-5][0-9])?$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"endOn" : {
"title" : "End On",
"description" : "The last date when this affiliation is valid.",
"oneOf" : [ {
"type" : "string",
"format" : "date-time",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[0-1][0-9]):[0-5][0-9])?$"
}, {
"type" : "string",
"maxLength" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "type" ]
}
},
"gender" : {
"title" : "Gender",
"description" : "The biological or social cultural masculinity or femininity of the person.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "male", "female", "unspecified" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"religion" : {
"title" : "Religion",
"description" : "The religion of the constituent.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Religion.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/religions/{id}",
"targetSchema" : {
"$ref" : "religions.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"vocation" : {
"title" : "Vocation",
"description" : "The vocation of the constituent.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Vocation.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/vocations/{id}",
"targetSchema" : {
"$ref" : "vocations.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"ethnicCategory" : {
"title" : "Ethnic Category",
"description" : "The category of ethnic origin to which the person belongs.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "hispanic", "nonHispanic" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"races" : {
"title" : "races",
"description" : "The racial groups to which a person belongs.",
"type" : "array",
"items" : {
"title" : "races",
"description" : "The racial groups to which a person belongs.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the races.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/races/{id}",
"targetSchema" : {
"$ref" : "races.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}
},
"preferredLanguage" : {
"title" : "Preferred Language",
"description" : "The preferred language of the person.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Preferred Language.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/constituent-languages/{id}",
"targetSchema" : {
"$ref" : "constituent-languages.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"nationalities" : {
"title" : "Nationalities",
"description" : "The citizenships of the person.",
"type" : "array",
"items" : {
"enum" : [ "AFG", "AGO", "ALB", "AND", "ARE", "ARG", "ARM", "ATG", "AUS", "AUT", "AZE", "BDI", "BEL", "BEN", "BES", "BFA", "BGD", "BGR", "BHR", "BHS", "BIH", "BLR", "BLZ", "BOL", "BRA", "BRB", "BRN", "BTN", "BWA", "CAF", "CAN", "CHE", "CHL", "CHN", "CIV", "CMR", "COD", "COG", "COL", "COM", "CPV", "CRI", "CUB", "CUW", "CYP", "CZE", "DEU", "DJI", "DMA", "DNK", "DOM", "DZA", "ECU", "EGY", "ERI", "ESH", "ESP", "EST", "ETH", "FIN", "FJI", "FRA", "FSM", "GAB", "GBR", "GEO", "GHA", "GIN", "GLP", "GMB", "GNB", "GNQ", "GRC", "GRD", "GTM", "GUY", "HND", "HRV", "HTI", "HUN", "IDN", "IMN", "IND", "IRL", "IRN", "IRQ", "ISL", "ISR", "ITA", "JAM", "JOR", "JPN", "KAZ", "KEN", "KGZ", "KHM", "KIR", "KNA", "KOR", "KWT", "LAO", "LBN", "LBR", "LBY", "LCA", "LIE", "LKA", "LSO", "LTU", "LUX", "LVA", "MAR", "MCO", "MDA", "MDG", "MDV", "MEX", "MHL", "MKD", "MLI", "MLT", "MMR", "MNE", "MNG", "MNP", "MOZ", "MRT", "MUS", "MWI", "MYS", "NAM", "NER", "NGA", "NIC", "NLD", "NOR", "NPL", "NRU", "NZL", "OMN", "PAK", "PAN", "PCN", "PER", "PHL", "PLW", "PNG", "POL", "PRI", "PRK", "PRT", "PRY", "PSE", "QAT", "ROU", "RUS", "RWA", "SAU", "SDN", "SEN", "SGP", "SLB", "SLE", "SLV", "SMR", "SOM", "SRB", "SSD", "STP", "SUR", "SVK", "SVN", "SWE", "SWZ", "SXM", "SYC", "SYR", "TCD", "TGO", "THA", "TJK", "TKM", "TLS", "TON", "TTO", "TUN", "TUR", "TUV", "TWN", "TZA", "UGA", "UKR", "URY", "USA", "UZB", "VAT", "VCT", "VEN", "VNM", "VUT", "WSM", "YEM", "ZAF", "ZMB", "ZWE" ],
"type" : "string"
}
},
"credentials" : {
"title" : "Credentials",
"description" : "Information that identifies a user to a system such as a network or computer.",
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "A user defined list of credential types.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Type.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/constituent-credential-types/{id}",
"targetSchema" : {
"$ref" : "constituent-credential-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
},
"value" : {
"title" : "Value",
"description" : "The current value of the credential.",
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "type", "value" ]
}
},
"addresses" : {
"title" : "Addresses",
"description" : "The physical locations where a person resides or may be contacted by mail.",
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"address" : {
"title" : "Address",
"description" : "The associated physical address.",
"oneOf" : [ {
"title" : "Address",
"description" : "A reference to the associated physical address.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Address.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/constituent-addresses/{id}",
"targetSchema" : {
"$ref" : "constituent-addresses.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"title" : "Address Detail",
"description" : "The associated physical address detail information. The address detail should only be provided when adding an address not previously identified.",
"type" : "object",
"properties" : {
"addressLines" : {
"title" : "Address",
"description" : "The address lines of the location, such as a street address, post office box number, or city, region, and postal code.",
"type" : "array",
"items" : {
"type" : "string"
}
},
"place" : {
"title" : "Place",
"description" : "A country specific postal region. Postal regions are expressed as a hierarchy of country, region, and sub-region, and as a locality with postal automation codes",
"oneOf" : [ {
"type" : "object",
"properties" : {
"country" : {
"title" : "Country",
"description" : "The country where the mailing address is located.",
"oneOf" : [ {
"title" : "Australia",
"description" : "",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-1 alpha-3 country code.",
"enum" : [ "AUS" ],
"type" : "string"
},
"title" : {
"title" : "Country",
"description" : "The name of the country, as used in everyday speech.",
"type" : "string"
},
"postalTitle" : {
"title" : "Postal Country",
"description" : "The name of the country when mail is being addressed from an international sender.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "AUSTRALIA" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"region" : {
"title" : "Region",
"description" : "A region within the country",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-2 code of a region within the country",
"oneOf" : [ {
"type" : "string",
"enum" : [ "AU-NSW", "AU-ACT", "AU-VIC", "AU-QLD", "AU-SA", "AU-WA", "AU-TAS", "AU-NT" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"title" : {
"title" : "Title",
"description" : "The full name of the region",
"type" : "string"
}
},
"additionalProperties" : false
},
"subRegion" : {
"title" : "Subregion",
"description" : "A subregion within the country and region",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The code of a sub-region. This should be based on ISO 3166-2, if applicable.",
"type" : "string"
},
"title" : {
"title" : "Title",
"description" : "The name of a subregion",
"type" : "string"
}
},
"additionalProperties" : false
},
"locality" : {
"title" : "city",
"description" : "The name of the city or town.",
"type" : "string"
},
"postalCode" : {
"title" : "Postal Code",
"description" : "The mailing postal code.",
"oneOf" : [ {
"type" : "string",
"pattern" : "^(0[289][0-9]{2})|([1345689][0-9]{3})|(2[0-8][0-9]{2})|(290[0-9])|(291[0-4])|(7[0-4][0-9]{2})|(7[8-9][0-9]{2})$"
}, {
"type" : "string",
"maxLength" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "code" ]
}, {
"title" : "Brazil",
"description" : "",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-1 alpha-3 country code.",
"enum" : [ "BRA" ],
"type" : "string"
},
"title" : {
"title" : "Country",
"description" : "The name of the country, as used in everyday speech.",
"type" : "string"
},
"postalTitle" : {
"title" : "Postal Country",
"description" : "The name of the country when mail is being addressed from an international sender.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "BRAZIL" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"region" : {
"title" : "Region",
"description" : "A region within the country",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-2 code of a region within the country",
"oneOf" : [ {
"type" : "string",
"enum" : [ "BR-AC", "BR-AL", "BR-AM", "BR-AP", "BR-BA", "BR-CE", "BR-DF", "BR-ES", "BR-GO", "BR-MA", "BR-MG", "BR-MS", "BR-MT", "BR-PA", "BR-PB", "BR-PE", "BR-PI", "BR-PR", "BR-RJ", "BR-RN", "BR-RO", "BR-RR", "BR-RS", "BR-SC", "BR-SE", "BR-SP", "BR-TO" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"title" : {
"title" : "Title",
"description" : "The full name of the region",
"type" : "string"
}
},
"additionalProperties" : false
},
"subRegion" : {
"title" : "Subregion",
"description" : "A subregion within the country and region",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The code of a sub-region. This should be based on ISO 3166-2, if applicable.",
"type" : "string"
},
"title" : {
"title" : "Title",
"description" : "The name of a subregion",
"type" : "string"
}
},
"additionalProperties" : false
},
"locality" : {
"title" : "city",
"description" : "The name of the city or town.",
"type" : "string"
},
"postalCode" : {
"title" : "Postal Code",
"description" : "The mailing postal code.",
"oneOf" : [ {
"type" : "string",
"pattern" : "^\\d{5}\\-\\d{3}$"
}, {
"type" : "string",
"maxLength" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "code" ]
}, {
"title" : "Canada",
"description" : "",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-1 alpha-3 country code.",
"enum" : [ "CAN" ],
"type" : "string"
},
"title" : {
"title" : "Country",
"description" : "The name of the country, as used in everyday speech.",
"type" : "string"
},
"postalTitle" : {
"title" : "Postal Country",
"description" : "The name of the country when mail is being addressed from an international sender.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "CANADA" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"region" : {
"title" : "Region",
"description" : "A region within the country",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-2 code of a region within the country",
"oneOf" : [ {
"type" : "string",
"enum" : [ "CA-AB", "CA-BC", "CA-MB", "CA-NB", "CA-NL", "CA-NS", "CA-NT", "CA-NU", "CA-ON", "CA-PE", "CA-QC", "CA-SK", "CA-YT" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"title" : {
"title" : "Title",
"description" : "The full name of the region",
"type" : "string"
}
},
"additionalProperties" : false
},
"subRegion" : {
"title" : "Subregion",
"description" : "A subregion within the country and region",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The code of a sub-region. This should be based on ISO 3166-2, if applicable.",
"type" : "string"
},
"title" : {
"title" : "Title",
"description" : "The name of a subregion",
"type" : "string"
}
},
"additionalProperties" : false
},
"locality" : {
"title" : "city",
"description" : "The name of the city or town.",
"type" : "string"
},
"postalCode" : {
"title" : "Postal Code",
"description" : "The mailing postal code.",
"oneOf" : [ {
"type" : "string",
"pattern" : "^[ABCEGHJKLMNPRSTVXYabceghjklmnprstvxy]{1}\\d{1}[A-Za-z]{1}\\d{1}[A-Za-z]{1}\\d{1}$"
}, {
"type" : "string",
"maxLength" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "code" ]
}, {
"title" : "Mexico",
"description" : "",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-1 alpha-3 country code.",
"enum" : [ "MEX" ],
"type" : "string"
},
"title" : {
"title" : "Country",
"description" : "The name of the country, as used in everyday speech.",
"type" : "string"
},
"postalTitle" : {
"title" : "Postal Country",
"description" : "The name of the country when mail is being addressed from an international sender.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "MEXICO" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"region" : {
"title" : "Region",
"description" : "A region within the country",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-2 code of a region within the country",
"oneOf" : [ {
"type" : "string",
"enum" : [ "MX-AGU", "MX-BCN", "MX-BCS", "MX-CAM", "MX-COA", "MX-COL", "MX-CHP", "MX-CHH", "MX-DIF", "MX-DUR", "MX-GUA", "MX-GRO", "MX-HID", "MX-JAL", "MX-MEX", "MX-MIC", "MX-MOR", "MX-NAY", "MX-NLE", "MX-OAX", "MX-PUE", "MX-QUE", "MX-ROO", "MX-SLP", "MX-SIN", "MX-SON", "MX-TAB", "MX-TAM", "MX-TLA", "MX-VER", "MX-YUC", "MX-ZAC" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"title" : {
"title" : "Title",
"description" : "The full name of the region",
"type" : "string"
}
},
"additionalProperties" : false
},
"subRegion" : {
"title" : "Subregion",
"description" : "A subregion within the country and region",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The code of a sub-region. This should be based on ISO 3166-2, if applicable.",
"type" : "string"
},
"title" : {
"title" : "Title",
"description" : "The name of a subregion",
"type" : "string"
}
},
"additionalProperties" : false
},
"locality" : {
"title" : "city",
"description" : "The name of the city or town.",
"type" : "string"
},
"postalCode" : {
"title" : "Postal Code",
"description" : "The mailing postal code.",
"oneOf" : [ {
"type" : "string",
"pattern" : "^\\A\\d{5,5}\\Z$"
}, {
"type" : "string",
"maxLength" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "code" ]
}, {
"title" : "Netherlands",
"description" : "",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-1 alpha-3 country code.",
"enum" : [ "NLD" ],
"type" : "string"
},
"title" : {
"title" : "Country",
"description" : "The name of the country, as used in everyday speech.",
"type" : "string"
},
"postalTitle" : {
"title" : "Postal Country",
"description" : "The name of the country when mail is being addressed from an international sender.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "NETHERLANDS" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"region" : {
"title" : "Region",
"description" : "A region within the country",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-2 code of a region within the country",
"oneOf" : [ {
"type" : "string",
"enum" : [ "NL-DR", "NL-FL", "NL-FR", "NL-GE", "NL-GR", "NL-LI", "NL-NB", "NL-NH", "NL-OV", "NL-UT", "NL-ZE", "NL-ZH" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"title" : {
"title" : "Title",
"description" : "The full name of the region",
"type" : "string"
}
},
"additionalProperties" : false
},
"subRegion" : {
"title" : "Subregion",
"description" : "A subregion within the country and region",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The code of a sub-region. This should be based on ISO 3166-2, if applicable.",
"type" : "string"
},
"title" : {
"title" : "Title",
"description" : "The name of a subregion",
"type" : "string"
}
},
"additionalProperties" : false
},
"locality" : {
"title" : "city",
"description" : "The name of the city or town.",
"type" : "string"
},
"postalCode" : {
"title" : "Postal Code",
"description" : "The mailing postal code.",
"oneOf" : [ {
"type" : "string",
"pattern" : "^(NL-)?(\\d{4})\\s*([A-Z]{2})$"
}, {
"type" : "string",
"maxLength" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "code" ]
}, {
"title" : "United Kingdom of Great Britain and Northern Ireland",
"description" : "",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-1 alpha-3 country code.",
"enum" : [ "GBR" ],
"type" : "string"
},
"title" : {
"title" : "Country",
"description" : "The name of the country, as used in everyday speech.",
"type" : "string"
},
"postalTitle" : {
"title" : "Postal Country",
"description" : "The name of the country when mail is being addressed from an international sender.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "UNITED KINGDOM OF GREAT BRITAIN AND NORTHERN IRELAND" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"region" : {
"title" : "Region",
"description" : "A region within the country",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-2 code of a region within the country",
"enum" : [ "GB-ENG", "GB-NIR", "GB-SCT", "GB-WLS" ],
"type" : "string"
},
"title" : {
"title" : "Title",
"description" : "The name of a subregion",
"type" : "string"
}
},
"additionalProperties" : false
},
"subRegion" : {
"title" : "Subregion",
"description" : "A subregion within the country and region",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The code of a sub-region. This should be based on ISO 3166-2, if applicable.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "GB-BAS", "GB-BBD", "GB-BDF", "GB-BDG", "GB-BEN", "GB-BEX", "GB-BIR", "GB-BKM", "GB-BMH", "GB-BNE", "GB-BNH", "GB-BNS", "GB-BOL", "GB-BPL", "GB-BRC", "GB-BRD", "GB-BRY", "GB-BST", "GB-BUR", "GB-CAM", "GB-CBF", "GB-CHE", "GB-CHW", "GB-CLD", "GB-CMA", "GB-CMD", "GB-CON", "GB-COV", "GB-CRY", "GB-DAL", "GB-DBY", "GB-DER", "GB-DEV", "GB-DNC", "GB-DOR", "GB-DUD", "GB-DUR", "GB-EAL", "GB-ENF", "GB-ERY", "GB-ESS", "GB-ESX", "GB-GAT", "GB-GLS", "GB-GRE", "GB-HAL", "GB-HAM", "GB-HAV", "GB-HCK", "GB-HEF", "GB-HIL", "GB-HMF", "GB-HNS", "GB-HPL", "GB-HRT", "GB-HRW", "GB-HRY", "GB-IOS", "GB-IOW", "GB-ISL", "GB-KEC", "GB-KEN", "GB-KHL", "GB-KIR", "GB-KTT", "GB-KWL", "GB-LAN", "GB-LBH", "GB-LCE", "GB-LDS", "GB-LEC", "GB-LEW", "GB-LIN", "GB-LIV", "GB-LND", "GB-LUT", "GB-MAN", "GB-MDB", "GB-MDW", "GB-MIK", "GB-MRT", "GB-NBL", "GB-NEL", "GB-NET", "GB-NFK", "GB-NGM", "GB-NLN", "GB-NSM", "GB-NTH", "GB-NTT", "GB-NTY", "GB-NWM", "GB-NYK", "GB-OLD", "GB-OXF", "GB-PLY", "GB-POL", "GB-POR", "GB-PTE", "GB-RCC", "GB-RCH", "GB-RDB", "GB-RDG", "GB-RIC", "GB-ROT", "GB-RUT", "GB-SAW", "GB-SFK", "GB-SFT", "GB-SGC", "GB-SHF", "GB-SHN", "GB-SHR", "GB-SKP", "GB-SLF", "GB-SLG", "GB-SND", "GB-SOL", "GB-SOM", "GB-SOS", "GB-SRY", "GB-STE", "GB-STH", "GB-STN", "GB-STS", "GB-STT", "GB-STY", "GB-SWD", "GB-SWK", "GB-TAM", "GB-TFW", "GB-THR", "GB-TOB", "GB-TRF", "GB-TWH", "GB-WAR", "GB-WBK", "GB-WFT", "GB-WGN", "GB-WIL", "GB-WKF", "GB-WLL", "GB-WLV", "GB-WND", "GB-WNM", "GB-WOK", "GB-WOR", "GB-WRL", "GB-WRT", "GB-WSM", "GB-WSX", "GB-YOR", "GB-ABC", "GB-AND", "GB-ANN", "GB-BFS", "GB-CCG", "GB-DRS", "GB-FMO", "GB-LBC", "GB-MEA", "GB-MUL", "GB-NMD", "GB-ABD", "GB-ABE", "GB-AGB", "GB-ANS", "GB-CLK", "GB-DGY", "GB-DND", "GB-EAY", "GB-EDH", "GB-EDU", "GB-ELN", "GB-ELS", "GB-ERW", "GB-FAL", "GB-FIF", "GB-GLG", "GB-HLD", "GB-IVC", "GB-MLN", "GB-MRY", "GB-NAY", "GB-NLK", "GB-ORK", "GB-PKN", "GB-RFW", "GB-SAY", "GB-SCB", "GB-SLK", "GB-STG", "GB-WDU", "GB-WLN", "GB-ZET", "GB-AGY", "GB-BGE", "GB-BGW", "GB-CAY", "GB-CGN", "GB-CMN", "GB-CRF", "GB-CWY", "GB-DEN", "GB-FLN", "GB-GWN", "GB-MON", "GB-MTY", "GB-NTL", "GB-NWP", "GB-PEM", "GB-POW", "GB-RCT", "GB-SWA", "GB-TOF", "GB-VGL", "GB-WRX" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"title" : {
"title" : "Title",
"description" : "The full name of the region",
"type" : "string"
}
},
"additionalProperties" : false
},
"locality" : {
"title" : "city",
"description" : "The name of the city or town.",
"type" : "string"
},
"postalCode" : {
"title" : "Postal Code",
"description" : "The mailing postal code.",
"oneOf" : [ {
"type" : "string",
"pattern" : "^(GIR 0AA)|((([A-Z-[QVX]][0-9][0-9]?)|(([A-Z-[QVX]][A-Z-[IJZ]][0-9][0-9]?)|(([A-Z-[QVX]][0-9][A-HJKPSTUW])|([A-Z-[QVX]][A-Z-[IJZ]][0-9][ABEHMNPRVWXY])))) [0-9][A-Z-[CIKMOV]]{2})$"
}, {
"type" : "string",
"maxLength" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "code" ]
}, {
"title" : "United States of America",
"description" : "",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-1 alpha-3 country code.",
"enum" : [ "USA" ],
"type" : "string"
},
"title" : {
"title" : "Country",
"description" : "The name of the country, as used in everyday speech.",
"type" : "string"
},
"postalTitle" : {
"title" : "Postal Country",
"description" : "The name of the country when mail is being addressed from an international sender.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "UNITED STATES OF AMERICA" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"region" : {
"title" : "Region",
"description" : "A region within the country",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-2 code of a region within the country",
"oneOf" : [ {
"type" : "string",
"enum" : [ "US-AL", "US-AK", "US-AZ", "US-AR", "US-CA", "US-CO", "US-CT", "US-DE", "US-DC", "US-FL", "US-GA", "US-HI", "US-ID", "US-IL", "US-IN", "US-IA", "US-KS", "US-KY", "US-LA", "US-ME", "US-MD", "US-MA", "US-MI", "US-MN", "US-MS", "US-MO", "US-MT", "US-NE", "US-NV", "US-NH", "US-NJ", "US-NM", "US-NY", "US-NC", "US-ND", "US-OH", "US-OK", "US-OR", "US-PA", "US-RI", "US-SC", "US-SD", "US-TN", "US-TX", "US-UT", "US-VT", "US-VA", "US-WA", "US-WV", "US-WI", "US-WY", "US-AS", "US-GU", "US-MP", "US-PR", "US-UM", "US-VI" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"title" : {
"title" : "Title",
"description" : "The full name of the region",
"type" : "string"
}
},
"additionalProperties" : false
},
"subRegion" : {
"title" : "Subregion",
"description" : "A subregion within the country and region",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The code of a sub-region. This should be based on ISO 3166-2, if applicable.",
"type" : "string"
},
"title" : {
"title" : "Title",
"description" : "The name of a subregion",
"type" : "string"
}
},
"additionalProperties" : false
},
"locality" : {
"title" : "city",
"description" : "The name of the city or town.",
"type" : "string"
},
"postalCode" : {
"title" : "Postal Code",
"description" : "The mailing postal code.",
"oneOf" : [ {
"type" : "string",
"pattern" : "^(\\d{5}(-\\d{4})?|[A-Z]\\d[A-Z] *\\d[A-Z]\\d)$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"deliveryPoint" : {
"title" : "Delivery Point",
"description" : "A specific set of digits between 00 and 99 assigned to every address. When combined with the ZIP + 4 code, the delivery point provides a unique identifier for every deliverable address served by the US Postal Service.",
"oneOf" : [ {
"type" : "string",
"pattern" : "^[0-9][0-9]$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"carrierRoute" : {
"title" : "Carrier Route",
"description" : "A subdivision of a US zipcode.",
"oneOf" : [ {
"type" : "string",
"pattern" : "^(C|R|P)[0-9]{3}$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"correctionDigit" : {
"title" : "Correction Digit",
"description" : "A number used to check for errors in a US ZIP code, delivery point, or carrier route.",
"oneOf" : [ {
"type" : "string",
"pattern" : "^[0-9]$"
}, {
"type" : "string",
"maxLength" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "code" ]
}, {
"title" : "Generic",
"description" : "",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-1 alpha-3 country code.",
"enum" : [ "ABW", "AFG", "AGO", "AIA", "ALA", "ALB", "AND", "ARE", "ARG", "ARM", "ASM", "ATA", "ATF", "ATG", "AUT", "AZE", "BDI", "BEL", "BEN", "BES", "BFA", "BGD", "BGR", "BHR", "BHS", "BIH", "BLM", "BLR", "BLZ", "BMU", "BOL", "BRB", "BRN", "BTN", "BVT", "BWA", "CAF", "CCK", "CHE", "CHL", "CHN", "CIV", "CMR", "COD", "COG", "COK", "COL", "COM", "CPV", "CRI", "CUB", "CUW", "CXR", "CYM", "CYP", "CZE", "DEU", "DJI", "DMA", "DNK", "DOM", "DZA", "ECU", "EGY", "ERI", "ESH", "ESP", "EST", "ETH", "FIN", "FJI", "FLK", "FRA", "FRO", "FSM", "GAB", "GEO", "GGY", "GHA", "GIB", "GIN", "GLP", "GMB", "GNB", "GNQ", "GRC", "GRD", "GRL", "GTM", "GUF", "GUM", "GUY", "HKG", "HMD", "HND", "HRV", "HTI", "HUN", "IDN", "IMN", "IND", "IOT", "IRL", "IRN", "IRQ", "ISL", "ISR", "ITA", "JAM", "JEY", "JOR", "JPN", "KAZ", "KEN", "KGZ", "KHM", "KIR", "KNA", "KOR", "KWT", "LAO", "LBN", "LBR", "LBY", "LCA", "LIE", "LKA", "LSO", "LTU", "LUX", "LVA", "MAC", "MAF", "MAR", "MCO", "MDA", "MDG", "MDV", "MHL", "MKD", "MLI", "MLT", "MMR", "MNE", "MNG", "MNP", "MOZ", "MRT", "MSR", "MTQ", "MUS", "MWI", "MYS", "MYT", "NAM", "NCL", "NER", "NFK", "NGA", "NIC", "NIU", "NOR", "NPL", "NRU", "NZL", "OMN", "PAK", "PAN", "PCN", "PER", "PHL", "PLW", "PNG", "POL", "PRI", "PRK", "PRT", "PRY", "PSE", "PYF", "QAT", "REU", "ROU", "RUS", "RWA", "SAU", "SDN", "SEN", "SGP", "SGS", "SHN", "SJM", "SLB", "SLE", "SLV", "SMR", "SOM", "SPM", "SRB", "SSD", "STP", "SUR", "SVK", "SVN", "SWE", "SWZ", "SXM", "SYC", "SYR", "TCA", "TCD", "TGO", "THA", "TJK", "TKL", "TKM", "TLS", "TON", "TTO", "TUN", "TUR", "TUV", "TWN", "TZA", "UGA", "UKR", "UMI", "URY", "UZB", "VAT", "VCT", "VEN", "VGB", "VIR", "VNM", "VUT", "WLF", "WSM", "YEM", "ZAF", "ZMB", "ZWE" ],
"type" : "string"
},
"title" : {
"title" : "Country",
"description" : "The name of the country, as used in everyday speech.",
"type" : "string"
},
"postalTitle" : {
"title" : "Postal Country",
"description" : "The name of the country when mail is being addressed from an international sender.",
"type" : "string"
},
"region" : {
"title" : "Region",
"description" : "A region within the country",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The ISO 3166-2 code of a region within the country",
"type" : "string"
},
"title" : {
"title" : "Title",
"description" : "The full name of the region",
"type" : "string"
}
},
"additionalProperties" : false
},
"subRegion" : {
"title" : "Subregion",
"description" : "A subregion within the country and region",
"type" : "object",
"properties" : {
"code" : {
"title" : "Code",
"description" : "The code of a sub-region. This should be based on ISO 3166-2, if applicable.",
"type" : "string"
},
"title" : {
"title" : "Title",
"description" : "The name of a subregion",
"type" : "string"
}
},
"additionalProperties" : false
},
"locality" : {
"title" : "city",
"description" : "The name of the city or town.",
"type" : "string"
},
"postalCode" : {
"title" : "Postal Code",
"description" : "The mailing postal code.",
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "code" ]
} ]
}
},
"additionalProperties" : false,
"required" : [ "country" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
},
"latitude" : {
"title" : "Latitude",
"description" : "The latitude of the location of the address.",
"oneOf" : [ {
"type" : "number",
"minimum" : -90,
"maximum" : 90
}, {
"type" : "null"
} ]
},
"longitude" : {
"title" : "Longitude",
"description" : "The longitude of the location of the address.",
"oneOf" : [ {
"type" : "number",
"minimum" : -180,
"maximum" : 180
}, {
"type" : "null"
} ]
},
"geographicAreas" : {
"title" : "Geographic Areas",
"description" : "The geographic areas assigned to this location of the address.",
"type" : "array",
"items" : {
"title" : "Geographic Areas",
"description" : "The geographic areas assigned to this location of the address.",
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Geographic Areas.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/constituent-geographic-areas/{id}",
"targetSchema" : {
"$ref" : "constituent-geographic-areas.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}
},
"comment" : {
"title" : "Comment",
"description" : "A comment about the address.",
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "addressLines" ]
} ]
},
"type" : {
"title" : "Type",
"description" : "The type of address. Includes a standard type (e.g. 'home', 'school') and an optional, custom type to further identify the type of location.",
"type" : "object",
"properties" : {
"addressType" : {
"title" : "Address Type",
"description" : "A mapping to a standard types for an address.",
"enum" : [ "home", "school", "vacation", "billing", "shipping", "mailing", "business", "parent", "family", "pobox", "main", "branch", "region", "support", "matchingGifts", "other" ],
"type" : "string"
},
"detail" : {
"title" : "Detail",
"description" : "A user defined address type.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Detail.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/address-types/{id}",
"targetSchema" : {
"$ref" : "address-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "addressType" ]
},
"status" : {
"title" : "Status",
"description" : "The current status of the person's relationship to the address.",
"enum" : [ "active", "inactive" ],
"type" : "string"
},
"startOn" : {
"title" : "Start On",
"description" : "The earliest date that this address was valid for the person.",
"oneOf" : [ {
"type" : "string",
"format" : "date-time",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[0-1][0-9]):[0-5][0-9])?$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"endOn" : {
"title" : "End On",
"description" : "The latest date that this address was valid for the person.",
"oneOf" : [ {
"type" : "string",
"format" : "date-time",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[0-1][0-9]):[0-5][0-9])?$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"preference" : {
"title" : "Preferred Location",
"description" : "Specifies if the address is preferred over all other addresses.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "primary" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"seasonalOccupancies" : {
"title" : "Seasonal Occupancies",
"description" : "Seasons during the year when the address is typically occupied, expressed as repeating time periods.",
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"recurrence" : {
"title" : "Recurrence",
"description" : "The recurrence of the seasonal occupancy.",
"oneOf" : [ {
"type" : "object",
"format" : "recurrence",
"properties" : {
"timePeriod" : {
"title" : "Time Period",
"description" : "The period of time to be repeated.",
"type" : "object",
"properties" : {
"startOn" : {
"title" : "Start On",
"description" : "The beginning of the time period being repeated.",
"type" : "string",
"format" : "date-time",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[0-1][0-9]):[0-5][0-9])?$"
},
"endOn" : {
"title" : "End On",
"description" : "The end of the time period being repeated.",
"oneOf" : [ {
"type" : "string",
"format" : "date-time",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[0-1][0-9]):[0-5][0-9])?$"
}, {
"type" : "string",
"maxLength" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "startOn" ]
},
"repeatRule" : {
"title" : "Repeat Rule",
"description" : "The rule that describes how to repeat the time period.",
"oneOf" : [ {
"title" : "Daily",
"description" : "Rules for repeating on a daily basis.",
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "",
"enum" : [ "daily" ],
"type" : "string"
},
"interval" : {
"title" : "Interval",
"description" : "Number of days between each repetition.",
"oneOf" : [ {
"type" : "integer"
}, {
"type" : "null"
} ]
},
"ends" : {
"title" : "Ends",
"description" : "When to end the daily repetitions.",
"oneOf" : [ {
"title" : "One Of-1",
"description" : "",
"type" : "object",
"properties" : {
"repetitions" : {
"title" : "Repetitions",
"description" : "Number of times to repeat, then stop.",
"type" : "integer"
}
},
"additionalProperties" : false,
"required" : [ "repetitions" ]
}, {
"title" : "One Of-2",
"description" : "",
"type" : "object",
"properties" : {
"date" : {
"title" : "Date",
"description" : "The date after which to stop repeating.",
"type" : "string",
"format" : "date",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])$"
}
},
"additionalProperties" : false,
"required" : [ "date" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "type" ]
}, {
"title" : "Weekly",
"description" : "Rules for repeating on a weekly basis.",
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "",
"enum" : [ "weekly" ],
"type" : "string"
},
"interval" : {
"title" : "Interval",
"description" : "Number of weeks between each repetition.",
"oneOf" : [ {
"type" : "integer"
}, {
"type" : "null"
} ]
},
"daysOfWeek" : {
"title" : "Days of Week",
"description" : "The days of the week on which to repeat the event.",
"type" : "array",
"items" : {
"enum" : [ "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday" ],
"type" : "string"
}
},
"ends" : {
"title" : "Ends",
"description" : "When to end the weekly repetitions.",
"oneOf" : [ {
"title" : "One Of-1",
"description" : "",
"type" : "object",
"properties" : {
"repetitions" : {
"title" : "Repetitions",
"description" : "Number of times to repeat, then stop.",
"type" : "integer"
}
},
"additionalProperties" : false,
"required" : [ "repetitions" ]
}, {
"title" : "One Of-2",
"description" : "",
"type" : "object",
"properties" : {
"date" : {
"title" : "Date",
"description" : "The date after which to stop repeating.",
"type" : "string",
"format" : "date",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])$"
}
},
"additionalProperties" : false,
"required" : [ "date" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "type" ]
}, {
"title" : "Monthly",
"description" : "Rules for repeating on a monthly basis.",
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "",
"enum" : [ "monthly" ],
"type" : "string"
},
"interval" : {
"title" : "Interval",
"description" : "Number of months between each repetition.",
"oneOf" : [ {
"type" : "integer"
}, {
"type" : "null"
} ]
},
"repeatBy" : {
"title" : "Repeat By",
"description" : "How to calculate the day of the month on which to start repeating.",
"oneOf" : [ {
"title" : "One Of-1",
"description" : "",
"type" : "object",
"properties" : {
"dayOfMonth" : {
"title" : "Day of Month",
"description" : "The number of the day in the month on which to start repeating.",
"type" : "integer"
}
},
"additionalProperties" : false,
"required" : [ "dayOfMonth" ]
}, {
"title" : "One Of-2",
"description" : "",
"type" : "object",
"properties" : {
"dayOfWeek" : {
"title" : "Day of Week",
"description" : "The cardinal day of the week (e.g., the first Tuesday, the last Friday, etc.) in the month on which to start repeating.",
"type" : "object",
"properties" : {
"occurrence" : {
"title" : "Occurrence",
"description" : "The nth occurrence of the day of the week in the month. Use a positive number to count from the start of the month (e.g., 1 = first in the month, 2 = second in the month), and a negative number to count from the end of the month (e.g. -1 = last in the month, -2 = second from last, etc.).",
"type" : "integer"
},
"day" : {
"title" : "Day of Week",
"description" : "A day in a week.",
"enum" : [ "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday" ],
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "occurrence", "day" ]
}
},
"additionalProperties" : false,
"required" : [ "dayOfWeek" ]
} ]
},
"ends" : {
"title" : "Ends",
"description" : "When to end the monthly repetitions.",
"oneOf" : [ {
"title" : "One Of-1",
"description" : "",
"type" : "object",
"properties" : {
"repetitions" : {
"title" : "Repetitions",
"description" : "Number of times to repeat, then stop.",
"type" : "integer"
}
},
"additionalProperties" : false,
"required" : [ "repetitions" ]
}, {
"title" : "One Of-2",
"description" : "",
"type" : "object",
"properties" : {
"date" : {
"title" : "Date",
"description" : "The date after which to stop repeating.",
"type" : "string",
"format" : "date",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])$"
}
},
"additionalProperties" : false,
"required" : [ "date" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "type", "repeatBy" ]
}, {
"title" : "Yearly",
"description" : "Rules for repeating on an annual basis.",
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "",
"enum" : [ "yearly" ],
"type" : "string"
},
"interval" : {
"title" : "Interval",
"description" : "Number of years between each repetition.",
"oneOf" : [ {
"type" : "integer"
}, {
"type" : "null"
} ]
},
"ends" : {
"title" : "Ends",
"description" : "When to end the yearly repetitions.",
"oneOf" : [ {
"title" : "One Of-1",
"description" : "",
"type" : "object",
"properties" : {
"repetitions" : {
"title" : "Repetitions",
"description" : "Number of times to repeat, then stop.",
"type" : "integer"
}
},
"additionalProperties" : false,
"required" : [ "repetitions" ]
}, {
"title" : "One Of-2",
"description" : "",
"type" : "object",
"properties" : {
"date" : {
"title" : "Date",
"description" : "The date after which to stop repeating.",
"type" : "string",
"format" : "date",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])$"
}
},
"additionalProperties" : false,
"required" : [ "date" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "type" ]
} ]
}
},
"additionalProperties" : false,
"required" : [ "timePeriod", "repeatRule" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"additionalProperties" : false
}
}
},
"additionalProperties" : false,
"required" : [ "address", "type", "status" ]
}
},
"phones" : {
"title" : "Phone",
"description" : "The phones and phone-connected devices at which a person can be contacted.",
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "A type of phone for a person. Includes a standard type (e.g. 'mobile', 'home') and an optional, custom type to further identify the type of phone.",
"type" : "object",
"properties" : {
"phoneType" : {
"title" : "Type",
"description" : "A mapping to a standard types for a phone.",
"enum" : [ "mobile", "home", "school", "vacation", "business", "fax", "pager", "tdd", "parent", "family", "main", "branch", "region", "support", "billing", "matchingGifts", "other" ],
"type" : "string"
},
"detail" : {
"title" : "Detail",
"description" : "A user defined phone type.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Detail.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/phone-types/{id}",
"targetSchema" : {
"$ref" : "phone-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "phoneType" ]
},
"status" : {
"title" : "Status",
"description" : "The status of the phone for the person.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "active", "inactive" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"startOn" : {
"title" : "Start On",
"description" : "The date when the phone number was first valid.",
"oneOf" : [ {
"type" : "string",
"format" : "date-time",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[0-1][0-9]):[0-5][0-9])?$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"endOn" : {
"title" : "End On",
"description" : "The date when the phone number was last valid.",
"oneOf" : [ {
"type" : "string",
"format" : "date-time",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[0-1][0-9]):[0-5][0-9])?$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"preference" : {
"title" : "Preferred Phone",
"description" : "Specifies if the phone is preferred over all other phones.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "primary" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"country" : {
"title" : "country",
"description" : "The country in which the phone is located.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "AFG", "AGO", "ALB", "AND", "ARE", "ARG", "ARM", "ATG", "AUS", "AUT", "AZE", "BDI", "BEL", "BEN", "BES", "BFA", "BGD", "BGR", "BHR", "BHS", "BIH", "BLR", "BLZ", "BOL", "BRA", "BRB", "BRN", "BTN", "BWA", "CAF", "CAN", "CHE", "CHL", "CHN", "CIV", "CMR", "COD", "COG", "COL", "COM", "CPV", "CRI", "CUB", "CUW", "CYP", "CZE", "DEU", "DJI", "DMA", "DNK", "DOM", "DZA", "ECU", "EGY", "ERI", "ESH", "ESP", "EST", "ETH", "FIN", "FJI", "FRA", "FSM", "GAB", "GBR", "GEO", "GHA", "GIN", "GLP", "GMB", "GNB", "GNQ", "GRC", "GRD", "GTM", "GUY", "HND", "HRV", "HTI", "HUN", "IDN", "IMN", "IND", "IRL", "IRN", "IRQ", "ISL", "ISR", "ITA", "JAM", "JOR", "JPN", "KAZ", "KEN", "KGZ", "KHM", "KIR", "KNA", "KOR", "KWT", "LAO", "LBN", "LBR", "LBY", "LCA", "LIE", "LKA", "LSO", "LTU", "LUX", "LVA", "MAR", "MCO", "MDA", "MDG", "MDV", "MEX", "MHL", "MKD", "MLI", "MLT", "MMR", "MNE", "MNG", "MNP", "MOZ", "MRT", "MUS", "MWI", "MYS", "NAM", "NER", "NGA", "NIC", "NLD", "NOR", "NPL", "NRU", "NZL", "OMN", "PAK", "PAN", "PCN", "PER", "PHL", "PLW", "PNG", "POL", "PRI", "PRK", "PRT", "PRY", "PSE", "QAT", "ROU", "RUS", "RWA", "SAU", "SDN", "SEN", "SGP", "SLB", "SLE", "SLV", "SMR", "SOM", "SRB", "SSD", "STP", "SUR", "SVK", "SVN", "SWE", "SWZ", "SXM", "SYC", "SYR", "TCD", "TGO", "THA", "TJK", "TKM", "TLS", "TON", "TTO", "TUN", "TUR", "TUV", "TWN", "TZA", "UGA", "UKR", "URY", "USA", "UZB", "VAT", "VCT", "VEN", "VNM", "VUT", "WSM", "YEM", "ZAF", "ZMB", "ZWE" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"number" : {
"title" : "Number",
"description" : "The number assigned to the phone.",
"type" : "string"
},
"extension" : {
"title" : "Extension",
"description" : "The extension used to connect to the phone when multiple phones share the same primary number.",
"type" : "string"
},
"privacy" : {
"title" : "Privacy",
"description" : "An indication if the phone number is unlisted and should be protected from view or if it is listed and available for all.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "listed", "unlisted" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"comment" : {
"title" : "Comment",
"description" : "A comment concerning the phone number.",
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "type", "number" ]
}
},
"emails" : {
"title" : "Email",
"description" : "The email addresses at which a person can be contacted.",
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"type" : {
"title" : "Type",
"description" : "A type of email for a person. Includes a standard type (e.g. 'personal', 'business') and an optional, custom type to further identify the type of email.",
"type" : "object",
"properties" : {
"emailType" : {
"title" : "Type",
"description" : "A mapping to a standard types for emails.",
"enum" : [ "personal", "business", "school", "parent", "family", "sales", "support", "general", "billing", "legal", "hr", "media", "matchingGifts", "other" ],
"type" : "string"
},
"detail" : {
"title" : "Detail",
"description" : "A user defined email type.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Detail.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/email-types/{id}",
"targetSchema" : {
"$ref" : "email-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "emailType" ]
},
"status" : {
"title" : "Status",
"description" : "The status of the email for the person.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "active", "inactive" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"startOn" : {
"title" : "Start On",
"description" : "The date the email became active",
"oneOf" : [ {
"type" : "string",
"format" : "date-time",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[0-1][0-9]):[0-5][0-9])?$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"endOn" : {
"title" : "End On",
"description" : "The date the email became inactive",
"oneOf" : [ {
"type" : "string",
"format" : "date-time",
"pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[0-1][0-9]):[0-5][0-9])?$"
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"preference" : {
"title" : "Preferred Email",
"description" : "Specifies if the email is preferred over all other emails.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "primary" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"address" : {
"title" : "Email Address",
"description" : "An email address for the person.",
"type" : "string",
"format" : "email",
"pattern" : "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$"
},
"comment" : {
"title" : "Comment",
"description" : "A comment concerning the email address.",
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "type", "address" ]
}
},
"socialMedia" : {
"title" : "Social Media",
"description" : "The social media account at which a person can be contacted.",
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"type" : {
"title" : "Social Media",
"description" : "A type of social media account for a person. Includes a standard type (e.g. 'skype', 'facebook') and an optional, custom type to further identify the type of social media account.",
"type" : "object",
"properties" : {
"socialMediaType" : {
"title" : "Type",
"description" : "A type of social media account (e.g. 'skype', 'facebook').",
"enum" : [ "windowsLive", "yahoo", "skype", "qq", "hangouts", "icq", "jabber", "facebook", "twitter", "instagram", "tumblr", "pinterest", "linkedin", "foursquare", "youtube", "blog", "website", "other" ],
"type" : "string"
},
"detail" : {
"title" : "Detail",
"description" : "A user defined social media type.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Detail.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/social-media-types/{id}",
"targetSchema" : {
"$ref" : "social-media-types.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"additionalProperties" : false,
"required" : [ "socialMediaType" ]
},
"status" : {
"title" : "Status",
"description" : "The status of a social media account information for the person.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "active", "inactive" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"preference" : {
"title" : "Preferred Social Media",
"description" : "Specifies if the social media account is preferred over all other social media accounts.",
"oneOf" : [ {
"type" : "string",
"enum" : [ "primary" ]
}, {
"type" : "string",
"maxLength" : 0
} ]
},
"address" : {
"title" : "Address",
"description" : "The username, handle or other address of the social media account.",
"type" : "string"
},
"webSiteURL" : {
"title" : "Web Site URL",
"description" : "The URL used to access the social media account.",
"type" : "string"
}
},
"additionalProperties" : false,
"required" : [ "type", "address" ]
}
}
},
"required" : [ "id", "names", "affiliation" ],
"additionalProperties" : false,
"links" : [ {
"rel" : "filter",
"encType" : "application/x-www-form-urlencoded",
"method" : "GET",
"href" : "/constituen-persons/",
"schema" : {
"type" : "object",
"properties" : {
"title" : {
"type" : "string"
},
"firstName" : {
"type" : "string"
},
"middleName" : {
"type" : "string"
},
"lastNamePrefix" : {
"type" : "string"
},
"lastName" : {
"type" : "string"
},
"pedigree" : {
"type" : "string"
},
"preferredName" : {
"type" : "string"
}
}
}
} ]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy