fix schema error

This commit is contained in:
Jacson Passold 2018-06-12 21:28:25 -03:00
parent 14f41a5a75
commit 89dd8ff40d
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ class Collections extends Repository {
'type' => 'array', 'type' => 'array',
'description' => __( 'Which visualization modes will be available for the public to choose from', 'tainacan' ), 'description' => __( 'Which visualization modes will be available for the public to choose from', 'tainacan' ),
'default' => ['table', 'cards'], 'default' => ['table', 'cards'],
'items' => [ 'type' => 'string' ],
//'validation' => v::stringType(), //'validation' => v::stringType(),
], ],
'metadata_order' => [ 'metadata_order' => [