File tree Expand file tree Collapse file tree 2 files changed +474
-538
lines changed
Expand file tree Collapse file tree 2 files changed +474
-538
lines changed Original file line number Diff line number Diff line change @@ -67,9 +67,9 @@ async function buildSchemaFromSDGData(sdgData) {
6767
6868 const fieldKey = `sdg_${ indicator . code . replace ( / \. / g, '_' ) } ` ;
6969
70- properties [ fieldKey ] = {
70+ properties [ `Does your project address: ${ indicator . description } ` ] = {
7171 "type" : "boolean" ,
72- "description" : `Does your project pertain to: ${ indicator . description } ? ( Goal ${ indicator . goal } , Target ${ indicator . target } ) `
72+ "description" : `Goal ${ indicator . goal } , Target ${ indicator . target } `
7373 } ;
7474
7575 if ( indicator . series && indicator . series . length > 0 ) {
@@ -80,9 +80,9 @@ async function buildSchemaFromSDGData(sdgData) {
8080 seriesData . forEach ( ( series , index ) => {
8181 const seriesKey = `${ fieldKey } _series_${ index + 1 } ` ;
8282
83- properties [ seriesKey ] = {
83+ properties [ `Does your project address: ${ series . description } ` ] = {
8484 "type" : "boolean" ,
85- "description" : `Does your project address: ${ series . description || ` Series ${ index + 1 } of indicator ${ indicator . code } ` } ?`
85+ "description" : `Series ${ index + 1 } of indicator ${ indicator . code } ?`
8686 } ;
8787 } ) ;
8888 }
You can’t perform that action at this time.
0 commit comments