From a52130426014cab29a0287260d184fa195fc005d Mon Sep 17 00:00:00 2001
From: Patrick Roe <patrick.roe@wisc.edu>
Date: Tue, 8 Oct 2024 13:39:22 -0500
Subject: [PATCH] Update putfdmvalidate.json

---
 .../T2_FDM_Validation_UWMIL/putfdmvalidate.json    | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/ASP-IICS-Team/T2_FDM_Validation_UWMIL/putfdmvalidate.json b/ASP-IICS-Team/T2_FDM_Validation_UWMIL/putfdmvalidate.json
index 1ad2958..8041cbc 100644
--- a/ASP-IICS-Team/T2_FDM_Validation_UWMIL/putfdmvalidate.json
+++ b/ASP-IICS-Team/T2_FDM_Validation_UWMIL/putfdmvalidate.json
@@ -41,12 +41,22 @@
     }
   },
   "definitions" : {
-    "putfdmvalidate##data##attributes" : {
+    "putfdmvalidate##data##attributes##errors" : {
+      "properties" : {
+        "errorCode" : {
+          "type" : "string"
+        },
+        "errorMessage" : {
+          "type" : "string"
+        }
+      }
+    },
+    "uwmil_t2_FDM_validation_2##data##attributes" : {
       "properties" : {
         "errors" : {
           "type" : "array",
           "items" : {
-            "type" : "string"
+            "$ref" : "#/definitions/putfdmvalidate##data##attributes##errors"
           }
         },
         "valid" : {
-- 
GitLab