From 0c3f342104c55cb3315f24098a4c088e143f40d5 Mon Sep 17 00:00:00 2001
From: Jonas Groeger <jonas.groeger@codecentric.de>
Date: Sun, 8 Aug 2021 17:57:58 +0200
Subject: [PATCH] feat(FCON-189): rename 'schemas' to 'submissionSchema' in
 metadata

this rename is done to have a more specific name for the field. just
having the generic word 'schema' might be confusing.

Fixes https://git.fitko.de/fit-connect/api/-/issues/83
---
 docs/details/schema-reference.md          | 2 +-
 docs/getting-started/sending/metadata.mdx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/details/schema-reference.md b/docs/details/schema-reference.md
index ce8f55677..a61a79d9f 100644
--- a/docs/details/schema-reference.md
+++ b/docs/details/schema-reference.md
@@ -109,7 +109,7 @@ Sofern der Zustellpunkt mindestens eine Fachschemareferenz enthält, muss der Me
 ```json
   "contentStructure": {
     "data": {
-      "schema": {
+      "submissionSchema": {
         "schemaURI": "https://schema.fitko.de/fim/s00000000009_1.0.0.schema.json",
         "mimeType": "application/json"
       }
diff --git a/docs/getting-started/sending/metadata.mdx b/docs/getting-started/sending/metadata.mdx
index 2f1edf497..22d70875d 100644
--- a/docs/getting-started/sending/metadata.mdx
+++ b/docs/getting-started/sending/metadata.mdx
@@ -32,7 +32,7 @@ Ein Beispiel für das Metadatenschema eines Kindergeldantrags ist unten dargeste
   ],
   "contentStructure": {
     "data": {
-      "schema": {
+      "submissionSchema": {
         "schemaSource": "fim",
         "mimeType": "application/json"
       }
-- 
GitLab