@@ -366,7 +366,7 @@ export class PostSurveyEnvironmentalConditionToBiohubObject implements BioHubSub
366366 } else {
367367 this . properties = {
368368 environmental_condition : `code::environment_quantitative::${ environmentData . environment_quantitative_id } ` ,
369- environmental_quantitative_value : `${ environmentData . value } ${ environmentData . unit ? ' ' + environmentData . unit : '' } `
369+ environmental_condition_value : `${ environmentData . value } ${ environmentData . unit ? ' ' + environmentData . unit : '' } `
370370 } ;
371371 }
372372
@@ -719,13 +719,13 @@ export class PostSurveyReportAttachmentsToBiohubObject implements BioHubSubmissi
719719 this . id = crypto . randomUUID ( ) ;
720720 this . type = BiohubFeatureType . REPORT ;
721721 this . properties = {
722- artifact_id : reportAttachmentRecord . survey_report_attachment_id ,
722+ artifact_key : reportAttachmentRecord . key ,
723723 filename : reportAttachmentRecord . file_name ,
724724 file_type : ATTACHMENT_TYPE . REPORT ,
725725 file_size : reportAttachmentRecord . file_size ,
726- title : reportAttachmentRecord . title ,
726+ name : reportAttachmentRecord . title ,
727727 description : reportAttachmentRecord . description ,
728- year_published : reportAttachmentRecord . year_published
728+ year : reportAttachmentRecord . year_published
729729 } ;
730730 this . child_features = [ ] ;
731731 }
@@ -1017,7 +1017,7 @@ export class PostTelemetryDeviceToBiohubObject implements BioHubSubmissionFeatur
10171017 this . type = BiohubFeatureType . TELEMETRY_DEVICE ;
10181018 this . properties = {
10191019 device_manufacturer : `code::device_make::${ deviceRecord . device_make_id } ` ,
1020- model : deviceRecord . model || null ,
1020+ device_model : deviceRecord . model || null ,
10211021 description : deviceRecord . comment || null ,
10221022 serial_number : deviceRecord . serial
10231023 } ;
0 commit comments