| 1 |
$$schema: "https://schemas.optimade.org/meta/v1.2/optimade/property_definition" |
| 2 |
$id: "https://schemas.optimade.org/defs/v1.2/properties/core/features" |
| 3 |
title: "features" |
| 4 |
x-optimade-type: "list" |
| 5 |
x-optimade-definition: |
| 6 |
label: "features_core" |
| 7 |
kind: "property" |
| 8 |
version: "1.2.0" |
| 9 |
format: "1.2" |
| 10 |
name: "features" |
| 11 |
type: |
| 12 |
- "array" |
| 13 |
x-optimade-dimensions: |
| 14 |
names: ["dim_features"] |
| 15 |
description: |- |
| 16 |
A list of strings that flag which special features are used by the entry. |
| 17 |
|
| 18 |
**Requirements/Conventions:** |
| 19 |
|
| 20 |
- MUST be an empty list if no special features are used. |
| 21 |
- MUST be sorted alphabetically. |
| 22 |
- If a feature is used, the list MUST contain the corresponding string. |
| 23 |
- If a feature is not used, the list MUST NOT contain the corresponding string. |
| 24 |
- This is an abstract definition, meant to be inherited by more specific definitions that define specific strings. |
| 25 |
examples: |
| 26 |
- ["feature1", "feature2"] |
| 27 |
x-optimade-unit: "inapplicable" |
| 28 |
items: |
| 29 |
type: |
| 30 |
- "string" |
| 31 |
x-optimade-type: "string" |
| 32 |
x-optimade-unit: "inapplicable" |