1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/tests/helpers/schemas/site-tree-schema.js

28 lines
485 B
JavaScript

const childPage = {
type: 'object',
required: ['href', 'page'],
properties: {
href: {
type: 'string',
},
page: {
type: 'object',
required: ['title', 'relativePath', 'permalinks'],
properties: {
title: {
type: 'string',
},
relativePath: {
type: 'string',
},
permalinks: {
type: 'array',
minItems: 1,
},
},
},
},
}
export default { childPage }