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

31 lines
514 B
JavaScript

const childPage = {
type: 'object',
properties: {
href: {
type: 'string',
required: true
},
page: {
type: 'object',
required: true,
properties: {
title: {
type: 'string',
required: true
},
relativePath: {
type: 'string',
required: true
},
permalinks: {
type: 'array',
required: true,
minItems: 1
}
}
}
}
}
module.exports = { childPage }