{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/subcenter-io/json-schema/subcenter-io-tool-schema.json",
  "title": "Tool",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/subcenter-io-openapi.json#/components/schemas/Tool",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "cancelled"
      ]
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "trial": {
      "type": "boolean"
    },
    "cost_cents": {
      "type": "integer"
    },
    "cost_currency": {
      "type": "string"
    },
    "cost": {
      "type": "string"
    },
    "cadence": {
      "type": "string"
    },
    "seats": {
      "type": [
        "integer",
        "null"
      ]
    },
    "monthly_cost": {
      "type": [
        "string",
        "null"
      ],
      "description": "Net monthly equivalent in the workspace currency"
    },
    "monthly_cost_cents": {
      "type": [
        "integer",
        "null"
      ]
    },
    "renewal_date": {
      "type": "string",
      "format": "date"
    },
    "days_until_renewal": {
      "type": "integer"
    },
    "notice_days": {
      "type": "integer"
    },
    "cancel_by": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "kept": {
      "type": "boolean"
    },
    "owner_membership_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "owner_email": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}