Skip to content

Commit

Permalink
[MODFISTO-133] - Remove use of "extends" property from JSON schemas, …
Browse files Browse the repository at this point in the history
…invoice_transaction_summary.json is missing an id property (#433)

* [MODFISTO-133] - Remove use of "extends" property from JSON schemas, invoice_transaction_summary.json is missing an id property

* [MODFISTO-133] - Remove use of "extends" property from JSON schemas, invoice_transaction_summary.json is missing an id property
  • Loading branch information
azizbekxm authored Nov 3, 2023
1 parent 4e5a876 commit ab48be3
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 37 deletions.
13 changes: 0 additions & 13 deletions common/schemas/entity.json

This file was deleted.

3 changes: 0 additions & 3 deletions mod-finance/schemas/budget.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"description": "A budget",
"type": "object",
"javaName": "budget",
"extends" : {
"$ref" : "../../common/schemas/entity.json"
},
"properties": {
"id": {
"description": "UUID of this budget",
Expand Down
3 changes: 0 additions & 3 deletions mod-finance/schemas/budget_expense_class.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Budget expense class mapping schema",
"type": "object",
"extends" : {
"$ref" : "../../common/schemas/entity.json"
},
"properties": {
"id": {
"description": "UUID of the expense class record",
Expand Down
3 changes: 0 additions & 3 deletions mod-finance/schemas/expense_class.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An expense class",
"type": "object",
"extends" : {
"$ref" : "../../common/schemas/entity.json"
},
"properties": {
"id": {
"description": "UUID of the expense class record",
Expand Down
3 changes: 0 additions & 3 deletions mod-finance/schemas/transaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A financial transaction",
"type": "object",
"extends" : {
"$ref" : "../../common/schemas/entity.json"
},
"properties": {
"id": {
"$ref": "../../common/schemas/uuid.json",
Expand Down
3 changes: 0 additions & 3 deletions mod-orders-storage/schemas/prefix.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Purchase order number prefix",
"type": "object",
"extends" : {
"$ref" : "../../common/schemas/entity.json"
},
"properties": {
"id": {
"description": "UUID of this prefix",
Expand Down
3 changes: 0 additions & 3 deletions mod-orders-storage/schemas/purchase_order.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"description": "purchase order",
"type": "object",
"javaName": "PurchaseOrder",
"extends" : {
"$ref" : "../../common/schemas/entity.json"
},
"properties": {
"id": {
"description": "UUID of this purchase order",
Expand Down
3 changes: 0 additions & 3 deletions mod-orders-storage/schemas/reason_for_closure.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"description": "Reason for closure object",
"type": "object",
"javaType" : "org.folio.rest.jaxrs.model.ReasonForClosure",
"extends" : {
"$ref" : "../../common/schemas/entity.json"
},
"properties": {
"id": {
"description": "UUID of this Reason for closure record",
Expand Down
3 changes: 0 additions & 3 deletions mod-orders-storage/schemas/suffix.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Purchase order number suffix",
"type": "object",
"extends" : {
"$ref" : "../../common/schemas/entity.json"
},
"properties": {
"id": {
"description": "UUID of this suffix",
Expand Down

0 comments on commit ab48be3

Please sign in to comment.