From 4859aba8bb2ed7cb9c3c99d45de90a12d0bf5932 Mon Sep 17 00:00:00 2001 From: Fritz Ray Date: Mon, 9 Sep 2019 15:01:34 -0700 Subject: [PATCH 1/4] Mapping sheet --- index.html | 2 +- mapping.html | 210 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 211 insertions(+), 1 deletion(-) create mode 100644 mapping.html diff --git a/index.html b/index.html index 2d85dc5..3b1b2b8 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@

-

Looking to understand the CASS Object Model? You came to the right place.

+

Looking for how CaSS maps between schemas? Click here.


diff --git a/mapping.html b/mapping.html new file mode 100644 index 0000000..c758159 --- /dev/null +++ b/mapping.html @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + + + CASS Schema + + + + + + +
+
+
+ +
+
+
+ +
+ +
+
Parse Me
+
+ +
+
Schema
+
+

+ CASS Mappings +

+

Looking to understand the CASS Object Model? You came to the right place.

+
+
+ + + + + + + + + + +
@type@idExactly Maps To:
+
+
+ +
+
+

Visit the CASS Project for more information.

+
+
+

Join the conversation via Slack. Login or Request Account

+
+
+ + + + + + + + + From 0fb527b5ccb5b9f967af22f4f84ca59c16eaffa9 Mon Sep 17 00:00:00 2001 From: Fritz Ray Date: Mon, 9 Sep 2019 15:08:45 -0700 Subject: [PATCH 2/4] Corrected default namespaces. --- mapping.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mapping.html b/mapping.html index c758159..62367ef 100644 --- a/mapping.html +++ b/mapping.html @@ -104,7 +104,7 @@

if (t[key] != null) h.append("").children().last().text(join(t[key])); else - h.append("").children().last().append("").children().last().text("unspecified"); + h.append(""); h.append("").children().last().text(key).css("font-weight","bold"); for (var i = 0;i < d[key].length;i++) h.append("").children().last().text(d[key][i]); @@ -120,11 +120,9 @@

if (typeof val !== 'object') continue; if (key.indexOf(":") == -1 && s["@vocab"] != null && s["@vocab"].indexOf("cass") != -1) key = "cass:"+key; - if (key.indexOf(":") == -1 && s["@vocab"] != null && s["@vocab"].indexOf("case") != -1) + if (key.indexOf(":") == -1 && s["@vocab"] != null && s["@vocab"].indexOf("http://schema.eduworks.com/ims/case/v1p0/") != -1) key = "case:"+key; - if (key.indexOf(":") == -1) - key = "cass:"+key; - key = key.replace("cass3","cass"); + key = key.replace("cass3","cass"); if (key.indexOf(":") == -1) continue; From 634df638ad24ad02ec94d91fdad14fa4c36d4cd8 Mon Sep 17 00:00:00 2001 From: Fritz Ray Date: Mon, 9 Sep 2019 15:15:47 -0700 Subject: [PATCH 3/4] Corrected more default namespaces. --- mapping.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mapping.html b/mapping.html index 62367ef..c8fceca 100644 --- a/mapping.html +++ b/mapping.html @@ -23,7 +23,7 @@
- +
@@ -40,7 +40,7 @@

CASS Mappings

-

Looking to understand the CASS Object Model? You came to the right place.

+

This is a computed live view of what terms map to what other terms in CaSS.

@@ -122,6 +122,8 @@

key = "cass:"+key; if (key.indexOf(":") == -1 && s["@vocab"] != null && s["@vocab"].indexOf("http://schema.eduworks.com/ims/case/v1p0/") != -1) key = "case:"+key; + if (key.indexOf(":") == -1) + key = "cass:"+key; key = key.replace("cass3","cass"); if (key.indexOf(":") == -1) From 180381717b1259f7c36f8c9c9d454484c59bb3e6 Mon Sep 17 00:00:00 2001 From: Fritz Ray Date: Mon, 9 Sep 2019 15:21:01 -0700 Subject: [PATCH 4/4] Removed some extra terms. --- 0.3/cass2case | 6 ------ 1 file changed, 6 deletions(-) diff --git a/0.3/cass2case b/0.3/cass2case index eb20f1b..57786e3 100644 --- a/0.3/cass2case +++ b/0.3/cass2case @@ -115,9 +115,6 @@ "humanCodingScheme": { "@id": "ceasn:codedNotation" }, - "fullStatement": { - "@id": "schema:name","@type":"xsd:normalizedString" - }, "CFItemType": { "@id": "case:CFItemType","@type":"xsd:normalizedString" }, @@ -130,9 +127,6 @@ "subject": { "@id": "case:subject","@type":"xsd:normalizedString" }, - "notes": { - "@id": "schema:description","@type":"xsd:string" - }, "associationType": { "@id": "cass:relationType" },