Linking to schemas in different yaml files
When I drop the following three files, I get the error:
Unhandled Rejection (TypeError): Cannot read properties of undefined (reading '../upload/raw/chemical_schema.archive.yaml')
I both upload the files and their content below:
movpe_app-def_data.archive.yaml
definitions:
name: 'Electronic Lab Notebook schema fot MOVPE-STO'
sections: # Schemas consist of section definitions
MovpeSto_schema: # This is the name of the first section
# Inheriting it from EntryData, makes this section a possible
# EntryArchive.data sub-section
base_section: nomad.datamodel.data.EntryData
sub_sections:
precursor_sample:
section:
quantities:
chemicals:
type: ../upload/raw/chemical_schema.archive.yaml#definitions/section_definitions/0
shape: ['*']
m_annotations:
eln:
component: ReferenceEditQuantity
data:
m_def: MovpeSto_schema
precursor_sample:
chemicals:
- "../upload/raw/CHEMICAL.archive.yaml#data"
definitions:
name: 'Chem'
sections: # Schemas consist of section definitions
Chemical:
base_section: nomad.datamodel.data.EntryData
quantities:
comment:
type: str
m_annotations:
eln:
component: StringEditQuantity
chemical_name:
type: str
description: The name of the chemical that is typically used in literature
m_annotations:
eln:
component: StringEditQuantity
data:
m_def: ../upload/raw/chemical_schema.archive.yaml#/definitions/section_definitions/0
chemical_name: Cu2Se