Repository: CoreOffice/CoreXLSX (swift)

Issue:
Cannot initialize SchemaType from invalid String value http://customschemas.google.com/relationships/workbookmetadata
**Version**

0.13.0

**Description of the bug**

Probably related to https://github.com/CoreOffice/CoreXLSX/issues/87. Looks like `workbookmetadata` is missing in `Relationships.swift`

Pull request description:
Resolves #142.

Patch:
diff --git a/Sources/CoreXLSX/Relationships.swift b/Sources/CoreXLSX/Relationships.swift
index 7122ca6c..4f15e099 100644
--- a/Sources/CoreXLSX/Relationships.swift
+++ b/Sources/CoreXLSX/Relationships.swift
@@ -122,6 +122,7 @@ public struct Relationship: Codable, Equatable {
       http://schemas.microsoft.com/office/2011/relationships/\
       webextensiontaskpanes
       """
+    case googleWorkbookMetadata = "http://customschemas.google.com/relationships/workbookmetadata"
   }
 
   /// The identifier for this entity.


Test patch:
diff --git a/Tests/CoreXLSXTests/Relationships.swift b/Tests/CoreXLSXTests/Relationships.swift
index 3bec8138..81542525 100644
--- a/Tests/CoreXLSXTests/Relationships.swift
+++ b/Tests/CoreXLSXTests/Relationships.swift
@@ -40,6 +40,11 @@ Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/\
 officeDocument"
 Target="xl/workbook.xml"/>
 
+<Relationship
+Id="rId4"
+Type="http://customschemas.google.com/relationships/workbookmetadata"
+Target="xl/metadata.xml"/>
+
 </Relationships>
 """.data(using: .utf8)!
 
@@ -73,6 +78,9 @@ private let parsed = [
   Relationship(id: "rId3",
                type: .officeDocument,
                target: "xl/workbook.xml"),
+  Relationship(id: "rId4",
+               type: .googleWorkbookMetadata,
+               target: "xl/metadata.xml"),
 ]
 
 private let person =
@@ -99,7 +107,7 @@ final class RelationshipsTests: XCTestCase {
 
     let relationshipsFromFile = try file.parseRelationships()
 
-    XCTAssertEqual(relationshipsFromFile, Relationships(items: parsed))
+    XCTAssertEqual(relationshipsFromFile, Relationships(items: parsed.dropLast()))
   }
 
   func testRelationshipsFaultyWorksheet() throws {