Back to Napcraft
SOURCE / PINNED RELEASE

Made of little things.

Napcraft

Release
ee47ac6a25df…
Author-recorded commit
410dea87e109…
License
LICENSE
Author’s source reference
nostr://npub182jczunncwe0jn6frpqwq3e0qjws7yqqnc3auccqv9nte2dnd63scjm4rf/wss%3A%2F%2Fgit.napplet.soy%2F/n-52f9e22f5ce

Archive hash verified: 9e6e0cabb18d0d46…. The source-to-build association is the author’s claim; it has not been independently rebuilt.

backend/schemas.json
{
  "version": 1,
  "records": {
    "worlds": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 48
        },
        "blocks": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 6
          },
          "minItems": 3888,
          "maxItems": 3888
        },
        "edits": {
          "type": "integer",
          "minimum": 0,
          "maximum": 2147483647
        },
        "locked": {
          "type": "boolean"
        }
      },
      "required": [
        "name",
        "blocks",
        "edits",
        "locked"
      ],
      "additionalProperties": false
    },
    "editLog": {
      "type": "object",
      "properties": {
        "changes": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "n": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "x": {
                "type": "integer",
                "minimum": 0,
                "maximum": 17
              },
              "y": {
                "type": "integer",
                "minimum": 2,
                "maximum": 11
              },
              "z": {
                "type": "integer",
                "minimum": 0,
                "maximum": 17
              },
              "block": {
                "type": "integer",
                "minimum": 0,
                "maximum": 6
              }
            },
            "required": [
              "n",
              "x",
              "y",
              "z",
              "block"
            ],
            "additionalProperties": false
          },
          "maxItems": 128
        }
      },
      "required": [
        "changes"
      ],
      "additionalProperties": false
    }
  },
  "operations": {
    "createWorld": {
      "effect": "create",
      "access": "owner",
      "account": true,
      "input": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 48
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "output": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 48
          },
          "blocks": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 6
            },
            "minItems": 3888,
            "maxItems": 3888
          },
          "edits": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "locked": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "blocks",
          "edits",
          "locked"
        ],
        "additionalProperties": false
      }
    },
    "readWorld": {
      "effect": "query",
      "access": "reader",
      "account": false,
      "input": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "output": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 48
          },
          "blocks": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 6
            },
            "minItems": 3888,
            "maxItems": 3888
          },
          "edits": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "locked": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "blocks",
          "edits",
          "locked"
        ],
        "additionalProperties": false
      }
    },
    "editBlock": {
      "effect": "command",
      "access": "writer",
      "account": false,
      "input": {
        "type": "object",
        "properties": {
          "x": {
            "type": "integer",
            "minimum": 0,
            "maximum": 17
          },
          "y": {
            "type": "integer",
            "minimum": 2,
            "maximum": 11
          },
          "z": {
            "type": "integer",
            "minimum": 0,
            "maximum": 17
          },
          "block": {
            "type": "integer",
            "minimum": 0,
            "maximum": 6
          },
          "expected": {
            "type": "integer",
            "minimum": 0,
            "maximum": 6
          }
        },
        "required": [
          "x",
          "y",
          "z",
          "block",
          "expected"
        ],
        "additionalProperties": false
      },
      "output": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 48
          },
          "blocks": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 6
            },
            "minItems": 3888,
            "maxItems": 3888
          },
          "edits": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "locked": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "blocks",
          "edits",
          "locked"
        ],
        "additionalProperties": false
      }
    },
    "setLocked": {
      "effect": "command",
      "access": "owner",
      "account": true,
      "input": {
        "type": "object",
        "properties": {
          "locked": {
            "type": "boolean"
          }
        },
        "required": [
          "locked"
        ],
        "additionalProperties": false
      },
      "output": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 48
          },
          "blocks": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 6
            },
            "minItems": 3888,
            "maxItems": 3888
          },
          "edits": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "locked": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "blocks",
          "edits",
          "locked"
        ],
        "additionalProperties": false
      }
    },
    "readUpdates": {
      "effect": "query",
      "access": "reader",
      "account": false,
      "input": {
        "type": "object",
        "properties": {
          "after": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          }
        },
        "required": [
          "after"
        ],
        "additionalProperties": false
      },
      "output": {
        "type": "object",
        "properties": {
          "from": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "edits": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "locked": {
            "type": "boolean"
          },
          "reset": {
            "type": "boolean"
          },
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "n": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 2147483647
                },
                "x": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 17
                },
                "y": {
                  "type": "integer",
                  "minimum": 2,
                  "maximum": 11
                },
                "z": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 17
                },
                "block": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 6
                }
              },
              "required": [
                "n",
                "x",
                "y",
                "z",
                "block"
              ],
              "additionalProperties": false
            },
            "maxItems": 128
          }
        },
        "required": [
          "from",
          "edits",
          "locked",
          "reset",
          "changes"
        ],
        "additionalProperties": false
      }
    },
    "editBlocks": {
      "effect": "command",
      "access": "writer",
      "account": false,
      "input": {
        "type": "object",
        "properties": {
          "after": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "edits": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "x": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 17
                },
                "y": {
                  "type": "integer",
                  "minimum": 2,
                  "maximum": 11
                },
                "z": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 17
                },
                "block": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 6
                },
                "expected": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 6
                }
              },
              "required": [
                "x",
                "y",
                "z",
                "block",
                "expected"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 8
          }
        },
        "required": [
          "after",
          "edits"
        ],
        "additionalProperties": false
      },
      "output": {
        "type": "object",
        "properties": {
          "from": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "edits": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "locked": {
            "type": "boolean"
          },
          "reset": {
            "type": "boolean"
          },
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "n": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 2147483647
                },
                "x": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 17
                },
                "y": {
                  "type": "integer",
                  "minimum": 2,
                  "maximum": 11
                },
                "z": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 17
                },
                "block": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 6
                }
              },
              "required": [
                "n",
                "x",
                "y",
                "z",
                "block"
              ],
              "additionalProperties": false
            },
            "maxItems": 128
          }
        },
        "required": [
          "from",
          "edits",
          "locked",
          "reset",
          "changes"
        ],
        "additionalProperties": false
      }
    }
  }
}