NanoBase™ · Schema

Line

One formula line: an INCI ingredient {n,pct}, or a trade-name raw material broken into INCI components {pct,blend}. For an ingredient the library does not list, add props. Optional source (the confirming document). For a graded polymer, name the grade or molecular weight, for example "Sodium Hyaluronate (LMW, 50-300 kDa)" or "Sodium Hyaluronate 50-150 kDa".

CosmeticsNanoscienceResearchManufacturingBeauty

Properties

Name Type Description
n string
pct number
blend array
props object
source object
View JSON Schema on GitHub

JSON Schema

nanobaselabs-com-line-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nanobaselabs-com/json-schema/nanobaselabs-com-line-schema.json",
  "title": "Line",
  "description": "One formula line: an INCI ingredient {n,pct}, or a trade-name raw material broken into INCI components {pct,blend}. For an ingredient the library does not list, add props. Optional source (the confirming document). For a graded polymer, name the grade or molecular weight, for example \"Sodium Hyaluronate (LMW, 50-300 kDa)\" or \"Sodium Hyaluronate 50-150 kDa\".",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nanobaselabs-com-openapi.json#/components/schemas/Line",
  "type": "object",
  "properties": {
    "n": {
      "type": "string"
    },
    "pct": {
      "type": "number"
    },
    "blend": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "n": {
            "type": "string"
          },
          "f": {
            "description": "fraction of the raw material, or \"trace\"",
            "oneOf": [
              {
                "type": "number"
              },
              {
                "type": "string",
                "enum": [
                  "trace"
                ]
              }
            ]
          },
          "props": {
            "$ref": "#/$defs/Props"
          },
          "source": {
            "$ref": "#/$defs/Sources"
          }
        }
      }
    },
    "props": {
      "$ref": "#/$defs/Props"
    },
    "source": {
      "$ref": "#/$defs/Sources"
    }
  },
  "$defs": {
    "Props": {
      "type": "object",
      "required": [
        "class"
      ],
      "additionalProperties": false,
      "description": "Properties of an ingredient the library does not list, researched by the caller's AI. The line is then assessed like a library ingredient of that class and echoed under declared_by_caller. Library entries win unless override is true. Invalid props return 400 invalid_props with the field.",
      "properties": {
        "class": {
          "type": "string",
          "enum": [
            "oil",
            "water_soluble",
            "peptide",
            "lipopeptide",
            "charged",
            "polymer",
            "surfactant",
            "preservative",
            "humectant",
            "neutral"
          ]
        },
        "charge": {
          "type": "string",
          "enum": [
            "nonionic",
            "zwitterionic",
            "cationic",
            "anionic"
          ]
        },
        "oil_type": {
          "type": "string",
          "enum": [
            "insoluble_heavy",
            "light_ester_ripening_prone",
            "polar"
          ]
        },
        "mw_class": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "mw": {
          "type": "number",
          "minimum": 10,
          "maximum": 100000000
        },
        "valence": {
          "type": "integer",
          "minimum": 1,
          "maximum": 4
        },
        "ionized_fraction": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "form": {
          "type": "string",
          "enum": [
            "nonionic",
            "salt",
            "acid"
          ]
        },
        "override": {
          "type": "boolean"
        },
        "logP": {
          "type": "number",
          "minimum": -10,
          "maximum": 15,
          "description": "logP of the neutral molecule"
        },
        "pKa": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 1,
              "maxItems": 4
            }
          ],
          "description": "pKa value or list (conjugate-acid pKa for a base); requires acid_or_base"
        },
        "acid_or_base": {
          "type": "string",
          "enum": [
            "acid",
            "base",
            "neutral"
          ]
        },
        "pI": {
          "type": "number",
          "minimum": 0,
          "maximum": 14,
          "description": "isoelectric point (peptides, proteins, charged polymers; zwitterions such as amino acids and betaines send pI rather than acid pKa values); ph_path advisory"
        },
        "neutral_solubility_pct": {
          "type": "number",
          "minimum": 0,
          "maximum": 100,
          "description": "water solubility of the neutral form in g per 100 g water at 20 to 25 C; ph_path advisory"
        },
        "stability": {
          "type": "array",
          "maxItems": 3,
          "items": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hydrolysis_prone",
                  "hydrolysis_prone_ester",
                  "oxidation_prone",
                  "deamidation_prone"
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "flag"
                ],
                "properties": {
                  "flag": {
                    "type": "string",
                    "enum": [
                      "hydrolysis_prone",
                      "hydrolysis_prone_ester",
                      "oxidation_prone",
                      "deamidation_prone"
                    ]
                  },
                  "ph_above": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 14
                  },
                  "ph_below": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 14
                  }
                }
              }
            ]
          },
          "description": "stability flags with the sensitive pH range if known; ph_path advisory"
        }
      }
    },
    "Source": {
      "type": "object",
      "required": [
        "doc_type"
      ],
      "additionalProperties": false,
      "description": "A supplier document that confirms an ingredient's information. Ask your user to upload it and send its text. Stored, never fetched; the text is kept privately and never returned or shown to other users; responses echo doc_type and doc_date only. A submission is used right away for your own account and added to the shared library after review by Pensive Beauty® Nanoscience Labs; a document whose text (doc_type plus at least about 200 characters) names the ingredient supports the review (a url alone does not count). Invalid sources return 400 invalid_source with the field.",
      "properties": {
        "doc_type": {
          "type": "string",
          "enum": [
            "TDS",
            "SDS",
            "CoA",
            "spec"
          ]
        },
        "supplier": {
          "type": "string",
          "maxLength": 120
        },
        "doc_date": {
          "type": "string",
          "description": "YYYY, YYYY-MM or YYYY-MM-DD"
        },
        "url": {
          "type": "string",
          "maxLength": 500,
          "description": "http(s); never fetched"
        },
        "excerpt": {
          "type": "string",
          "description": "accepted as the same field as text"
        },
        "text": {
          "type": "string",
          "description": "the document text, up to 200 KB (204,800 bytes UTF-8)"
        }
      }
    },
    "Sources": {
      "anyOf": [
        {
          "$ref": "#/$defs/Source"
        },
        {
          "type": "array",
          "minItems": 1,
          "maxItems": 3,
          "items": {
            "$ref": "#/$defs/Source"
          }
        }
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/nanobaselabs-com-line"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.