Skip to content

Commit

Permalink
fixed coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
rossella.aversa committed Dec 21, 2023
1 parent e60111d commit d294b29
Showing 1 changed file with 10 additions and 126 deletions.
136 changes: 10 additions & 126 deletions docs/sample_interface/sample_schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ var dataModel = {
"title": "sample_schema",
"description":"Basic schema for sample description. It can be extended. According to the MDMC-NEP glossary, a Sample is Physical System (typically a piece of material) composed by one or more Sample Components, exposed to the Instrument during a Measurement, typically after a Sample Preparation. Sample may be held by a Sample Holder and/or carried by a Sample Carrier during the Measurement.",
"type":"object",
"required": [],
"$defs":
{
"cartesianType":
Expand Down Expand Up @@ -161,124 +160,8 @@ var dataModel = {
}
}
}
}
},
"test":
{
"type": "object",
"properties":
{
"sampleComponents":
{
"description": "Physical System (typically a piece of material) which constitutes a part of a Sample. It may include one or more substrates, layers, masks, embedding or filler or evaporation materials, coatings, conducting powders and molecules.",
"type": "array",
"items":
{
"type": "object",
"properties":
{
"componentName":
{
"description": "(Required) - Name of the sample component",
"type": "string"
},
"componentChemicalFormula":
{
"description": "(Recommended) - Chemical formula of the sample component",
"type": "string"
},
"componentCASNumber":
{
"description": "(Optional) - CAS number of the sample component, if known and applicable",
"type": "string"
},
"componentMaterialDataSheet":
{
"description": "(Optional) - Link to the file describing the composition specification, usually called Material Data Sheet, if available.",
"type": "string"
},
"componentAdditionalFeatures":
{
"description": "(Optional) - Description of the missing relevant features describing the Sample Component, if any.",
"type": "string"
},
"sampleCharacterization":
{
"type": "object",
"properties":
{
"phaseOfMatter":
{
"description": "A matter object throughout which all physical properties of a material are essentially uniform.",
"type": "string",
"enum":
[
"not applicable",
"solid - definition: https://en.wikipedia.org/wiki/Solid",
"liquid - definition: https://en.wikipedia.org/wiki/Liquid",
"gas - definition: https://en.wikipedia.org/wiki/Gas",
"plasma - definition: https://en.wikipedia.org/wiki/Plasma_(physics)",
"mixture - definition: https://en.wikipedia.org/wiki/Mixture"
]
},
"materialType":
{
"type": "object",
"properties":
{
"notApplicable": {"type": "boolean"},
"alloy": {"type": "boolean"},
"biological": {"type": "boolean"},
"biomaterial": {"type": "boolean"},
"ceramic": {"type": "boolean"},
"composite": {"type": "boolean"},
"glass": {"type": "boolean"},
"metal": {"type": "boolean"},
"metamaterial": {"type": "boolean"},
"molecularFluid": {"type": "boolean"},
"organicCompound": {"type": "boolean"},
"organometallic": {"type": "boolean"},
"polymer": {"type": "boolean"},
"smartMaterial": {"type": "boolean"}
}
},
"materialProperties":
{
"type": "object",
"properties":
{
"propertiesOptions":
{
"type": "array",
"items":
{
"type": "string",
"enum":
[
"diamagnetic",
"paramagnetic",
"ferromagnetic",
"antiferromagnetic",
"ferrimagnetic",
"nonmagnetic",
"conductor",
"semiconductor",
"superconductor",
"insulator",
"dielectric",
"other (please add in the comment)"
]
}
},
"comment": {"type": "string"}
}
}
}
}
}
}
}
}
},
"required": ["sampleName", "sampleProducer", "samplePurpose"]
},
"sampleComponents":
{
Expand Down Expand Up @@ -390,7 +273,8 @@ var dataModel = {
}
}
}
}
},
"required": ["componentName"]
}
},
"sampleCharacterization":
Expand Down Expand Up @@ -1954,7 +1838,7 @@ var dataModel = {
"sampleReference":
{
"description": "(Optional) - Coordinates of the markers in the sample reference system.",
"type": "array",
"type": "string",
"enum":
[
"notApplicable",
Expand Down Expand Up @@ -1984,7 +1868,7 @@ var dataModel = {
"samplePositionOnHolder":
{
"description": "(Optional) - Sample position in the holder reference system.",
"type": "array",
"type": "string",
"enum":
[
"notApplicable",
Expand All @@ -2007,7 +1891,7 @@ var dataModel = {
"holderReference":
{
"description": "(Optional) - Coordinates of the markers in the holder reference system.",
"type": "array",
"type": "string",
"enum":
[
"notApplicable",
Expand Down Expand Up @@ -2039,7 +1923,7 @@ var dataModel = {
"holderPositionOnCarrier":
{
"description": "(Optional) - Holder position in the carrier reference system.",
"type": "array",
"type": "string",
"enum":
[
"notApplicable",
Expand All @@ -2062,7 +1946,7 @@ var dataModel = {
"carrierReference":
{
"description": "(Optional) - Coordinates of the markers in the carrier reference system.",
"type": "array",
"type": "string",
"enum":
[
"notApplicable",
Expand All @@ -2089,7 +1973,7 @@ var dataModel = {
"ROIReference":
{
"description": "(Optional) - Coordinates of the points defining the sample ROI (Region of Interest) in the sample reference system.",
"type": "array",
"type": "string",
"enum":
[
"notApplicable",
Expand Down

0 comments on commit d294b29

Please sign in to comment.