{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/daily-dev/json-schema/daily-dev-def-40-schema.json",
  "title": "UserExperience",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/daily-dev-openapi.json#/components/schemas/def-40",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "work",
        "education",
        "project",
        "certification",
        "volunteering",
        "opensource"
      ]
    },
    "title": {
      "type": "string"
    },
    "subtitle": {
      "type": [
        "string",
        "null"
      ]
    },
    "grade": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "endedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "customCompanyName": {
      "type": [
        "string",
        "null"
      ]
    },
    "customDomain": {
      "type": [
        "string",
        "null"
      ]
    },
    "image": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "employmentType": {
      "$ref": "#/$defs/def-39"
    },
    "locationType": {
      "$ref": "#/$defs/def-39"
    },
    "verified": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "isOwner": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "skills": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/def-37"
      }
    },
    "company": {
      "$ref": "#/$defs/def-35"
    },
    "customLocation": {
      "$ref": "#/$defs/def-36"
    },
    "repository": {
      "$ref": "#/$defs/def-38"
    }
  },
  "$defs": {
    "def-35": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "image": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        }
      },
      "title": "UserExperienceCompany"
    },
    "def-36": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "subdivision": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "title": "UserExperienceCustomLocation"
    },
    "def-37": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        }
      },
      "title": "UserExperienceSkill"
    },
    "def-38": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "owner": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "image": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        }
      },
      "title": "UserExperienceRepository"
    },
    "def-39": {
      "type": [
        "string",
        "null"
      ],
      "description": "Enum name, for example FULL_TIME or REMOTE",
      "title": "ProtoEnumValue"
    }
  }
}