From a98b4ce919bed18e28596b29f3f4734a425f6713 Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Mon, 11 Feb 2019 11:08:02 +0100 Subject: [PATCH] seperate example information of INFO file in new file --- src/data/INFO.json | 62 ++----------------------------------------- src/data/example.json | 58 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 60 deletions(-) create mode 100644 src/data/example.json diff --git a/src/data/INFO.json b/src/data/INFO.json index 55e1397..f2a0824 100644 --- a/src/data/INFO.json +++ b/src/data/INFO.json @@ -1,4 +1,4 @@ -[{ +{ "Name": "Name of the material", "Formula": "Formula of the material", "Heat treatment": { @@ -88,62 +88,4 @@ } }, "Source": "Sources" -}, -{ - "Name": "Name of the material", - "Alloy": { - "Standard": "EN AW xxxx", - "Type": "non heat-treatable" - }, - "Formula": "Al, AlMg4.5Mn0.7", - "Heat treatment": { - "Temper": "homogenized and stress relieved, O3" - }, - "CAS Reg No.": "7429-90-5", - "Mol. weight": 26.982, - "Physical Form": { - "color": "silvery-white metal", - "crystal": "cubic|cubic crystals" - }, - "Electromagnetic Data": { - "chi_m": [16.5e-6, "cm³/mol"], - "sigma": ["16-18", "m/Ω/mm²"] - }, - "Mechanical Properties": { - "T": ["20-25", "°C"], - "rho": [2.66, "g/cm³"], - "E": [70, "GPa"], - "Yield strength": { - "R_p02": ["110-130", "MPa"] - }, - "R_m": ["230-290", "MPa"], - "Elongation": { - "A_5": ["10-15", "%"] - }, - "Hardness": { - "HBW": ["68-75", "2.5/62.5"] - } - }, - "Thermodynamic Properties": { - "Crystal": { - "alpha": [23.3, "m/µm/K"], - "k": ["110-130", "W/m/K"], - "cp": [900, "J/kg/K"] - } - }, - "Source": [ - { - "Type": "Book", - "Title": "Title of the book", - "Pages": [ - ["4-152", "Electromagnetic Data"], - ["4-156", "Crystallographic Data"], - ["8-13", "Borax Beads"] - ] - }, - { - "Type": "Web", - "URL": "http://" - } - ] -}] +} diff --git a/src/data/example.json b/src/data/example.json new file mode 100644 index 0000000..56dab02 --- /dev/null +++ b/src/data/example.json @@ -0,0 +1,58 @@ +{ + "Name": "Name of the material", + "Alloy": { + "Standard": "EN AW xxxx", + "Type": "non heat-treatable" + }, + "Formula": "Al, AlMg4.5Mn0.7", + "Heat treatment": { + "Temper": "homogenized and stress relieved, O3" + }, + "CAS Reg No.": "7429-90-5", + "Mol. weight": 26.982, + "Physical Form": { + "color": "silvery-white metal", + "crystal": "cubic|cubic crystals" + }, + "Electromagnetic Data": { + "chi_m": [16.5e-6, "cm³/mol"], + "sigma": ["16-18", "m/Ω/mm²"] + }, + "Mechanical Properties": { + "T": ["20-25", "°C"], + "rho": [2.66, "g/cm³"], + "E": [70, "GPa"], + "Yield strength": { + "R_p02": ["110-130", "MPa"] + }, + "R_m": ["230-290", "MPa"], + "Elongation": { + "A_5": ["10-15", "%"] + }, + "Hardness": { + "HBW": ["68-75", "2.5/62.5"] + } + }, + "Thermodynamic Properties": { + "Crystal": { + "alpha": [23.3, "m/µm/K"], + "k": ["110-130", "W/m/K"], + "cp": [900, "J/kg/K"] + } + }, + "Source": [ + { + "Type": "Book", + "Title": "Title of the book", + "Pages": [ + ["4-152", "Electromagnetic Data"], + ["4-156", "Crystallographic Data"], + ["8-13", "Borax Beads"] + ] + }, + { + "Type": "Web", + "URL": "http://" + } + ] +}