From 47c1bdef88132869a6551e045e39ff1625841b4e Mon Sep 17 00:00:00 2001 From: Harsha Gummadavelli <hvardhan@wisc.edu> Date: Mon, 5 Feb 2024 09:31:55 -0600 Subject: [PATCH] Update 2 files - /ASP-IICS-Team/T2_FDM_Validation_UWMIL/uwmil_t2_FDM_validation_2.json - /ASP-IICS-Team/T2_FDM_Validation_UWMIL/uwmil_t2_FDM_validation.json --- .../uwmil_t2_FDM_validation.json | 156 +++++++++++++++++ .../uwmil_t2_FDM_validation_2.json | 161 ++++++++++++++++++ 2 files changed, 317 insertions(+) create mode 100644 ASP-IICS-Team/T2_FDM_Validation_UWMIL/uwmil_t2_FDM_validation.json create mode 100644 ASP-IICS-Team/T2_FDM_Validation_UWMIL/uwmil_t2_FDM_validation_2.json diff --git a/ASP-IICS-Team/T2_FDM_Validation_UWMIL/uwmil_t2_FDM_validation.json b/ASP-IICS-Team/T2_FDM_Validation_UWMIL/uwmil_t2_FDM_validation.json new file mode 100644 index 0000000..a610617 --- /dev/null +++ b/ASP-IICS-Team/T2_FDM_Validation_UWMIL/uwmil_t2_FDM_validation.json @@ -0,0 +1,156 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api.wisc.edu", + "basePath" : "/finance", + "schemes" : [ "https" ], + "paths" : { + "/validateFdm" : { + "post" : { + "tags" : [ "uwmil_t2_FDM_validation" ], + "summary" : null, + "description" : null, + "operationId" : "uwmil_t2_FDM_validation", + "produces" : [ "application/vnd.api+json" ], + "consumes" : [ "application/vnd.api+json" ], + "parameters" : [ { + "name" : "body", + "in" : "body", + "description" : null, + "required" : false, + "schema" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_Request##body" + } + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation" + } + } + } + } + } + }, + "definitions" : { + "uwmil_t2_FDM_validation##data##attributes" : { + "properties" : { + "errors" : { + "type" : "array", + "properties" : { + "errorCode" : { + "type" : "string" + }, + "errorMessage" : { + "type" : "string" + } + } + }, + "valid" : { + "type" : "boolean" + } + } + }, + "uwmil_t2_FDM_validation##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation##data##attributes" + }, + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "uwmil_t2_FDM_validation" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation##data" + } + } + } + }, + "uwmil_t2_FDM_validation_Request##body##data##attributes" : { + "properties" : { + "company" : { + "type" : "string" + }, + "activity" : { + "type" : "string" + }, + "costCenter" : { + "type" : "string" + }, + "fund" : { + "type" : "string" + }, + "function" : { + "type" : "string" + }, + "gift" : { + "type" : "string" + }, + "grant" : { + "type" : "string" + }, + "ledgerAccount" : { + "type" : "string" + }, + "program" : { + "type" : "string" + }, + "project" : { + "type" : "string" + }, + "revenueCategory" : { + "type" : "string" + }, + "spendCategory" : { + "type" : "string" + } + } + }, + "uwmil_t2_FDM_validation_Request##body##data" : { + "properties" : { + "type" : { + "type" : "string" + }, + "id" : { + "type" : "string" + }, + "attributes" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_Request##body##data##attributes" + } + } + }, + "uwmil_t2_FDM_validation_Request##body" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_Request##body##data" + } + } + } + }, + "uwmil_t2_FDM_validation_Request" : { + "properties" : { + "body" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_Request##body" + } + } + } + } +} \ No newline at end of file diff --git a/ASP-IICS-Team/T2_FDM_Validation_UWMIL/uwmil_t2_FDM_validation_2.json b/ASP-IICS-Team/T2_FDM_Validation_UWMIL/uwmil_t2_FDM_validation_2.json new file mode 100644 index 0000000..5ec735c --- /dev/null +++ b/ASP-IICS-Team/T2_FDM_Validation_UWMIL/uwmil_t2_FDM_validation_2.json @@ -0,0 +1,161 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api.wisc.edu", + "basePath" : "/finance", + "schemes" : [ "https" ], + "paths" : { + "/validateFdm" : { + "post" : { + "tags" : [ "uwmil_t2_FDM_validation_2" ], + "summary" : null, + "description" : null, + "operationId" : "uwmil_t2_FDM_validation_2", + "produces" : [ "application/vnd.api+json" ], + "consumes" : [ "application/vnd.api+json" ], + "parameters" : [ { + "name" : "body", + "in" : "body", + "description" : null, + "required" : false, + "schema" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_2_Request##body" + } + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_2" + } + } + } + } + } + }, + "definitions" : { + "uwmil_t2_FDM_validation_2##data##attributes##errors" : { + "properties" : { + "errorCode" : { + "type" : "string" + }, + "errorMessage" : { + "type" : "string" + } + } + }, + "uwmil_t2_FDM_validation_2##data##attributes" : { + "properties" : { + "errors" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_2##data##attributes##errors" + } + }, + "valid" : { + "type" : "boolean" + } + } + }, + "uwmil_t2_FDM_validation_2##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_2##data##attributes" + }, + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "uwmil_t2_FDM_validation_2" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_2##data" + } + } + } + }, + "uwmil_t2_FDM_validation_2_Request##body##data##attributes" : { + "properties" : { + "company" : { + "type" : "string" + }, + "activity" : { + "type" : "string" + }, + "costCenter" : { + "type" : "string" + }, + "fund" : { + "type" : "string" + }, + "function" : { + "type" : "string" + }, + "gift" : { + "type" : "string" + }, + "grant" : { + "type" : "string" + }, + "ledgerAccount" : { + "type" : "string" + }, + "program" : { + "type" : "string" + }, + "project" : { + "type" : "string" + }, + "revenueCategory" : { + "type" : "string" + }, + "spendCategory" : { + "type" : "string" + } + } + }, + "uwmil_t2_FDM_validation_2_Request##body##data" : { + "properties" : { + "type" : { + "type" : "string" + }, + "id" : { + "type" : "string" + }, + "attributes" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_2_Request##body##data##attributes" + } + } + }, + "uwmil_t2_FDM_validation_2_Request##body" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_2_Request##body##data" + } + } + } + }, + "uwmil_t2_FDM_validation_2_Request" : { + "properties" : { + "body" : { + "$ref" : "#/definitions/uwmil_t2_FDM_validation_2_Request##body" + } + } + } + } +} \ No newline at end of file -- GitLab