diff --git a/schemas/documents/shared/project.js b/schemas/documents/shared/project.js index 5078573..5a172ab 100644 --- a/schemas/documents/shared/project.js +++ b/schemas/documents/shared/project.js @@ -4,10 +4,10 @@ export default { type: 'document', fields: [ { - title: 'Project id, uuid or slug', + title: 'Project slug, on-chain id or off-chain uuid', name: 'projectId', type: 'string', - description: 'on-chain project id, off-chain uuid or slug', + description: 'Slug should be the prefered option if the project has a slug, otherwise it might result in the data below not being displayed on the project page.', validation: Rule => Rule.required(), }, { diff --git a/schemas/objects/projectPrefinancing.js b/schemas/objects/projectPrefinancing.js index 973cada..053b653 100644 --- a/schemas/objects/projectPrefinancing.js +++ b/schemas/objects/projectPrefinancing.js @@ -75,7 +75,7 @@ export default { type: 'text', }, ], - validation, + validation: Rule => validation(Rule).max(6), }, ], };