number of sites (property)

This page documents an OPTIMADE Property Definition. See for more information.

Definition name: nsites

Property name: number of sites
Description: An integer specifying the length of the cartesian_site_positions property.
Type: integer


Query examples:


Formats: [JSON] [MD]

JSON definition:

    "$id": "",
    "$schema": "",
    "title": "number of sites",
    "x-optimade-type": "integer",
    "x-optimade-definition": {
        "label": "nsites_optimade_structures",
        "kind": "property",
        "version": "1.2.0",
        "format": "1.2",
        "name": "nsites"
    "type": [
    "description": "An integer specifying the length of the `cartesian_site_positions` property.\n\n**Requirements/Conventions**:\n\n- MUST be equal to the lengths of the list properties elements and elements_ratios, if they are provided.\n\n**Query examples**:\n\n- Match only structures with exactly 4 sites: `nsites=4`\n- Match structures that have between 2 and 7 sites: `nsites>=2 AND nsites<=7`",
    "examples": [
    "x-optimade-unit": "dimensionless"