Math / Non-Math Schema
Schema to segment math and non-math ink content.
Includes
Name | Value |
---|---|
Schema URI | schema will:uim/1.1 |
Class Count | 5 |
Classes | will:uim/1.1/InkModel, will:uim/1.1/InkNode, will:uim/1.1/Root, will:uim/1.1/StrokeNode, will:uim/1.1/StrokeGroupNode |
Classes
Root
Name | Value |
---|---|
Class | will:seg-math/0.1/Root |
Defined In | will:seg-math/0.1 |
Specializes | will:uim/1.1/Root |
Properties
Property | Attribute | Value |
---|---|---|
generatedBy | Data Type(s) | @uri |
Description | URI identifying the creator of the logical tree. | |
Association Type | composition | |
Cardinality | [0, 1] (optional) | |
hasChild | Data Type(s) | will:seg-math/0.1/ContentBlock |
Association Type | composition | |
Cardinality | [0, 1] overridden to [0, inf] (optional) | |
hasParent | Data Type(s) | |
Description | Roots can't have parents. | |
Association Type | composition | |
Cardinality | [0, 0] overridden to [0, 1] (optional) | |
hasParentInkModel | Data Type(s) | will:uim/1.1/InkModel |
Description | Referencing the parent InkModel . | |
Association Type | composition | |
Cardinality | [0, 1] (optional) | |
representsView | Data Type(s) | @string |
Description | The name of the view this node is a root of. | |
Association Type | composition | |
Cardinality | [0, 1] (optional) |
ContentBlock
Defines an abstract block of content.
Name | Value |
---|---|
Class | will:seg-math/0.1/ContentBlock [abstract] |
Defined In | will:seg-math/0.1 |
Specializes | will:uim/1.1/InkNode |
Specialized By | will:seg-math/0.1/MathContent,will:seg-math/0.1/TextContent,will:seg-math/0.1/UnlabeledContent |
Properties
Property | Attribute | Value |
---|---|---|
hasChild | Data Type(s) | will:uim/1.1/InkNode |
Association Type | composition | |
Cardinality | [0, inf] (optional) (ordered) | |
Inverse Of | hasParent | |
hasParent | Data Type(s) | will:uim/1.1/InkNode |
Association Type | aggregation | |
Cardinality | [1, 1] overridden to [0, 1] (mandatory) | |
Inverse Of | hasChild |
MathContent
Annotates strokes (StrokeNode
) that are associated with math content.
Name | Value |
---|---|
Class | will:seg-math/0.1/MathContent |
Defined In | will:seg-math/0.1 |
Specializes | will:seg-math/0.1/ContentBlock |
Properties
Property | Attribute | Value |
---|---|---|
hasChild | Data Type(s) | will:uim/1.1/StrokeNode |
Association Type | aggregation | |
Cardinality | [1, inf] overridden to [0, inf] (mandatory) (ordered) | |
hasParent | Data Type(s) | will:uim/1.1/InkNode |
Association Type | aggregation | |
Cardinality | [1, 1] overridden to [0, 1] (mandatory) | |
Inverse Of | hasChild |
TextContent
Annotates strokes (StrokeNode
) that are associated with text content.
Name | Value |
---|---|
Class | will:seg-math/0.1/TextContent |
Defined In | will:seg-math/0.1 |
Specializes | will:seg-math/0.1/ContentBlock |
Properties
Property | Attribute | Value |
---|---|---|
hasChild | Data Type(s) | will:uim/1.1/StrokeNode |
Association Type | aggregation | |
Cardinality | [1, inf] overridden to [0, inf] (mandatory) (ordered) | |
hasParent | Data Type(s) | will:uim/1.1/InkNode |
Association Type | aggregation | |
Cardinality | [1, 1] overridden to [0, 1] (mandatory) | |
Inverse Of | hasChild |
UnlabeledContent
Annotates strokes (StrokeNode
) that are different from text and math, e.g., diagrams, doodles, annotations, etc.
Name | Value |
---|---|
Class | will:seg-math/0.1/UnlabeledContent |
Defined In | will:seg-math/0.1 |
Specializes | will:seg-math/0.1/ContentBlock |
Properties
Property | Attribute | Value |
---|---|---|
hasChild | Data Type(s) | will:uim/1.1/StrokeNode |
Association Type | aggregation | |
Cardinality | [1, inf] overridden to [0, inf] (mandatory) (ordered) | |
hasParent | Data Type(s) | will:uim/1.1/InkNode |
Association Type | aggregation | |
Cardinality | [1, 1] overridden to [0, 1] (mandatory) | |
Inverse Of | hasChild |
Schema Definition
{
"head": {
"uri": "will:seg-math/0.1",
"version": "0.1",
"description": "Schema to segment math and non-math ink content.",
"classUriTemplate": "will:seg-math/0.3/[class]",
"propertyUriTemplate": "will:seg-math/0.3/[class]#[property]",
"includes": [
{
"namespace": "u",
"schema": "will:uim/1.1"
}
]
},
"body": {
"extensions": {},
"classes": {
"will:seg-math/0.1/Root": {
"subclassOf": "will:uim/1.1/Root",
"properties": {
"hasChild": {
"dataType": "will:seg-math/0.1/ContentBlock",
"minCardinality": 0,
"maxCardinality": 1,
"isFinal": false
}
},
"isAbstract": false,
"isFinal": false
},
"will:seg-math/0.1/ContentBlock": {
"subclassOf": "will:uim/1.1/InkNode",
"properties": {
"hasParent": {
"dataType": "will:uim/1.1/InkNode",
"minCardinality": 1,
"maxCardinality": 1,
"isFinal": false,
"inverseOf": "hasChild"
}
},
"isAbstract": true,
"isFinal": false,
"@desc": "Defines an abstract block of content."
},
"will:seg-math/0.1/MathContent": {
"subclassOf": "will:seg-math/0.1/ContentBlock",
"properties": {
"hasChild": {
"dataType": "will:uim/1.1/StrokeNode",
"minCardinality": 1,
"maxCardinality": -1,
"isFinal": false,
"isOrdered": true
}
},
"isAbstract": false,
"isFinal": false,
"@desc": "Annotates a strokes (`StrokeNode`) that are associated to math content."
},
"will:seg-math/0.1/TextContent": {
"subclassOf": "will:seg-math/0.1/ContentBlock",
"properties": {
"hasChild": {
"dataType": "will:uim/1.1/StrokeNode",
"minCardinality": 1,
"maxCardinality": -1,
"isFinal": false,
"isOrdered": true
}
},
"isAbstract": false,
"isFinal": false,
"@desc": "Annotates a strokes (`StrokeNode`) that are associated to text content."
},
"will:seg-math/0.1/UnlabeledContent": {
"subclassOf": "will:seg-math/0.1/ContentBlock",
"properties": {
"hasChild": {
"dataType": "will:uim/1.1/StrokeNode",
"minCardinality": 1,
"maxCardinality": -1,
"isFinal": false,
"isOrdered": true
}
},
"isAbstract": false,
"isFinal": false,
"@desc": "Annotates a strokes (`StrokeNode`) that are different from text and math, e.g., diagrams, doodles, annotations, etc.."
}
}
}
}