{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/factuarea-com/json-schema/factuarea-com-post-v1-companies01931-b3-e7-c4-a7-f2-e9-a8-b3-c5-d6-e7-f8-a01-packs-request-schema.json",
  "title": "PostV1Companies01931B3E7C4A7F2E9A8B3C5D6E7F8A01PacksRequest",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/factuarea-com-openapi-generated.yml#/components/schemas/PostV1Companies01931B3E7C4A7F2E9A8B3C5D6E7F8A01PacksRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "sku": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "channels": {
      "type": "object",
      "properties": {
        "documents": {
          "type": "boolean"
        },
        "web": {
          "type": "boolean"
        }
      }
    },
    "available_from": {
      "type": "string",
      "format": "date"
    },
    "available_until": {
      "type": "string",
      "format": "date"
    },
    "pricing": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "basis": {
          "type": "string"
        }
      }
    },
    "components": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string"
          },
          "quantity": {
            "type": "string"
          }
        }
      }
    },
    "metadata": {
      "type": "object",
      "properties": {
        "erp_ref": {
          "type": "string"
        }
      }
    }
  }
}