Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
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
Expand Up @@ -5,7 +5,7 @@ x-optimade-type: "integer"
x-optimade-definition:
label: "nelements_optimade_structures"
kind: "property"
version: "1.2.0"
version: "1.2.1"
format: "1.2"
name: "nelements"
type:
Expand All @@ -26,7 +26,3 @@ description: |-
examples:
- 3
x-optimade-unit: "dimensionless"
x-optimade-requirements:
support: "should"
sortable: false
query-support: "all mandatory"
Comment thread
ml-evs marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ x-optimade-type: "integer"
x-optimade-definition:
label: "space_group_it_number_optimade_structures"
kind: "property"
version: "1.2.0"
version: "1.2.1"
format: "1.2"
name: "space_group_it_number"
type:
Expand All @@ -20,4 +20,4 @@ description: |-
- MUST be `null` if `nperiodic_dimensions` is not equal to 3.
examples:
- 42
x-optimade-unit: "unapplicable"
x-optimade-unit: "inapplicable"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ x-optimade-type: "string"
x-optimade-definition:
label: "space_group_symbol_hall_optimade_structures"
kind: "property"
version: "1.2.0"
version: "1.2.1"
format: "1.2"
name: "space_group_symbol_hall"
type:
Expand Down Expand Up @@ -43,4 +43,4 @@ examples:
- "-I 4db 2ab 3"
- "P 2yb (-1/2*x+z,1/2*x,y)"
- "-I 4 2 (1/2*x+1/2*y,-1/2*x+1/2*y,z)"
x-optimade-unit: "unapplicable"
x-optimade-unit: "inapplicable"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ x-optimade-type: "string"
x-optimade-definition:
label: "space_group_symbol_hermann_mauguin_optimade_structures"
kind: "property"
version: "1.2.0"
version: "1.2.1"
format: "1.2"
name: "space_group_symbol_hermann_mauguin"
type:
Expand All @@ -32,4 +32,4 @@ description: |-
examples:
- "C 2"
- "P 21 21 21"
x-optimade-unit: "unapplicable"
x-optimade-unit: "inapplicable"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ x-optimade-type: "string"
x-optimade-definition:
label: "space_group_symbol_hermann_mauguin_extended_optimade_structures"
kind: "property"
version: "1.2.0"
version: "1.2.1"
format: "1.2"
name: "space_group_symbol_hermann_mauguin_extended"
type:
Expand All @@ -28,4 +28,4 @@ description: |-
- IUCr (2005). International Tables for Crystallography vol. A. Space-Group Symmetry. Ed. Theo Hahn. 5-th edition. Dordrecht, Springer.
examples:
- "C 1 2 1"
x-optimade-unit: "unapplicable"
x-optimade-unit: "inapplicable"
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ x-optimade-type: "list"
x-optimade-definition:
label: "space_group_symmetry_operations_xyz_optimade_structures"
kind: "property"
version: "1.2.0"
version: "1.2.1"
format: "1.2"
name: "space_group_symmetry_operations_xyz"
x-optimade-dimensions:
names: ["dim_symops"]
Comment thread
rartino marked this conversation as resolved.
type:
- "array"
- "null"
Expand Down Expand Up @@ -45,6 +47,6 @@ description: |-
examples:
- ["x,y,z", "-x,y,-z"]
- ["x,y,z", "-x,y,-z", "x+1/2,y+1/2,z", "-x+1/2,y+1/2,-z"]
x-optimade-unit: "unapplicable"
x-optimade-unit: "inapplicable"
items:
$$inherit: "/v1.2/properties/optimade/common/space_group_symmetry_operation_xyz"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$$schema: "https://schemas.optimade.org/meta/v1.2/optimade/property_definition"
$id: "https://schemas.optimade.org/defs/v1.3/properties/optimade/structures/fractional_site_positions"
title: "Fractional site positions"
title: "fractional site positions"
x-optimade-type: "list"
x-optimade-definition:
label: "fractional_site_positions_optimade_structures"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$$schema: "https://schemas.optimade.org/meta/v1.2/optimade/property_definition"
$id: "https://schemas.optimade.org/defs/v1.3/properties/optimade/structures/optimization_type"
title: "Optimization type"
title: "optimization type"
x-optimade-type: "string"
x-optimade-definition:
label: "optimization_type_optimade_structures"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$$schema: "https://schemas.optimade.org/meta/v1.2/optimade/property_definition"
$id: "https://schemas.optimade.org/defs/v1.3/properties/optimade/structures/site_coordinate_span"
title: "Site coordinate span"
title: "site coordinate span"
x-optimade-type: "string"
x-optimade-definition:
label: "site_coordinate_span_optimade_structures"
Expand Down Expand Up @@ -50,6 +50,9 @@ description: |-
European Mathematical Society (2020). Fundamental domain. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Fundamental_domain&oldid=47023 [accessed 2025-04-30T08:53+03:00].

IUCr (2017). Asymmetric unit. Online Dictionary of Crystallography, URL: https://dictionary.iucr.org/Asymmetric_unit [accessed 2025-04-30T09:01+03:00].
examples:
- asymmetric_unit
- unit_cell
x-optimade-unit: "inapplicable"
enum:
- fundamental_domain
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$$schema: "https://schemas.optimade.org/meta/v1.2/optimade/property_definition"
$id: "https://schemas.optimade.org/defs/v1.3/properties/optimade/structures/site_coordinate_span_description"
title: "Site coordinate span description"
title: "site coordinate span description"
x-optimade-type: "string"
x-optimade-definition:
label: "site_coordinate_span_description_optimade_structures"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ x-optimade-definition:
name: "wyckoff_positions"
x-optimade-dimensions:
names: ["dim_sites"]
sizes: [null]
type:
- "array"
- "null"
Expand Down
16 changes: 16 additions & 0 deletions schemas/src/meta/v1.3/optimade/property_definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ $defs:
Instead, provide information on the length of a list for an implementation to validate. This is communicated in the `sizes` subfield of this field. At this time, `sizes` can only specify a fixed length requirement.
type: object
additionalProperties: false
required: ['names', 'sizes']
patternProperties:
"^x-(?!optimade-)": {}
properties:
Expand All @@ -295,6 +296,21 @@ $defs:
type:
- "integer"
- "null"
compactable:
description: |-
For each dimension, defines whether the data can be written in a compact form along that dimension.
If the value is `"no"` for one given dimension, the standard rules to represent lists apply (i.e., the server CANNOT express that property using a compact format).
If the value is any other string for one given dimension (currently, only the string `"constant"` is supported), the server MAY decide to express the data in the response using the compact format defined by that string.
If it decides not to do so, then it MUST use the standard rules to represent lists.
If `compactable` is provided, then a value MUST be given for each dimension.
If `compactable` is not provided, then the default value is `"no"` for each dimension.
type: array
items:
type:
- string
enum:
- "constant"
- "no"
x-optimade-unit-definitions:
type: array
items:
Expand Down