scratch-parser/lib/sprite2_schema.json
Karishma Chadha 78ce54e69f test: add new sprite2 test fixtures and integration tests
provide test coverage for sprite2 validation, and update sprite2_schema
2018-05-02 23:46:26 -04:00

22 lines
761 B
JSON

{
"$id": "https://scratch.mit.edu/sprite2_schema.json",
"description": "Scratch 2.0 project schema",
"type": "object",
"allOf": [
{"$ref": "sb2_definitions.json#/definitions/sprite_object"},
{
"type": "object",
"properties": {
"scratchX": {"type": "number"},
"scratchY": {"type": "number"},
"scale": {"type": "number"},
"direction": {"type": "number"},
"rotationStyle": {"type": "string"},
"isDraggable": {"type": "boolean"},
"indexInLibrary": {"type": "number"},
"visible": {"type": "boolean"},
"spriteInfo": {"type": "object"}
}
}
]
}