{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/ProductComponent.schema.json",
  "title": "ProductComponent",
  "description": "A declared constituent of a product, identified by a code, with its role in the product and, optionally, its amount on a stated basis. It describes composition, not use or dosage.",
  "type": "object",
  "properties": {
    "component_substance": {
      "$ref": "https://publicschema.org/CodedValue.schema.json",
      "description": "The substance or material that forms this constituent, identified by a code in a stated scheme and optionally a descriptive label."
    },
    "component_role": {
      "$ref": "https://publicschema.org/CodedValue.schema.json",
      "description": "The role of the constituent in the product, identified by a code in a stated scheme, such as active substance, safener, synergist, co-formulant or declared nutrient."
    },
    "component_amount": {
      "$ref": "https://publicschema.org/QuantityValue.schema.json",
      "description": "The declared amount of the constituent on the stated basis, with its unit. Amount and basis are interpreted together."
    },
    "component_basis": {
      "$ref": "https://publicschema.org/CodedValue.schema.json",
      "description": "The basis on which the component amount is expressed, identified by a code in a stated scheme, such as mass fraction of the whole product, mass per volume or mass expressed as the oxide."
    }
  }
}
