Last active
January 28, 2019 18:20
-
-
Save humansonofhuman/6cab25be482766a68989823b8201cddb to your computer and use it in GitHub Desktop.
Ejemplos de la estructura de los contenidos del proyecto Kristen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": 1, | |
"contenido": { | |
"texto": "This is the essence of our connection with one another. We must look deeply enough into one another’s souls not only to know what makes us happy but also to understand what causes us pain." | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": 10, | |
"contenido": { | |
"letra": "Letra en números romanos", | |
"descripcion": "descripción", | |
"archivo": "url/al/archivo" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": 11, | |
"contenido": { | |
"titulo": "Título de la Lista", | |
"elementos": [ | |
{ | |
"texto": "Elemento 1", | |
"url": "https://lipsum.com/" | |
}, | |
{ | |
"texto": "Elemento 2", | |
"url": "https://lipsum.com/" | |
}, | |
{ | |
"texto": "Elemento 3", | |
"url": "https://lipsum.com/" | |
}, | |
{ | |
"texto": "Elemento N", | |
"url": "https://lipsum.com/" | |
} | |
] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": 2, | |
"contenido": { | |
"src": "https://i.imgur.com/ujwkVVv.jpg", | |
"alt": "Imagen Ejemplo" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": "3", | |
"contenido": { | |
"cols": [ | |
"DEPORTE", | |
"LUNES", | |
"MARTES", | |
"MIERCOLES", | |
"JUEVES", | |
"VIERNES", | |
"LUGAR" | |
], | |
"rows": [ | |
[ | |
"Ajedrez", | |
"10:20 - 13:00", | |
"07:00 - 10:00", | |
"09:00 - 12:00", | |
"07:00 - 10:00", | |
"09:00 - 12:00", | |
"UQPROO" | |
], | |
[ | |
"Deporte N", | |
"Horario Lunes", | |
"Horario Martes", | |
"Horario Miercoles", | |
"Horario Jueves", | |
"Horario Viernes", | |
"Lugar donde se realiza el deporte" | |
], | |
[ | |
"Row n", | |
"La cantidad de", | |
"elementos en la", | |
"row debe ser igual", | |
"a la cantidad de", | |
"elementos en el", | |
"atributo cols" | |
] | |
] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": 4, | |
"contenido": { | |
"texto": "Lorem Ipsum", | |
"url": "https://lipsum.com/" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": 5, | |
"contenido": { | |
"imagenes": [ | |
"public/images/2018-07-23-4709/gallery2018-07-23-47091.png", | |
"public/images/2018-07-23-4709/gallery2018-07-23-47092.png", | |
"public/images/2018-07-23-4709/gallery2018-07-23-47093.png", | |
"public/images/2018-07-23-4709/gallery2018-07-23-47093.png", | |
"public/images/2018-07-23-4709/gallery2018-07-23-47093.png", | |
"public/images/2018-07-23-4709/gallery2018-07-23-47094.png" | |
] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": 6, | |
"contenido": { | |
"imagen": "Foto_del_contecto.jpg", | |
"nombre": "Nombre Completo Contacto", | |
"cargo": "Cargo que ocupa", | |
"descripción": "Leyenda", | |
"email": "[email protected]", | |
"telefono": "1234567890 ext 123" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": 7, | |
"contenido": { | |
"id": "cjfTG8DbwA", | |
"servidor": "youtube" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": 8, | |
"contenido": { | |
"titulo": "Título de la Lista", | |
"ordenada": true, | |
"elementos": [ | |
"Elemento 1", | |
"Elemento 2", | |
"Elemento 3", | |
"Elemento N" | |
] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"idTipoContenidos": 9, | |
"contenido": { | |
"texto": "Encabezado" | |
} | |
} |
[
{
"idTipoContenidos": 1,
"nombre": "Texto",
"estructura": {
"texto": "string"
}
},
{
"idTipoContenidos": 2,
"nombre": "Imagen",
"estructura": {
"src": "string",
"alt": "string"
}
},
{
"idTipoContenidos": 3,
"nombre": "Tabla",
"estructura": {
"cols": ["string"],
"rows": [["string"]]
}
},
{
"idTipoContenidos": 4,
"nombre": "Enlace",
"estructura": {
"texto": "string",
"url": "string"
}
},
{
"idTipoContenidos": 5,
"nombre": "Galeria",
"estructura": {
"imagenes": ["string"]
}
},
{
"idTipoContenidos": 6,
"nombre": "Tarjeta Contacto",
"estructura": {
"imagen": "string (opcional)",
"nombre": "string",
"cargo": "string",
"descripcion": "string (opcional)",
"email": "string",
"telefono": "string"
}
},
{
"idTipoContenidos": 7,
"nombre": "Video",
"estructura": {
"id": "string",
"servidor": "string"
}
},
{
"idTipoContenidos": 8,
"nombre": "Lista",
"estructura": {
"titulo": "string",
"ordenada": "boolean",
"elementos":["string"]
}
},
{
"idTipoContenidos": 9,
"nombre": "Encabezado",
"estructura": {
"texto": "string"
}
},
{
"idTipoContenidos": 10,
"nombre": "Articulo Transparencia",
"estructura": {
"letra": "string",
"descripcion": "string",
"archivo": "string"
}
}
]
Se eliminó
TipoId-6-Fecha-Evento.json
TipoId-3-Mapa-curricular.json
y se cambiaron los ids
de Tarjeta-Contacto a id 6
y de Tabla a id 3
Agrega atributo telefono a contenido tipo contacto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ejemplos de la estructura de los contenidos del proyecto Kristen