CPE_learningsite
This repository has no backups
This repository's network speed is throttled to 100KB/sec
Upgrade your account to fix these warnings, or use backups.vc for automated backups
4cd176a439ea516368a5d8827cdf8726027259a6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
using System; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace CPE.App.Api.Models { public partial class TinCanStatementModel { public class Actor2 { [JsonProperty("name")] public string Name { get; set; } [JsonProperty("mbox")] public string Mbox { get; set; } } } public partial class TinCanStatementModel { public class Verb2 { [JsonProperty("id")] public string Id { get; set; } } } public partial class TinCanStatementModel { public class Score2 { [JsonProperty("scaled")] public int Scaled { get; set; } [JsonProperty("raw")] public int Raw { get; set; } [JsonProperty("min")] public int Min { get; set; } [JsonProperty("max")] public int Max { get; set; } } } public partial class TinCanStatementModel { public class Result2 { [JsonProperty("score")] public Score2 Score { get; set; } [JsonProperty("success")] // true for verb passed public bool Success { get; set; } [JsonProperty("completion")] public bool Completion { get; set; } } } public partial class TinCanStatementModel { public class Name3 { [JsonProperty("en-US")] //using for Cert course name public string EnUs { get; set; } } } public partial class TinCanStatementModel { public class Definition3 { [JsonProperty("name")] //use name.EnUs for Cert course name public Name3 Name { get; set; } } } public partial class TinCanStatementModel { public class Object2 { [JsonProperty("id")] //this is url/projectcode-releasecode public string Id { get; set; } [JsonProperty("definition")]//.name.enUS is pretty course name for Cert public Definition3 Definition { get; set; } } } public partial class TinCanStatementModel { [JsonProperty("id")] public string Id { get; set; } [JsonProperty("actor")] //actor.name and actor.mbox make the unique person. public Actor2 Actor { get; set; } [JsonProperty("verb")] // verb.id endswith "/passed" is what we care abt public Verb2 Verb { get; set; } [JsonProperty("result")] public Result2 Result { get; set; } [JsonProperty("timestamp")] public string Timestamp { get; set; } [JsonProperty("version")] //leaving this in for future ability to validate the Elucidat hasn't updated to a newer version of tincan public string Version { get; set; } [JsonProperty("object")] public Object2 Object { get; set; } } } |
Commits for CPE_learningsiteCPE/CPE.App/CPE.App.Api/Models/TinCanStatementModel.cs
Revision | Author | Commited | Message |
---|---|---|---|
4cd176 ... | v.shishlov | Fri 27 Aug, 2021 14:33:17 +0000 | initial commit |