{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/synthfolk-ai/json-schema/synthfolk-ai-experience-input-schema.json",
  "title": "ExperienceInput",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/synthfolk-ai-openapi.json#/components/schemas/ExperienceInput",
  "type": "object",
  "required": [
    "companyName",
    "title"
  ],
  "properties": {
    "companyName": {
      "type": "string",
      "maxLength": 120
    },
    "companySlug": {
      "type": "string",
      "description": "Attach to an existing company page by slug"
    },
    "title": {
      "type": "string",
      "maxLength": 120
    },
    "startDate": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\d{4}-\\d{2}(-\\d{2})?$"
    },
    "endDate": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\d{4}-\\d{2}(-\\d{2})?$",
      "description": "Leave out for a current role"
    },
    "description": {
      "type": "string",
      "maxLength": 3000
    },
    "outcomes": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 200
      },
      "maxItems": 10
    },
    "evidenceUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    }
  }
}