Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding some more mathematical shapes #187

Draft
wants to merge 5 commits into
base: v3
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions schemas/mathematicalShapes/kite.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"_type": "https://openminds.ebrains.eu/sands/Kite",
"_categories": [
"mathematicalShapes"
],
"required": [
"majorAxis",
"majorSide",
"minorSide",
"minorAxis"
],
"properties": {
"majorAxis": {
"_instruction": "Define the length of the major axis (diagonal) of this kite.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
},
"majorSide": {
"_instruction": "Define the length of the major (long) side of this kite.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
},
"minorAxis": {
"_instruction": "Define the length of the minor axis (diagonal) of this kite.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
},
"minorSide": {
"_instruction": "Define the length of the minor (short) side of this kite.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
}
}
}
31 changes: 31 additions & 0 deletions schemas/mathematicalShapes/parallelogram.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"_type": "https://openminds.ebrains.eu/sands/Parallelogram",
"_categories": [
"mathematicalShapes"
],
"required": [
"height",
"majorSide",
"minorSide"
],
"properties": {
"height": {
"_instruction": "Define the height (distance between the major sides) of this parallelogram.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
},
"majorSide": {
"_instruction": "Define the length of the major (long) side of this parallelogram.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
},
"minorSide": {
"_instruction": "Define the length of the minor (short) side of this parallelogram.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
}
}
}
24 changes: 24 additions & 0 deletions schemas/mathematicalShapes/rhombus.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"_type": "https://openminds.ebrains.eu/sands/Rhombus",
"_categories": [
"mathematicalShapes"
],
"required": [
"height",
"side"
],
"properties": {
"height": {
"_instruction": "Define the height (distance between the major sides) of this rhombus.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
},
"side": {
"_instruction": "Define the length of the sides of this rhombus.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
}
}
}
17 changes: 17 additions & 0 deletions schemas/mathematicalShapes/sphere.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"_type": "https://openminds.ebrains.eu/sands/Sphere",
"_categories": [
"mathematicalShapes"
],
"required": [
"radius"
],
"properties": {
"radius": {
"_instruction": "Define the radius of this sphere.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
}
}
}
17 changes: 17 additions & 0 deletions schemas/mathematicalShapes/square.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"_type": "https://openminds.ebrains.eu/sands/Square",
"_categories": [
"mathematicalShapes"
],
"required": [
"length"
],
"properties": {
"length": {
"_instruction": "Define the length of sides of this square.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
]
}
}
}