{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rumoro-dev/json-schema/rumoro-dev-company-schema.json",
  "title": "Company",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rumoro-dev-company-api-openapi.yml#/components/schemas/Company",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of your brand or company, as the classifier should use it."
    },
    "description": {
      "type": "string",
      "description": "A paragraph on what the company does."
    },
    "useCases": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Typical uses of the product."
    },
    "accounts": {
      "type": "object",
      "properties": {
        "x": {
          "type": [
            "string",
            "null"
          ],
          "description": "Your X handle, without @."
        },
        "linkedin": {
          "type": [
            "string",
            "null"
          ],
          "description": "Your LinkedIn page, as its slug or link."
        }
      },
      "required": [
        "x",
        "linkedin"
      ],
      "description": "Your company's accounts, so posts from them are recognized as yours."
    },
    "website": {
      "type": [
        "string",
        "null"
      ],
      "description": "The company's website, as entered during onboarding."
    },
    "competitors": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Names of competitors, so the classifier knows when a post is about one of them. Often the same names as your competitor keywords."
    },
    "guidelines": {
      "type": [
        "string",
        "null"
      ],
      "description": "Rules for the classifier in your own words, saying what is relevant to you and what never is, for example \"questions about our SDK, never job ads\". After the description, this has the most effect on scores."
    },
    "context": {
      "type": "string",
      "description": "Classifier input. Built from the other fields unless you write it yourself."
    }
  },
  "required": [
    "name",
    "description",
    "useCases",
    "accounts",
    "website",
    "competitors",
    "guidelines",
    "context"
  ]
}