File size: 2,639 Bytes
96ff4c9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | {
"$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" }
}
}
}
}
|