knittingpattern/examples/block4x4.json
{
"type" : "knitting pattern",
"version" : "0.1",
"comment" : {
"content" : "4x4 meshes block",
"type" : "markdown"
},
"patterns" : [
{
"id" : "knit",
"name" : "knit 4x4",
"rows" : [
{
"id" : 1,
"instructions" : [
{"id": "1.0", "color": "green"},
{"id": "1.1"},
{"id": "1.2"},
{"id": "1.3"}
]
},
{
"id" : 3,
"instructions" : [
{"id": "3.0"},
{"id": "3.1"},
{"id": "3.2", "color": "green"},
{"id": "3.3"}
]
},
{
"id" : 2,
"instructions" : [
{"id": "2.0"},
{"id": "2.1", "color": "green"},
{"id": "2.2"},
{"id": "2.3"}
]
},
{
"id" : 4,
"instructions" : [
{"id": "4.0"},
{"id": "4.1"},
{"id": "4.2"},
{"id": "4.3", "color": "green"}
]
}
],
"connections" : [
{
"from" : {
"id" : 1
},
"to" : {
"id" : 2
}
},
{
"from" : {
"id" : 2
},
"to" : {
"id" : 3
}
},
{
"from" : {
"id" : 3
},
"to" : {
"id" : 4
}
}
]
}
]
}