au.org.consumerdatastandards.api.common.models.CommonPerson Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-model Show documentation
Show all versions of api-model Show documentation
This artefact describes the Consumer Data Standards using Java classes and annotations in a way suitable for automatic generation of Open API Specification, documentation, Server Stub, Client Libraries and Reference Test.
package au.org.consumerdatastandards.api.common.models;
import java.util.List;
import au.org.consumerdatastandards.support.data.*;
@DataDefinition
public class CommonPerson {
@Property(
description = "The date and time that this record was last updated by the customer. If no update has occurred then this date should reflect the initial creation date for the data"
)
@CDSDataType(CustomDataType.DateTime)
String lastUpdateTime;
@Property(
description = "For people with single names this field need not be present. The single name should be in the lastName field"
)
String firstName;
@Property(
description = "For people with single names the single name should be in this field",
required = true
)
String lastName;
@Property(
description = "Field is mandatory but array may be empty",
required = true
)
List middleNames;
@Property(
description = "Also known as title or salutation. The prefix to the name (e.g. Mr, Mrs, Ms, Miss, Sir, etc)"
)
String prefix;
@Property(
description = "Used for a trailing suffix to the name (e.g. Jr)"
)
String suffix;
@Property(
description = "Value is a valid [ANZCO v1.2](http://www.abs.gov.au/ANZSCO) Standard Occupation classification."
)
String occupationCode;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy