Skip to content

SOF-7687: change propery schema title (for TS types) #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 44 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
003d954
chore: change propery schema title (for TS types)
k0stik Jul 30, 2025
a8da309
Update property base schema and regenerate models
k0stik Jul 31, 2025
49ad75a
Update property base schema and regenerate models
k0stik Aug 1, 2025
83b9326
chore: add required name
k0stik Aug 1, 2025
32f8c6e
chore: improve xDataArray
k0stik Aug 1, 2025
179a887
chore: improve band-gaps schema
k0stik Aug 1, 2025
a819638
chore: required legend
k0stik Aug 4, 2025
087b924
chore: not required legend
k0stik Aug 4, 2025
91a7169
chore: required legend
k0stik Aug 4, 2025
d1d85e1
chore: change schema title
k0stik Aug 4, 2025
d815e01
chore: change schema title
k0stik Aug 4, 2025
d4c4234
chore: change schema title
k0stik Aug 4, 2025
1fe596d
chore: change required values for dielectric-tensor
k0stik Aug 4, 2025
60b4714
chore: required energy for convergence_ionic
k0stik Aug 5, 2025
ab79728
fix: 1d-data-series
k0stik Aug 5, 2025
3168ab0
chore: remove legend from 2d-plot
k0stik Aug 6, 2025
da5ce58
chore: resolve conflicts
k0stik Aug 7, 2025
201253e
fix: properties type
k0stik Aug 7, 2025
53fd1d9
chore: required property.source.info field
k0stik Aug 7, 2025
cd554e8
update: add property holder/meta-holder schemas
k0stik Aug 7, 2025
50bc156
update: make name required in properties
k0stik Aug 8, 2025
fdf52b5
update: add data.repetition field
k0stik Aug 8, 2025
e9123b3
update: add repetition to propery schema
k0stik Aug 8, 2025
268d2de
chore: deps
k0stik Aug 8, 2025
0efcd4c
update: add boundary-conditions
k0stik Aug 11, 2025
7f89874
chore: merge dev
k0stik Aug 15, 2025
3aaab58
chore: change schema title
k0stik Aug 18, 2025
943fd28
update: add predicted-properties
k0stik Aug 19, 2025
60d8bc3
update: add predicted-properties
k0stik Aug 19, 2025
4adc223
update: remove predicted_properties
k0stik Aug 19, 2025
82c5a6a
update: add workflow:pyml_predict property
k0stik Aug 19, 2025
7dd2e7f
chore: add legend to phonon-dos
k0stik Aug 20, 2025
81f588d
chore: remove legend to phonon-dos
k0stik Aug 20, 2025
6b147d6
chore: change property schema titles
k0stik Aug 21, 2025
36e4801
chore: required units in properties
k0stik Aug 21, 2025
86ee679
chore: required units in properties
k0stik Aug 21, 2025
1295241
update: add is_relaxed property
k0stik Aug 21, 2025
d406901
update: add fina_structure property
k0stik Aug 21, 2025
37b6900
update: add required properties
k0stik Aug 21, 2025
da0110d
update: add required properties
k0stik Aug 21, 2025
845808d
chore: create hubbard-parameters schema
k0stik Aug 21, 2025
99fc25e
chore: rename schemas
k0stik Aug 21, 2025
93ee843
chore: add jupyter_notebook_endpoint
k0stik Aug 22, 2025
10c26dd
update: boundary_conditions
k0stik Aug 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "convergence_electronic",
"data": [
[
-123.45678,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "convergence_ionic",
"data": [
{
"electronic": {
Expand Down
14 changes: 6 additions & 8 deletions dist/js/example/property/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"data": {
"name": "pressure",
"units": "kbar",
"value": -149.03
"value": -149.03,
"repetition": 0
},
"group": "qe:dft:gga:pbe",
"owner": {
Expand All @@ -20,12 +21,9 @@
"schemaVersion": "0.2.0",
"slug": "pressure",
"source": {
"_id": "nDAavgjrT5ezwFgod",
"owner": {
"_id": "HtxACY2wX4b2hS8Rv",
"cls": "Account",
"slug": "exabyte"
},
"title": "My Calculation"
"info": {
"jobId": "XnYKCmgaAAzSQH5ac",
"unitId": "873d0293d04af431d31f07a0-pw-scf"
}
}
}
3 changes: 2 additions & 1 deletion dist/js/example/workflow/unit/io/object_storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"REGION": "us-east-1",
"SIZE": 6582,
"TIMESTAMP": "1614217411"
}
},
"filetype": "text/html"
}
30 changes: 24 additions & 6 deletions dist/js/schema/core/abstract/2d_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@
"properties": {
"xDataArray": {
"description": "array containing values of x Axis",
"type": "array"
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "number"
}
}
]
}
},
"yDataSeries": {
"$schema": "http://json-schema.org/draft-07/schema#",
Expand All @@ -19,11 +32,16 @@
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": [
"number",
"string"
]
"items": [
{
"type": [
"string",
"number"
]
}
],
"additionalItems": {
"type": "number"
}
}
}
Expand Down
35 changes: 24 additions & 11 deletions dist/js/schema/core/abstract/2d_plot.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,22 @@
}
}
},
"legend": {
"description": "Legend of y Axis data series",
"minItems": 1,
"type": "array"
},
"xDataArray": {
"description": "array containing values of x Axis",
"type": "array"
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "number"
}
}
]
}
},
"yDataSeries": {
"$schema": "http://json-schema.org/draft-07/schema#",
Expand All @@ -62,11 +70,16 @@
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": [
"number",
"string"
]
"items": [
{
"type": [
"string",
"number"
]
}
],
"additionalItems": {
"type": "number"
}
}
}
Expand Down
15 changes: 10 additions & 5 deletions dist/js/schema/core/primitive/1d_data_series.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": [
"number",
"string"
]
"items": [
{
"type": [
"string",
"number"
]
}
],
"additionalItems": {
"type": "number"
}
}
}
8 changes: 4 additions & 4 deletions dist/js/schema/core/reference/exabyte.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"$id": "core/reference/exabyte",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"jobId",
"unitId"
],
"properties": {
"materialId": {
"description": "Material's identity. Used for protoProperties.",
"type": "string"
},
"jobId": {
"description": "Job's identity",
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions dist/js/schema/core/reusable/file_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "file_metadata",
"type": "object",
"required": [
"basename",
"filetype"
],
"properties": {
"pathname": {
"description": "Relative path to the directory that contains the file.",
Expand Down
70 changes: 70 additions & 0 deletions dist/js/schema/core/reusable/hubbard_parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"$id": "core/reusable/hubbard-parameters",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Hubbard parameters reusable schema",
"description": "Common properties for hubbard parameter schemas",
"type": "object",
"required": [
"values",
"units"
],
"properties": {
"units": {
"enum": [
"eV"
]
},
"values": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"id2",
"atomicSpecies",
"atomicSpecies2",
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Atomic data per orbital pair numeric",
"description": "Atomic properties per orbital pair with numeric value e.g., Hubbard V parameters.",
"properties": {
"id": {
"type": "integer",
"description": "Site number or index in the lattice"
},
"id2": {
"type": "integer",
"description": "Site number or index in the lattice of second site"
},
"atomicSpecies": {
"type": "string",
"pattern": "^[a-zA-Z]{1,2}[\\d+]?$",
"description": "Example: Co1, Mn"
},
"atomicSpecies2": {
"type": "string",
"pattern": "^[a-zA-Z]{1,2}[\\d+]?$",
"description": "Example: Co2, O"
},
"orbitalName": {
"type": "string",
"pattern": "^[1-7][sSpPdDfF]$"
},
"orbitalName2": {
"type": "string",
"pattern": "^[1-7][sSpPdDfF]$"
},
"distance": {
"type": "number",
"description": "Distance between two sites in Bohr."
},
"value": {
"type": "number",
"description": "Value related to a specific property, e.g., Hubbard U, V etc."
}
}
}
}
}
}
6 changes: 4 additions & 2 deletions dist/js/schema/element.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
"description": "atomic radius",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
Expand Down Expand Up @@ -170,6 +171,7 @@
"description": "electronegativity for the element (Pauling scale)",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
Expand All @@ -185,10 +187,10 @@
},
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ionization potential",
"description": "ionization potential for the element",
"title": "Ionization potential elemental property schema",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
Expand Down
4 changes: 4 additions & 0 deletions dist/js/schema/job.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@
"title": "object_storage io schema",
"type": "object",
"required": [
"basename",
"filetype",
"objectData"
],
"additionalProperties": true,
Expand Down Expand Up @@ -2779,6 +2781,8 @@
"title": "object_storage io schema",
"type": "object",
"required": [
"basename",
"filetype",
"objectData"
],
"additionalProperties": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "atomic radius",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "electronegativity for the element (Pauling scale)",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"$id": "properties-directory/elemental/ionization-potential",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ionization potential",
"description": "ionization potential for the element",
"title": "Ionization potential elemental property schema",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
Expand Down
28 changes: 28 additions & 0 deletions dist/js/schema/properties_directory/jupyter_notebook_endpoint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$id": "properties-directory/jupyter-notebook-endpoint",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Jupyter notebook endpoint property schema",
"type": "object",
"required": [
"name",
"host",
"port",
"token"
],
"properties": {
"name": {
"enum": [
"jupyter_notebook_endpoint"
]
},
"host": {
"type": "string"
},
"port": {
"type": "number"
},
"token": {
"type": "string"
}
}
}
Loading
Loading