Skip to content

Commit 1760b65

Browse files
committed
add patron types
1 parent 09afe23 commit 1760b65

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

paia.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -485,13 +485,14 @@ scope
485485
: read_patron
486486
response fields
487487
: name occ data type description
488-
--------- ------ --------------- ---------------------------------
488+
--------- ------ --------------- ----------------------------------------------
489489
name 1..1 string full name of the patron
490490
email 0..1 email email address of the patron
491491
address 0..1 string freeform address of the patron
492492
expires 0..1 datetime patron account expiry
493493
status 0..1 account state current state (0, 1, 2, or 3)
494-
--------- ------ --------------- --------------------------------
494+
type 0..n URI list of custom URIs to identify patron types
495+
--------- ------ --------------- ----------------------------------------------
495496
mapping to RDF
496497
: see [patrons in RDF]
497498

@@ -521,7 +522,8 @@ X-OAuth-Scopes: read_fees read_items read_patron write_items
521522
"email": "[email protected]",
522523
"address": "Park Street 2, Springfield",
523524
"expires": "2015-05-18",
524-
"status": 0
525+
"status": 0,
526+
"type": ["http://example.org/usertypes/default"]
525527
}
526528
~~~
527529

0 commit comments

Comments
 (0)