Skip to content

Commit 3875f0a

Browse files
authored
Merge pull request #5 from Materials-Consortia/stdinchi
Introduce `_cheminfo_stdinchi` property
2 parents c853b69 + 5bca18c commit 3875f0a

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

src/v0.1.0/entrytypes/structures.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ properties:
2323
sortable: false
2424
query-support: "none"
2525
response-level: "yes"
26+
_cheminfo_stdinchi:
27+
$$inherit: "/properties/structures/_cheminfo_stdinchi"
28+
x-optimade-implementation:
29+
support: "may"
30+
sortable: false
31+
query-support: "none"
32+
response-level: "yes"
2633
_cheminfo_stdinchikey:
2734
$$inherit: "/properties/structures/_cheminfo_stdinchikey"
2835
x-optimade-implementation:
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
$$schema: "https://schemas.optimade.org/meta/v1.2/optimade/property_definition"
2+
$id: "https://schemas.optimade.org/namespaces/cheminformatics/v0.1/properties/structures/_cheminfo_stdinchi"
3+
title: "The standard InChI identifier of the structure as defined by the InChI Trust"
4+
x-optimade-type: "string"
5+
x-optimade-definition:
6+
kind: "property"
7+
version: "0.1.0"
8+
format: "1.2"
9+
name: "_cheminfo_stdinchi"
10+
label: "_cheminfo_stdinchi_structures"
11+
type:
12+
- "string"
13+
- "null"
14+
description: |-
15+
The standard InChI identifier of the structure as defined by the InChI Trust (https://www.inchi-trust.org).
16+
The value MUST start with `InChI=`.
17+
examples:
18+
- "InChI=1S/C10H12N2O/c11-4-3-7-6-12-10-2-1-8(13)5-9(7)10/h1-2,5-6,12-13H,3-4,11H2"
19+
x-optimade-metadata-definition:
20+
title: "Metadata for the _cheminfo_stdinchi field"
21+
description: "This dictionary contains the per-entry metadata for the _cheminfo_stdinchi field."
22+
x-optimade-type: "dictionary"
23+
type:
24+
- "object"
25+
- "null"
26+
properties:
27+
_cheminfo_library_version:
28+
description: |-
29+
The version of the InChI software library (https://github.com/IUPAC-InChI/InChI) used to generate this standard InChI value.
30+
MUST NOT start with 'v'.
31+
x-optimade-type: "string"
32+
type:
33+
- "string"
34+
examples:
35+
- "1.07.4"
36+
x-optimade-unit: "inapplicable"
37+
x-optimade-unit: "inapplicable"
38+
x-optimade-unit: "inapplicable"

0 commit comments

Comments
 (0)