Newer
Older
using System.Collections.Generic;
MaZiFAU
committed
using static SOMDocManager;
public class Scroll
John Schihada
committed
public string @ref;
public List<MMTDeclaration> requiredFacts;
public List<MMTDeclaration> acquiredFacts;
John Schihada
committed
public string scroll;
public List<ScrollAssignment> assignments;
John Schihada
committed
public FilledScroll(string scroll, List<ScrollAssignment> assignments)
{
this.scroll = scroll;
this.assignments = assignments;
}
}
public class ScrollTheoryReference
{
public string problemTheory;
public string solutionTheory;
}
public class UriReference
{
public string uri;
John Schihada
committed
public UriReference(string uri)
{
this.uri = uri;
}
public UriReference fact;
public OMS assignment;
[JsonConstructor]
private ScrollAssignment() { }
public ScrollAssignment(string fact_id, string assignment_id)
this.fact = new UriReference(fact_id);
this.assignment = new OMS(assignment_id);
John Schihada
committed
}
public List<MMTDeclaration> acquiredFacts;
public class ScrollDynamicInfo
{
public Scroll original;
public Scroll rendered;
public List<List<ScrollAssignment>> completions;
public bool valid;
public ScrollApplicationCheckingError[] errors;
}
public class ScrollApplicationCheckingError
{
public string msg;
MaZiFAU
committed
public SOMDoc fact;
}