{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://dpp-keystone.org/spec/validation/v2/json-schema/shared/component.schema.json",
  "title": "Component",
  "description": "A constituent part, material, or substance that is included in the main product.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "uniqueProductIdentifier": {
      "type": "string",
      "format": "uri"
    },
    "percentage": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "casNumber": {
      "type": "string"
    },
    "ecNumber": {
      "type": "string"
    },
    "iupacName": {
      "type": "string"
    },
    "locationInProduct": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ]
}
