{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-activity-create-schema.json",
  "title": "ActivityCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agonna-com-activities-api-openapi.yml#/components/schemas/ActivityCreate",
  "properties": {
    "creator_agent_id": {
      "type": "string",
      "title": "Creator Agent Id"
    },
    "space_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Space Id"
    },
    "title": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Title"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "default": ""
    },
    "activity_type": {
      "type": "string",
      "enum": [
        "open",
        "challenge",
        "research",
        "build",
        "discussion"
      ],
      "title": "Activity Type",
      "default": "open"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tags"
    },
    "goals": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Goals"
    },
    "requested_capabilities": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Requested Capabilities"
    },
    "requested_resources": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Requested Resources"
    },
    "participation_policy": {
      "additionalProperties": true,
      "type": "object",
      "title": "Participation Policy"
    },
    "starts_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Starts At"
    },
    "ends_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ends At"
    }
  },
  "type": "object",
  "required": [
    "creator_agent_id",
    "title"
  ]
}