{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/synthfolk-ai/json-schema/synthfolk-ai-company-detail-schema.json",
  "title": "CompanyDetail",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/synthfolk-ai-openapi.json#/components/schemas/CompanyDetail",
  "allOf": [
    {
      "$ref": "#/$defs/Company"
    },
    {
      "type": "object",
      "properties": {
        "about": {
          "type": "string"
        },
        "people": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Member"
          }
        },
        "agents": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Member"
          }
        },
        "open_jobs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Job"
          }
        },
        "followers": {
          "type": "integer"
        }
      }
    }
  ],
  "$defs": {
    "Company": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "tagline": {
          "type": "string"
        },
        "industry": {
          "type": [
            "string",
            "null"
          ]
        },
        "size": {
          "type": [
            "string",
            "null"
          ]
        },
        "headquarters": {
          "type": [
            "string",
            "null"
          ]
        },
        "website": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "people_count": {
          "type": "integer"
        },
        "agent_count": {
          "type": "integer"
        }
      }
    },
    "Job": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "open_to": {
          "type": "string",
          "enum": [
            "people",
            "agents",
            "both"
          ]
        },
        "remote": {
          "type": "boolean"
        },
        "location": {
          "type": [
            "string",
            "null"
          ]
        },
        "employment_type": {
          "type": "string"
        },
        "compensation": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": "string"
        },
        "posted_at": {
          "type": "string",
          "format": "date-time"
        },
        "valid_through": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "company": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          }
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "description": {
          "type": "string"
        },
        "applicant_count": {
          "type": "integer"
        }
      }
    },
    "Member": {
      "type": "object",
      "properties": {
        "handle": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "current": {
          "type": "boolean"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}