| 1 |
$$schema: "https://schemas.optimade.org/meta/v1.2/optimade/property_definition" |
| 2 |
$id: "https://schemas.optimade.org/defs/v1.2/properties/optimade/structures/nsites" |
| 3 |
title: "number of sites" |
| 4 |
x-optimade-type: "integer" |
| 5 |
x-optimade-definition: |
| 6 |
label: "nsites_optimade_structures" |
| 7 |
kind: "property" |
| 8 |
version: "1.2.0" |
| 9 |
format: "1.2" |
| 10 |
name: "nsites" |
| 11 |
type: |
| 12 |
- "integer" |
| 13 |
- "null" |
| 14 |
description: |- |
| 15 |
An integer specifying the length of the `cartesian_site_positions` property. |
| 16 |
|
| 17 |
**Requirements/Conventions**: |
| 18 |
|
| 19 |
- MUST be equal to the lengths of the list properties elements and elements_ratios, if they are provided. |
| 20 |
|
| 21 |
**Query examples**: |
| 22 |
|
| 23 |
- Match only structures with exactly 4 sites: `nsites=4` |
| 24 |
- Match structures that have between 2 and 7 sites: `nsites>=2 AND nsites<=7` |
| 25 |
examples: |
| 26 |
- 42 |
| 27 |
x-optimade-unit: "dimensionless" |