{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zettoai-com/json-schema/zettoai-com-listing-input-schema.json",
  "title": "ListingInput",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zettoai-com-openapi.json#/components/schemas/ListingInput",
  "type": "object",
  "properties": {
    "card_type": {
      "type": "string",
      "enum": [
        "selling",
        "buying",
        "hiring",
        "job_seeking",
        "fundraising",
        "investing",
        "partnering",
        "link_building",
        "link_exchange"
      ]
    },
    "subcategory": {
      "type": "string",
      "enum": [
        "links.guest_post",
        "links.link_insertion",
        "links.exchange",
        "media.sponsorship",
        "leads.b2b_leads",
        "leads.appointment_setting",
        "leads.data_enrichment",
        "services.development",
        "services.design",
        "services.marketing",
        "services.data_ai",
        "services.infrastructure",
        "services.professional",
        "services.support_ops",
        "products.software",
        "products.api_access",
        "products.dataset",
        "products.domain_name",
        "jobs.hire",
        "jobs.find_work",
        "jobs.recruiting",
        "funding.raise",
        "funding.invest",
        "partners.reseller",
        "partners.referral",
        "partners.integration"
      ],
      "description": "What the listing is (e.g. links.guest_post). Sets card_type, fields, pricing and gates; see GET /api/listings/taxonomy."
    },
    "direction": {
      "type": "string",
      "enum": [
        "offer",
        "seek"
      ],
      "description": "'offer' for what you provide, 'seek' for what you want"
    },
    "headline": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "fields": {
      "type": "object",
      "description": "The subcategory's fields (e.g. site_domain, niches, link_type). Measured values cannot be sent."
    }
  },
  "required": [
    "direction",
    "headline"
  ]
}