{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/damdafa-com/json-schema/damdafa-com-project-schema.json",
  "title": "Project",
  "description": "Represents a document in the 'projects' root collection.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/damdafa-com-project-api-openapi.yml#/components/schemas/Project",
  "properties": {
    "title": {
      "type": "string",
      "title": "Title"
    },
    "coverImage": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Coverimage"
    },
    "logoImage": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logoimage"
    },
    "appStoreProfileId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Appstoreprofileid"
    },
    "appStoreAppId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Appstoreappid"
    },
    "managerIds": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Managerids"
    },
    "id": {
      "type": "string",
      "title": "Id"
    },
    "userId": {
      "type": "string",
      "title": "Userid"
    },
    "status": {
      "$ref": "#/$defs/ProjectStatus",
      "default": "in_progress"
    },
    "currentVersionString": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Currentversionstring"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "title": "Createdat"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "title": "Updatedat"
    }
  },
  "type": "object",
  "required": [
    "title",
    "id",
    "userId",
    "createdAt",
    "updatedAt"
  ],
  "$defs": {
    "ProjectStatus": {
      "type": "string",
      "enum": [
        "in_progress",
        "completed",
        "archived"
      ],
      "title": "ProjectStatus"
    }
  }
}