NYPL / nypl-recap-admin

An admin interface for ReCap/SCSB written in Node/Express/React
0 stars 0 forks source link

Add Transfer Metadata Form #3

Closed rhernand3z closed 6 years ago

rhernand3z commented 6 years ago

Add the transfer metadata form to spec: https://projects.invisionapp.com/share/AJFAS22HE#/screens/274558125

Barcodes: 14 numerical digits bibRecordNumber: @thisisstephenbetts can you confirm the validation rules on this field? protectCGD: true false boolean (defaults to false)

rhernand3z commented 6 years ago

As per @thisisstephenbetts the rule is:

starts with the letter b followed by 8 numerical digits followed by one character which could be a numerical digit or the letter x

Regex: /^b\d{8}[\dx]$/

kfriedman commented 6 years ago

Just curious, where did you derive this rule?

I know our partners have letters in their barcodes, for example.

thisisstephenbetts commented 6 years ago

This was from Kate.

The definition is roughly here, though it doesn't say it has to be 8 digits — that I confirmed with her (cannot update the doc myself) https://docs.google.com/document/d/1DTRAV-DQI05P-HbzNl3RH8q32b8e_YvpdAJapyEafoA/edit#heading=h.fwz3yabpl9he

Stephen.

On Wed, Jan 31, 2018 at 9:47 AM, kfriedman notifications@github.com wrote:

Just curious, where did you derive this rule?

I know our partners have letters in their barcodes, for example.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NYPL/nypl-recap-admin/issues/3#issuecomment-361954150, or mute the thread https://github.com/notifications/unsubscribe-auth/AGFWOTik4UgwBvdKoL6Y-y4lyiF-tfEHks5tQH0agaJpZM4RxY2t .

rhernand3z commented 6 years ago

Closed by #5