From ebc119522dc93caf23823f4fb0ef0e8a20d987b2 Mon Sep 17 00:00:00 2001 From: Nick Tindall Date: Mon, 9 Nov 2020 20:31:11 +1100 Subject: [PATCH] 177: Make filename fields consistent (file_name -> filename) (#233) Co-authored-by: Yoram Kulbak --- README.md | 12 ++++++------ Schemas_draft-03/Collaboration/File/file_GET.json | 2 +- Schemas_draft-03/Collaboration/File/file_PUT.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0039b00..9a5b2c0 100644 --- a/README.md +++ b/README.md @@ -1090,11 +1090,11 @@ Retrieve a **collection** of file references as topic header. Body: [{ "ifc_project": "0J$yPqHBD12v72y4qF6XcD", - "file_name": "OfficeBuilding_Architecture_0001.ifc", + "filename": "OfficeBuilding_Architecture_0001.ifc", "reference": "https://example.com/files/0J$yPqHBD12v72y4qF6XcD_0001.ifc" }, { "ifc_project": "3hwBHP91jBRwPsmyf$3Hea", - "file_name": "OfficeBuilding_Heating_0003.ifc", + "filename": "OfficeBuilding_Heating_0003.ifc", "reference": "cf37bae6-0900-46be-b37f-b34754fe0b4a" }] @@ -1116,11 +1116,11 @@ Update a **collection** of file references on the topic header. This operation i Body: [{ "ifc_project": "0J$yPqHBD12v72y4qF6XcD", - "file_name": "OfficeBuilding_Architecture_0001.ifc", + "filename": "OfficeBuilding_Architecture_0001.ifc", "reference": "https://example.com/files/0J$yPqHBD12v72y4qF6XcD_0001.ifc" }, { "ifc_project": "3hwBHP91jBRwPsmyf$3Hea", - "file_name": "OfficeBuilding_Heating_0003.ifc", + "filename": "OfficeBuilding_Heating_0003.ifc", "reference": "https://example.com/files/3hwBHP91jBRwPsmyf$3Hea_0003.ifc" }] @@ -1130,11 +1130,11 @@ Update a **collection** of file references on the topic header. This operation i Body: [{ "ifc_project": "0J$yPqHBD12v72y4qF6XcD", - "file_name": "OfficeBuilding_Architecture_0001.ifc", + "filename": "OfficeBuilding_Architecture_0001.ifc", "reference": "https://example.com/files/0J$yPqHBD12v72y4qF6XcD_0001.ifc" }, { "ifc_project": "3hwBHP91jBRwPsmyf$3Hea", - "file_name": "OfficeBuilding_Heating_0003.ifc", + "filename": "OfficeBuilding_Heating_0003.ifc", "reference": "https://example.com/files/3hwBHP91jBRwPsmyf$3Hea_0003.ifc" }] diff --git a/Schemas_draft-03/Collaboration/File/file_GET.json b/Schemas_draft-03/Collaboration/File/file_GET.json index 122c1d5..55d6b86 100644 --- a/Schemas_draft-03/Collaboration/File/file_GET.json +++ b/Schemas_draft-03/Collaboration/File/file_GET.json @@ -12,7 +12,7 @@ "type": ["string", "null"] }, - "file_name": { + "filename": { "type": ["string", "null"] }, diff --git a/Schemas_draft-03/Collaboration/File/file_PUT.json b/Schemas_draft-03/Collaboration/File/file_PUT.json index 0ca7b46..7152d68 100644 --- a/Schemas_draft-03/Collaboration/File/file_PUT.json +++ b/Schemas_draft-03/Collaboration/File/file_PUT.json @@ -10,7 +10,7 @@ "type": ["string", "null"] }, - "file_name": { + "filename": { "type": ["string", "null"] },