Skip to content

Commit

Permalink
[CIRCSTORE-493] Add 'displaySummary' field to 'ActualCostRecord' sche…
Browse files Browse the repository at this point in the history
…ma (#453)

* CIRCSTORE-493 add displaySummary field to actualCostRecord

* CIRCSTORE-493 add displaySummary to example
  • Loading branch information
roman-barannyk authored Mar 7, 2024
1 parent 012f4b7 commit 700abfb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
},
{
"id": "actual-cost-record-storage",
"version": "0.8",
"version": "0.9",
"handlers": [
{
"methods": ["GET"],
Expand Down
4 changes: 4 additions & 0 deletions ramls/actual-cost-record.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@
"type": "string",
"description": "Chronology is the descriptive information for the dating scheme of a serial."
},
"displaySummary": {
"description": "Display summary about the item",
"type": "string"
},
"copyNumber": {
"type": "string",
"description": "Copy number is the piece identifier. The copy number reflects if the library has a copy of a single-volume monograph; one copy of a multi-volume, (e.g. Copy 1, or C.7.)"
Expand Down
1 change: 1 addition & 0 deletions ramls/examples/actual-cost-record.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"volume": "v. 2",
"enumeration": "v.73:no.1-6",
"chronology": "1985:July-Dec.",
"displaySummary": "v.73:no.1-6 v. 2 1985:July-Dec.",
"copyNumber": "c.1"
},
"instance": {
Expand Down
1 change: 1 addition & 0 deletions ramls/examples/actual-cost-records.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"volume": "v. 2",
"enumeration": "v.73:no.1-6",
"chronology": "1985:July-Dec.",
"displaySummary": "v.73:no.1-6 v. 2 1985:July-Dec.",
"copyNumber": "c.1"
},
"instance": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ private ActualCostRecord createActualCostRecord() {
.withVolume("volume")
.withEnumeration("enumeration")
.withChronology("chronology")
.withDisplaySummary("displaySummary")
.withCopyNumber("copyNumber"))
.withInstance(new ActualCostRecordInstance()
.withId(randomId())
Expand Down

0 comments on commit 700abfb

Please sign in to comment.