Substance

Type: object

An exhaustive representation of a substance.


Example:

{
    "name": "Drug A",
    "slug": "drug-a",
    "aliases": [
        "Alias of drug A"
    ],
    "site_url": "https://mixtures.info/en/substance/drug-a/",
    "category": "Category name",
    "common": true,
    "description": "Drug A description.",
    "risks": "General risks of drug A.",
    "effects": "General effects of drug A.",
    "interactions": {
        "drug-a_drug-b": {
            "interactants": [
                "Drug A",
                "Drug B"
            ],
            "is_draft": false,
            "url": "https://mixtures.info/en/api/v1/combo/drug-a+drug-b/",
            "site_url": "https://mixtures.info/en/combo/drug-a+drug-b/",
            "risk": 2,
            "synergy": 4,
            "risk_reliability": 2,
            "effects_reliability": 1,
            "risk_description": "",
            "effect_description": ""
        },
        "drug-a_drug-c": {
            "interactants": [
                "Drug A",
                "Drug C"
            ],
            "is_draft": true,
            "url": "https://mixtures.info/en/api/v1/combo/drug-a+drug-c/",
            "site_url": "https://mixtures.info/en/combo/drug-a+drug-c/",
            "risk": 3,
            "synergy": 0,
            "risk_reliability": 1,
            "effects_reliability": 0,
            "risk_description": "Interaction risk description.",
            "effect_description": "Interaction effect description."
        }
    }
}

Type: string

Unique identifier of the substance.

Type: string

Name of the substance.

Type: array of string

Alternative names of the substance.

No Additional Items

Each item of this array must be:

Type: string

Alias name

Type: stringFormat: uri

URL of the substance on the Mixtures website.

Type: string or null

Name of the category of the substance.

Type: boolean

Is this substance classified as common?

Type: stringFormat: markdown

Short description of the substance.

Type: stringFormat: markdown

Risks specific to combinations involving this substance that do not depend on a specific interaction.

Type: stringFormat: markdown

Effects specific to combinations involving this substance that do not depend on a specific interaction.

Type: object

Interactions this substance is involved in.

Each additional property must conform to the following schema

Type: object

Unique identifier of the interaction. Substances slugs are separated by an underscore (_).

Type: array of string

Substances involved in the interaction.

Must contain a minimum of 2 items

Must contain a maximum of 2 items

No Additional Items

Each item of this array must be:

Type: string

Substance name

Type: boolean

Is the content of this interaction a draft?

Type: stringFormat: uri

URL of the interaction.

Type: stringFormat: uri

URL of the interaction on the Mixtures website.

Type: number

Risk classification of this combination.

0: UNKNOWN
1: NEUTRAL
2: CAUTION
3: UNSAFE
4: DANGEROUS

Value must be greater or equal to 0 and lesser or equal to 4

Type: number

Synergy classification of this combination.

0: UNKNOWN
1: NEUTRAL
2: DECREASE
3: INCREASE
4: MIXED
5: ADDITIVE

Value must be greater or equal to 0 and lesser or equal to 5

Type: number

Reliability classification of this combination risk data.

0: UNKNOWN
1: HYPOTHETICAL
2: INFERRED
3: PROVEN

Value must be greater or equal to 0 and lesser or equal to 3

Type: number

Reliability classification of this combination effects data.

0: UNKNOWN
1: HYPOTHETICAL
2: INFERRED
3: PROVEN

Value must be greater or equal to 0 and lesser or equal to 3

Type: stringFormat: markdown

Description of the risks of this combination.

Type: stringFormat: markdown

Description of the effects of this combination.