86 lines
2.7 KiB
JSON
Executable file
86 lines
2.7 KiB
JSON
Executable file
{
|
|
"$schema": "https://json-schema.org/draft-07/schema#",
|
|
"title": "SCORM Metadata Template",
|
|
"description": "Plantilla de metadatos SCORM para guías de refuerzo. Este archivo NO se carga en runtime, solo prepara el terreno para futura conversión SCORM.",
|
|
"type": "object",
|
|
"properties": {
|
|
"guideId": {
|
|
"type": "string",
|
|
"description": "ID único de la guía (debe coincidir con guides-index.ts)"
|
|
},
|
|
"scorm": {
|
|
"type": "object",
|
|
"description": "Metadatos SCORM (preparación pasiva, no activado)",
|
|
"properties": {
|
|
"module": {
|
|
"type": "object",
|
|
"description": "1 guía = 1 módulo SCORM",
|
|
"properties": {
|
|
"identifier": {
|
|
"type": "string",
|
|
"description": "Identificador único del módulo SCORM"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Título del módulo SCORM"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "Descripción del módulo"
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"description": "Versión del módulo (ej: '1.0')"
|
|
}
|
|
},
|
|
"required": ["identifier", "title"]
|
|
},
|
|
"units": {
|
|
"type": "array",
|
|
"description": "8 secciones = 8 unidades SCORM",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"sectionNumber": {
|
|
"type": "number",
|
|
"description": "Número de sección (1-8)"
|
|
},
|
|
"identifier": {
|
|
"type": "string",
|
|
"description": "Identificador único de la unidad SCORM"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Título de la sección"
|
|
},
|
|
"file": {
|
|
"type": "string",
|
|
"description": "Archivo Markdown de la sección"
|
|
}
|
|
},
|
|
"required": ["sectionNumber", "identifier", "title", "file"]
|
|
},
|
|
"minItems": 8,
|
|
"maxItems": 8
|
|
},
|
|
"scormVersion": {
|
|
"type": "string",
|
|
"enum": ["1.2", "2004"],
|
|
"description": "Versión SCORM objetivo (cuando se active)"
|
|
},
|
|
"prepared": {
|
|
"type": "boolean",
|
|
"description": "Indica si la estructura está preparada (pero NO activada)"
|
|
},
|
|
"activated": {
|
|
"type": "boolean",
|
|
"description": "Indica si SCORM está activado (Fase C, futuro)"
|
|
}
|
|
},
|
|
"required": ["module", "units", "prepared"]
|
|
}
|
|
},
|
|
"required": ["guideId", "scorm"]
|
|
}
|
|
|