Skip to content

PetRescue: New organisation identifiers - #2129

Open
adamdspencer77 wants to merge 4 commits into
masterfrom
ft-2127
Open

PetRescue: New organisation identifiers#2129
adamdspencer77 wants to merge 4 commits into
masterfrom
ft-2127

Conversation

@adamdspencer77

Copy link
Copy Markdown
Collaborator
  • nsw_supply_number : NSW RON/BIN
  • vic_supply_number : VIC Supply Number / Source Number
  • qld_supply_number : QLD BIN/BEN
  • sa_supply_number : SA DACO Organisation Number

These new fields are preferred over existing breeder id, source number, daco, and rehoming organisation number. The existing fields remain supported for backwards compatibility on older listings.

These fields must be in the expected format. Spaces are stripped before validation.
Field | Validation -- | -- nsw_supply_number | Must start with R or B . Must end with exactly 5 digits. Can have up to 14 letters/numbers between the first letter and final 5 digits. Examples: RABCDE12345 , B12345 . vic_supply_number | Must be exactly 2 letters followed by exactly 6 digits. Example: RE123456 . qld_supply_number | Must start with BIN or BEN , followed by exactly 13 digits. Example: BIN1234567890123 . sa_supply_number | Must start with DACO , followed by at least 1 digit. Example: DACO123456 .


Existing integrations do not need to change immediately unless you want to start sending the new state-specific fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants