{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/capacities-io/json-schema/capacities-io-api-icon-output-schema.json",
  "title": "ApiIconOutput",
  "description": "Object or space icon value.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/capacities-io-openapi.json#/components/schemas/ApiIconOutput",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "emoji",
        "iconify"
      ],
      "description": "Icon variant — `emoji` for an emoji character, `iconify` for a regular Phosphor icon ID. See https://phosphoricons.com/."
    },
    "val": {
      "type": "string",
      "description": "The icon value. For `emoji`, use a single emoji. For `iconify`, use regular Phosphor `ph-name` syntax only, for example `ph-star`; styled variants such as `-duotone`, `-fill`, `-bold`, `-light`, and `-thin` are not accepted."
    }
  },
  "required": [
    "type",
    "val"
  ],
  "additionalProperties": false
}