{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/astranexo-com/json-schema/astranexo-com-price-list-schema.json",
  "title": "PriceList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/astranexo-com-cuenta-y-uso-api-openapi.yml#/components/schemas/PriceList",
  "type": "object",
  "properties": {
    "plans": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Plan"
      }
    },
    "packs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Pack"
      }
    },
    "currency": {
      "type": "string",
      "const": "USD"
    },
    "iva_rate": {
      "type": "number"
    }
  },
  "$defs": {
    "Pack": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "docs": {
          "type": "integer"
        },
        "price_cents": {
          "type": "integer",
          "description": "Precio en centavos de USD, sin IVA."
        }
      }
    },
    "Plan": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "monthly_price_cents": {
          "type": "integer",
          "description": "Precio mensual en centavos de USD, sin IVA."
        },
        "yearly_price_cents": {
          "type": "integer",
          "description": "Precio anual en centavos de USD, sin IVA."
        },
        "included_docs": {
          "type": "integer",
          "description": "Documentos incluidos por período."
        },
        "max_organizations": {
          "type": "integer",
          "description": "Organizaciones permitidas (0 = sin límite)."
        },
        "active_org_cents": {
          "type": "integer",
          "description": "Cargo por organización activa en el período, en centavos de USD."
        },
        "archive_included": {
          "type": "boolean",
          "description": "Si el plan incluye Archeion (Escala y Plataforma)."
        },
        "live_allowed": {
          "type": "boolean",
          "description": "Si el plan permite documentos de producción."
        }
      }
    }
  }
}