Download schema/exercise.schema.json from movekit/exercise-database: direct link, hf CLI and curl.
- Browser
- Download file 2.64 kB
-
https://huggingface.co/datasets/movekit/exercise-database/resolve/main/schema/exercise.schema.json
- Command line
-
hf download hf://datasets/movekit/exercise-database/schema/exercise.schema.json
-
curl -L -o exercise.schema.json https://huggingface.co/datasets/movekit/exercise-database/resolve/main/schema/exercise.schema.json
2.64 kB
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "$id": "https://raw.githubusercontent.com/movekit-dev/exercise-database/main/schema/exercise.schema.json", | |
| "title": "MoveKit Public Exercise Database", | |
| "description": "Metadata-only public exercise catalogue from MoveKit (CC BY 4.0 data only; MoveKit videos and posters are licensed separately at https://movekit.com/license).", | |
| "type": "object", | |
| "required": ["count", "source", "license", "about", "exercises"], | |
| "properties": { | |
| "count": { "type": "integer", "minimum": 1 }, | |
| "source": { "type": "string", "format": "uri" }, | |
| "license": { | |
| "type": "object", | |
| "required": ["name", "url", "attribution", "note"], | |
| "properties": { | |
| "name": { "type": "string" }, | |
| "url": { "type": "string", "format": "uri" }, | |
| "attribution": { "type": "string" }, | |
| "note": { "type": "string" } | |
| } | |
| }, | |
| "about": { "type": "string" }, | |
| "exercises": { | |
| "type": "array", | |
| "minItems": 1, | |
| "items": { "$ref": "#/$defs/ExerciseRecord" } | |
| } | |
| }, | |
| "$defs": { | |
| "ExerciseRecord": { | |
| "type": "object", | |
| "required": [ | |
| "id", | |
| "slug", | |
| "name", | |
| "aliases", | |
| "primaryMuscles", | |
| "secondaryMuscles", | |
| "equipment", | |
| "implementsNeeded", | |
| "movementPattern", | |
| "difficulty", | |
| "durationSeconds", | |
| "packs", | |
| "url", | |
| "poster", | |
| "preview" | |
| ], | |
| "additionalProperties": false, | |
| "properties": { | |
| "id": { "type": "string", "pattern": "^[0-9]+$" }, | |
| "slug": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" }, | |
| "name": { "type": "string", "minLength": 1 }, | |
| "aliases": { "type": "array", "items": { "type": "string" } }, | |
| "primaryMuscles": { "type": "array", "minItems": 1, "items": { "type": "string" } }, | |
| "secondaryMuscles": { "type": "array", "items": { "type": "string" } }, | |
| "equipment": { "type": "array", "minItems": 1, "items": { "type": "string" } }, | |
| "implementsNeeded": { "type": ["integer", "null"], "enum": [1, 2, null] }, | |
| "movementPattern": { "type": "array", "items": { "type": "string" } }, | |
| "difficulty": { "type": "string", "enum": ["beginner", "intermediate", "advanced"] }, | |
| "durationSeconds": { "type": "number", "minimum": 0 }, | |
| "packs": { "type": "array", "items": { "type": "string" } }, | |
| "url": { "type": "string", "format": "uri" }, | |
| "poster": { "type": "string", "format": "uri" }, | |
| "preview": { "type": "string", "format": "uri" } | |
| } | |
| } | |
| } | |
| } | |